Package eirb.pub.app.vault
Class UserData
java.lang.Object
eirb.pub.app.vault.UserData
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SharedUserData
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionUserData()UserData(UUID id, String login, String password, String name, String URL, String OTP, String comments) UserData(UUID id, String login, String password, String name, String URL, String OTP, String comments, Category category) UserData(UUID id, String login, String password, String name, String URL, String OTP, String comments, Category category, Duration validityTime) UserData(UUID id, String login, String password, String name, String URL, String OTP, String comments, Duration validityTime) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclean()static UserDatabooleangetId()getLogin()getName()getOTP()getURL()booleanvoidvoidsetCategory(Category category) static voidvoidsetComments(String comments) voidsetCreationDate(LocalDateTime creationDate) voidvoidSet all the attributes based on another userdata (excepted the id)voidvoidvoidvoidvoidsetPassword(String password) voidsetUpdateDate(LocalDateTime updateDate) voidvoidsetValidityTime(Duration validityTime) booleantoString()
-
Constructor Details
-
UserData
public UserData() -
UserData
-
UserData
-
UserData
-
UserData
-
-
Method Details
-
emptyUserData
-
setClock
-
getId
-
getLogin
-
getPassword
-
getName
-
getURL
-
getOTP
-
getComments
-
getCreationDate
-
getUpdateDate
-
getCategory
-
setFrom
Set all the attributes based on another userdata (excepted the id)- Parameters:
userData- userdata to copy into the local instanceupdate- if true, set the update date to now
-
setFrom
-
setId
-
setLogin
-
setPassword
-
setOTP
-
setName
-
setURL
-
setComments
-
setCreationDate
-
setUpdateDate
-
setCategory
-
getValidityTime
-
setValidityTime
-
isStillValid
public boolean isStillValid() -
clean
public void clean() -
simpleEquals
-
equals
-
toString
-
addPropertyChangeListener
-
removePropertyChangeListener
-