public static class Assignment.Assignee extends java.lang.Object implements JSONCacheable, AppianTypeHolder
hiddenAttributes$TRANSIENT
Constructor and Description |
---|
Assignee() |
Assignee(java.lang.Long type,
java.lang.Object value,
java.lang.Long privilege) |
Modifier and Type | Method and Description |
---|---|
void |
fillInAppianTypes(AppianTypeCache cache_)
Adds the primary key of the assignee to the given cache.
|
java.lang.String |
getDisplayName()
Retrieves the displayname for the assignee, such as the group name for a
group or username for user
|
java.util.HashSet |
getHiddenAttributes()
Returns the set of attributes (properties) that should not be included in
the JSON representation of the object.
|
java.lang.Long |
getPrivilege()
Gets the reassignment privileges for this assignee.
|
java.lang.Long |
getType()
Retrieves the type of this assignee, as one of the ASSIGNEE_XXX
constants.
|
java.lang.Object |
getValue() |
void |
setDisplayName(java.lang.String displayName_)
Sets the displayname for the assignee, such as a group name for a group
or username for user.
|
void |
setPrivilege(java.lang.Long privilege_)
Sets the reassignment privileges for this assignee.
|
void |
setType(java.lang.Long type_)
Sets the type of the assignee.
|
void |
setValue(java.lang.Object value_)
Sets the value for this assignee.
|
void |
toXML(java.lang.StringBuffer buffer_)
Creates an XML representation of this assignee and appends it to the
given StringBuffer.
|
void |
toXML(java.lang.StringBuilder buffer_) |
public Assignee()
public Assignee(java.lang.Long type, java.lang.Object value, java.lang.Long privilege)
public void toXML(java.lang.StringBuffer buffer_)
buffer_
- a buffer of textpublic void toXML(java.lang.StringBuilder buffer_)
public void fillInAppianTypes(AppianTypeCache cache_)
fillInAppianTypes
in interface AppianTypeHolder
cache_
- a cache of Appian-typed objects.public java.lang.Long getPrivilege()
setPrivilege(Long)
.public void setPrivilege(java.lang.Long privilege_)
Assignment
.public java.lang.Object getValue()
public void setValue(java.lang.Object value_)
value_
- the value to set for the assigneepublic java.lang.Long getType()
public void setType(java.lang.Long type_)
type_
- the type to set for the assignee, which should be one of the
ASSIGNEE_XXX constants.public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName_)
displayName_
- the displayname to set for the assignee. Note that this value
is NOT stored in the backend.public java.util.HashSet getHiddenAttributes()
JSONable
getHiddenAttributes
in interface JSONable
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.