public final class NameIdentifier extends java.lang.Object implements java.lang.Comparable<NameIdentifier>, java.io.Externalizable
Constructor and Description |
---|
NameIdentifier()
Deprecated.
- this constructor is only for use as an Externalizable
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
asCSV(java.util.Set<NameIdentifier> set)
Returns a String containing all the Strings in set, in comma-separated syntax
|
int |
compareTo(NameIdentifier o) |
boolean |
equals(java.lang.Object obj) |
boolean |
equalsNameIdentifier(NameIdentifier obj)
Checks if the given NameIdentier is equal to this one.
|
static NameIdentifier |
get(java.lang.String nameText) |
static NameIdentifier |
get(ValueBuffer nameBuffer) |
java.lang.String |
getString()
Gets string
|
ValueBuffer |
getValueBuffer()
Gets the ValueBuffer for the NAME value
|
int |
hashCode() |
void |
readExternal(java.io.ObjectInput in) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out) |
@Deprecated public NameIdentifier()
public static java.lang.String asCSV(java.util.Set<NameIdentifier> set)
set
- The set of Strings to be concatenated in comma-separated formpublic static NameIdentifier get(java.lang.String nameText)
nameText
- -public static NameIdentifier get(ValueBuffer nameBuffer)
nameBuffer
- -public int compareTo(NameIdentifier o)
compareTo
in interface java.lang.Comparable<NameIdentifier>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean equalsNameIdentifier(NameIdentifier obj)
obj
- A NameIdentifier to compare with this one for equalitypublic final java.lang.String getString()
public ValueBuffer getValueBuffer()
public int hashCode()
hashCode
in class java.lang.Object
public void readExternal(java.io.ObjectInput in) throws java.io.IOException
readExternal
in interface java.io.Externalizable
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException