Package page.codeberg.friedolyn.crypto
Record Class KeePassXC.KeePassEntry
java.lang.Object
java.lang.Record
page.codeberg.friedolyn.crypto.KeePassXC.KeePassEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
The field for thegroup
record component.private final String
The field for thelogin
record component.private final String
The field for thename
record component.private final char[]
The field for thepassword
record component.The field for thestringFields
record component.private final String
The field for theuuid
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.group()
Returns the value of thegroup
record component.final int
hashCode()
Returns a hash code value for this object.login()
Returns the value of thelogin
record component.name()
Returns the value of thename
record component.char[]
password()
Returns the value of thepassword
record component.Returns the value of thestringFields
record component.final String
toString()
Returns a string representation of this record class.uuid()
Returns the value of theuuid
record component.
-
Field Details
-
login
The field for thelogin
record component. -
password
private final char[] passwordThe field for thepassword
record component. -
name
The field for thename
record component. -
stringFields
-
uuid
The field for theuuid
record component. -
group
The field for thegroup
record component.
-
-
Constructor Details
-
KeePassEntry
public KeePassEntry(String login, char[] password, String name, ArrayList<String> stringFields, String uuid, String group) Creates an instance of aKeePassEntry
record class.- Parameters:
login
- the value for thelogin
record componentpassword
- the value for thepassword
record componentname
- the value for thename
record componentstringFields
- the value for thestringFields
record componentuuid
- the value for theuuid
record componentgroup
- the value for thegroup
record component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
login
Returns the value of thelogin
record component.- Returns:
- the value of the
login
record component
-
password
public char[] password()Returns the value of thepassword
record component.- Returns:
- the value of the
password
record component
-
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
stringFields
-
uuid
Returns the value of theuuid
record component.- Returns:
- the value of the
uuid
record component
-
group
Returns the value of thegroup
record component.- Returns:
- the value of the
group
record component
-