Package com.appiancorp.suiteapi.common
Class LocalizedIdentity
java.lang.Object
com.appiancorp.suiteapi.common.LocalizedIdentity
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractProcessModel,HistoryRecord.ProcessModelInfo,ProcessModel.Descriptor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an emptyLocalizedIdentityobject.LocalizedIdentity(Long id_, LocaleString name_) Constructs aLocalizedIdentityobject with given name and Id. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether theLocalizedIdentitybeen passed is equal to thisLocalizedIdentity.getId()Returns the Id of the object.static Long[]getIds(LocalizedIdentity[] lis) Get the ids (as a Long array) from an array ofLocalizedIdentityobjects.getName()Returns the localized name mappings of the object.inthashCode()Returns a hash code value for the object.voidSets the Id of the object.voidsetName(LocaleString name_) Sets the localized name mappings of the object.toString()Returns a string representation of theLocalizedIdentity.
-
Constructor Details
-
LocalizedIdentity
public LocalizedIdentity()Constructs an emptyLocalizedIdentityobject. -
LocalizedIdentity
Constructs aLocalizedIdentityobject with given name and Id.- Parameters:
id_- Id of the objectname_- the localized name mappings of the object
-
-
Method Details
-
getId
Returns the Id of the object.- Returns:
- Id of object
- See Also:
-
setId
Sets the Id of the object.- Parameters:
id_- Id to set- See Also:
-
getName
Returns the localized name mappings of the object.- Returns:
- name
- See Also:
-
setName
Sets the localized name mappings of the object.- Parameters:
name_- name to set- See Also:
-
toString
Returns a string representation of theLocalizedIdentity. In general, the toString method returns a string that "textually represents" this object. Note that the name value will be the encode representation. -
equals
Returns whether theLocalizedIdentitybeen passed is equal to thisLocalizedIdentity. -
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. -
getIds
Get the ids (as a Long array) from an array ofLocalizedIdentityobjects.- Parameters:
lis- an array ofLocalizedIdentityobjects- Returns:
- an array of the same size as the given array, containing the ids of the given objects; if given array is null, returns null
-