public class UserType
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The user type.
Modifier and Type | Field and Description |
---|---|
private java.util.List<AttributeType> |
attributes
A container with information about the user type attributes.
|
private java.lang.Boolean |
enabled
Specifies whether the user is enabled.
|
private java.util.Date |
userCreateDate
The creation date of the user.
|
private java.util.Date |
userLastModifiedDate
The last modified date of the user.
|
private java.lang.String |
username
The user name of the user you wish to describe.
|
private java.lang.String |
userStatus
The user status.
|
Constructor and Description |
---|
UserType() |
Modifier and Type | Method and Description |
---|---|
UserType |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<AttributeType> |
getAttributes()
A container with information about the user type attributes.
|
java.lang.Boolean |
getEnabled()
Specifies whether the user is enabled.
|
java.util.Date |
getUserCreateDate()
The creation date of the user.
|
java.util.Date |
getUserLastModifiedDate()
The last modified date of the user.
|
java.lang.String |
getUsername()
The user name of the user you wish to describe.
|
java.lang.String |
getUserStatus()
The user status.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Specifies whether the user is enabled.
|
void |
setAttributes(java.util.Collection<AttributeType> attributes)
A container with information about the user type attributes.
|
void |
setEnabled(java.lang.Boolean enabled)
Specifies whether the user is enabled.
|
void |
setUserCreateDate(java.util.Date userCreateDate)
The creation date of the user.
|
void |
setUserLastModifiedDate(java.util.Date userLastModifiedDate)
The last modified date of the user.
|
void |
setUsername(java.lang.String username)
The user name of the user you wish to describe.
|
void |
setUserStatus(java.lang.String userStatus)
The user status.
|
void |
setUserStatus(UserStatusType userStatus)
The user status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserType |
withAttributes(AttributeType... attributes)
A container with information about the user type attributes.
|
UserType |
withAttributes(java.util.Collection<AttributeType> attributes)
A container with information about the user type attributes.
|
UserType |
withEnabled(java.lang.Boolean enabled)
Specifies whether the user is enabled.
|
UserType |
withUserCreateDate(java.util.Date userCreateDate)
The creation date of the user.
|
UserType |
withUserLastModifiedDate(java.util.Date userLastModifiedDate)
The last modified date of the user.
|
UserType |
withUsername(java.lang.String username)
The user name of the user you wish to describe.
|
UserType |
withUserStatus(java.lang.String userStatus)
The user status.
|
UserType |
withUserStatus(UserStatusType userStatus)
The user status.
|
private java.lang.String username
The user name of the user you wish to describe.
private java.util.List<AttributeType> attributes
A container with information about the user type attributes.
private java.util.Date userCreateDate
The creation date of the user.
private java.util.Date userLastModifiedDate
The last modified date of the user.
private java.lang.Boolean enabled
Specifies whether the user is enabled.
private java.lang.String userStatus
The user status. Can be one of the following:
public void setUsername(java.lang.String username)
The user name of the user you wish to describe.
username
- The user name of the user you wish to describe.public java.lang.String getUsername()
The user name of the user you wish to describe.
public UserType withUsername(java.lang.String username)
The user name of the user you wish to describe.
username
- The user name of the user you wish to describe.public java.util.List<AttributeType> getAttributes()
A container with information about the user type attributes.
public void setAttributes(java.util.Collection<AttributeType> attributes)
A container with information about the user type attributes.
attributes
- A container with information about the user type attributes.public UserType withAttributes(AttributeType... attributes)
A container with information about the user type attributes.
NOTE: This method appends the values to the existing list (if
any). Use setAttributes(java.util.Collection)
or
withAttributes(java.util.Collection)
if you want to override the
existing values.
attributes
- A container with information about the user type attributes.public UserType withAttributes(java.util.Collection<AttributeType> attributes)
A container with information about the user type attributes.
attributes
- A container with information about the user type attributes.public void setUserCreateDate(java.util.Date userCreateDate)
The creation date of the user.
userCreateDate
- The creation date of the user.public java.util.Date getUserCreateDate()
The creation date of the user.
public UserType withUserCreateDate(java.util.Date userCreateDate)
The creation date of the user.
userCreateDate
- The creation date of the user.public void setUserLastModifiedDate(java.util.Date userLastModifiedDate)
The last modified date of the user.
userLastModifiedDate
- The last modified date of the user.public java.util.Date getUserLastModifiedDate()
The last modified date of the user.
public UserType withUserLastModifiedDate(java.util.Date userLastModifiedDate)
The last modified date of the user.
userLastModifiedDate
- The last modified date of the user.public void setEnabled(java.lang.Boolean enabled)
Specifies whether the user is enabled.
enabled
- Specifies whether the user is enabled.public java.lang.Boolean getEnabled()
Specifies whether the user is enabled.
public UserType withEnabled(java.lang.Boolean enabled)
Specifies whether the user is enabled.
enabled
- Specifies whether the user is enabled.public java.lang.Boolean isEnabled()
Specifies whether the user is enabled.
public void setUserStatus(java.lang.String userStatus)
The user status. Can be one of the following:
userStatus
- The user status. Can be one of the following:
UserStatusType
public java.lang.String getUserStatus()
The user status. Can be one of the following:
UserStatusType
public UserType withUserStatus(java.lang.String userStatus)
The user status. Can be one of the following:
userStatus
- The user status. Can be one of the following:
UserStatusType
public void setUserStatus(UserStatusType userStatus)
The user status. Can be one of the following:
userStatus
- The user status. Can be one of the following:
UserStatusType
public UserType withUserStatus(UserStatusType userStatus)
The user status. Can be one of the following:
userStatus
- The user status. Can be one of the following:
UserStatusType
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UserType clone()
clone
in class java.lang.Object