Package com.appiancorp.suiteapi.common
Class Identity
java.lang.Object
com.appiancorp.suiteapi.common.Identity
- All Implemented Interfaces:
LocalId
,Serializable
- Direct Known Subclasses:
ActivityClass
,ActivityClassSchema
,Content
,MessageType
,Palette
,Palette.Descriptor
,PaletteCategory
,PaletteCategory.AllCategories
,PaletteCategory.Descriptor
,PaletteErrorItem
,PaletteItem
,PortalGroup.Page
,Priority
,ProcessModelFolder
,ProcessModelProperties
,ProcessProperties
,RoleSet
,TaskProperties
This bean is used to represent an object with a
String
name, Long
Id, and
String
UUID.- See Also:
-
Constructor Summary
ConstructorDescriptionIdentity()
Constructor that constructs an emptyIdentity
object.Constructor that constructs anIdentity
object with given name and Id.Constructor that constructs anIdentity
object with given name, UUID, and Id -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether theIdentity
been passed is equal to thisIdentity
.getId()
Returns the Id of the object.getName()
Returns the name of the object.getUuid()
Returns the UUID of the object.int
hashCode()
Returns a hash code value for the object.void
Sets the Id of the object.void
Sets the name of the object.void
Sets the UUID of the object.toString()
Returns a string representation of theIdentity
.
-
Constructor Details
-
Identity
public Identity()Constructor that constructs an emptyIdentity
object. -
Identity
Constructor that constructs anIdentity
object with given name and Id.- Parameters:
id_
- Id of the objectname_
- Name of the object
-
Identity
Constructor that constructs anIdentity
object with given name, UUID, and Id- Parameters:
id_
- Id of the objectuuid_
- UUID of the objectname_
- Name of the object
-
-
Method Details
-
getId
Returns the Id of the object. -
setId
Sets the Id of the object. -
getUuid
Returns the UUID of the object.- Returns:
- UUID of object
- See Also:
-
setUuid
Sets the UUID of the object.- Parameters:
uuid_
- UUID to set- See Also:
-
getName
Returns the name of the object.- Returns:
- name
- See Also:
-
setName
Sets the name of the object.- Parameters:
name_
- name to set- See Also:
-
toString
Returns a string representation of theIdentity
. In general, the toString method returns a string that "textually represents" this object. -
equals
Returns whether theIdentity
been passed is equal to thisIdentity
. -
hashCode
public int hashCode()Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided byHashtable
.
-