Class IdentifierImpl
- java.lang.Object
-
- org.apache.openjpa.lib.identifier.IdentifierImpl
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<Identifier>
,Identifier
- Direct Known Subclasses:
DBIdentifier
public class IdentifierImpl extends java.lang.Object implements Identifier, java.io.Serializable
Base identifer implementation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IdentifierImpl()
IdentifierImpl(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Identifier o)
java.lang.String
getName()
int
hashCode()
boolean
isNameDelimited()
int
length()
void
setName(java.lang.String name)
void
setNameDelimited(boolean nameDelimited)
java.lang.String
toString()
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interfaceIdentifier
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceIdentifier
-
isNameDelimited
public boolean isNameDelimited()
-
setNameDelimited
public void setNameDelimited(boolean nameDelimited)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
length
public int length()
- Specified by:
length
in interfaceIdentifier
-
compareTo
public int compareTo(Identifier o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Identifier>
-
-