Class User
java.lang.Object
co.yellowdog.platform.model.User
- All Implemented Interfaces:
Identified
,Named
,Serializable
- Direct Known Subclasses:
ExternalUser
,InternalUser
Represents a user within the YellowDog Platform.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
List
<@NotNull @Valid AccessDelegate> getEmail()
getId()
Returns the IDgetName()
Returns the nameint
hashCode()
boolean
boolean
void
setAccessDelegates
(List<@NotNull @Valid AccessDelegate> accessDelegates) void
void
setEulaAccepted
(boolean eulaAccepted) void
void
void
setPasswordSet
(boolean passwordSet) toString()
-
Constructor Details
-
User
public User()
-
-
Method Details
-
getId
Description copied from interface:Identified
Returns the ID- Specified by:
getId
in interfaceIdentified
- Returns:
- the ID
-
getName
-
getEmail
-
isEulaAccepted
public boolean isEulaAccepted() -
getAccessDelegates
-
isPasswordSet
public boolean isPasswordSet() -
setId
-
setName
-
setEmail
-
setEulaAccepted
public void setEulaAccepted(boolean eulaAccepted) -
setAccessDelegates
-
setPasswordSet
public void setPasswordSet(boolean passwordSet) -
equals
-
canEqual
-
hashCode
-
toString
-