public class LocalizedIdentity
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
LocalizedIdentity()
Constructs an empty
LocalizedIdentity object. |
LocalizedIdentity(java.lang.Long id_,
LocaleString name_)
Constructs a
LocalizedIdentity object with given name
and Id. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o_)
Returns whether the
LocalizedIdentity been passed is equal to this
LocalizedIdentity . |
java.lang.Long |
getId()
Returns the Id of the object.
|
static java.lang.Long[] |
getIds(LocalizedIdentity[] lis)
Get the ids (as a Long array) from an array of
LocalizedIdentity objects. |
LocaleString |
getName()
Returns the localized name mappings of the object.
|
int |
hashCode()
Returns a hash code value for the object.
|
void |
setId(java.lang.Long id_)
Sets the Id of the object.
|
void |
setName(LocaleString name_)
Sets the localized name mappings of the object.
|
java.lang.String |
toString()
Returns a string representation of the
LocalizedIdentity . |
public LocalizedIdentity()
LocalizedIdentity
object.public LocalizedIdentity(java.lang.Long id_, LocaleString name_)
LocalizedIdentity
object with given name
and Id.id_
- Id of the objectname_
- the localized name mappings of the objectpublic java.lang.Long getId()
setId(Long)
public void setId(java.lang.Long id_)
id_
- Id to setgetId()
public LocaleString getName()
setName(LocaleString)
public void setName(LocaleString name_)
name_
- name to setgetName()
public java.lang.String toString()
LocalizedIdentity
. In general,
the toString method returns a string that "textually represents" this
object. Note that the name value will be the encode representation.toString
in class java.lang.Object
public boolean equals(java.lang.Object o_)
LocalizedIdentity
been passed is equal to this
LocalizedIdentity
.equals
in class java.lang.Object
o_
- the reference object with which to compare.true
if both objects are equal, otherwise
false
public int hashCode()
Hashtable
.hashCode
in class java.lang.Object
public static java.lang.Long[] getIds(LocalizedIdentity[] lis)
LocalizedIdentity
objects.lis
- an array of LocalizedIdentity
objectsCopyright © 2003-2024 Appian Corporation. All Rights Reserved.