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
ConstructorDescriptionConstructs an emptyLocalizedIdentity
object.LocalizedIdentity
(Long id_, LocaleString name_) Constructs aLocalizedIdentity
object with given name and Id. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether theLocalizedIdentity
been 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 ofLocalizedIdentity
objects.getName()
Returns the localized name mappings of the object.int
hashCode()
Returns a hash code value for the object.void
Sets the Id of the object.void
setName
(LocaleString name_) Sets the localized name mappings of the object.toString()
Returns a string representation of theLocalizedIdentity
.
-
Constructor Details
-
LocalizedIdentity
public LocalizedIdentity()Constructs an emptyLocalizedIdentity
object. -
LocalizedIdentity
Constructs aLocalizedIdentity
object 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 theLocalizedIdentity
been 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 ofLocalizedIdentity
objects.- Parameters:
lis
- an array ofLocalizedIdentity
objects- 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
-