org.apache.openjpa.lib.identifier
Class IdentifierImpl

java.lang.Object
  extended by org.apache.openjpa.lib.identifier.IdentifierImpl
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Identifier>, Identifier
Direct Known Subclasses:
DBIdentifier

public class IdentifierImpl
extends Object
implements Identifier, Serializable

Base identifer implementation.

See Also:
Serialized Form

Constructor Summary
protected IdentifierImpl()
           
  IdentifierImpl(String name)
           
 
Method Summary
 int compareTo(Identifier o)
           
 String getName()
           
 int hashCode()
           
 int length()
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdentifierImpl

protected IdentifierImpl()

IdentifierImpl

public IdentifierImpl(String name)
Method Detail

setName

public void setName(String name)
Specified by:
setName in interface Identifier

getName

public String getName()
Specified by:
getName in interface Identifier

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

length

public int length()
Specified by:
length in interface Identifier

compareTo

public int compareTo(Identifier o)
Specified by:
compareTo in interface Comparable<Identifier>


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.