org.eclipse.emf.cdo.common.model
Class CDOClassifierRef

java.lang.Object
  extended by org.eclipse.emf.cdo.common.model.CDOClassifierRef

public final class CDOClassifierRef
extends Object

References an EClassifier.

Since:
2.0

Nested Class Summary
static interface CDOClassifierRef.Provider
          Provides classifier references.
 
Field Summary
static String URI_SEPARATOR
           
 
Constructor Summary
CDOClassifierRef()
           
CDOClassifierRef(CDODataInput in)
           
CDOClassifierRef(EClassifier classifier)
           
CDOClassifierRef(String uri)
           
CDOClassifierRef(String packageURI, String classifierName)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClassifierName()
           
 String getPackageURI()
           
 String getURI()
           
 int hashCode()
           
 EClassifier resolve(EPackage.Registry packageRegistry)
           
 String toString()
           
 void write(CDODataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

URI_SEPARATOR

public static final String URI_SEPARATOR
See Also:
Constant Field Values
Constructor Detail

CDOClassifierRef

public CDOClassifierRef()

CDOClassifierRef

public CDOClassifierRef(EClassifier classifier)

CDOClassifierRef

public CDOClassifierRef(String packageURI,
                        String classifierName)

CDOClassifierRef

public CDOClassifierRef(String uri)
Since:
4.0

CDOClassifierRef

public CDOClassifierRef(CDODataInput in)
                 throws IOException
Throws:
IOException
Since:
3.0
Method Detail

write

public void write(CDODataOutput out)
           throws IOException
Throws:
IOException
Since:
3.0

getURI

public String getURI()
Since:
4.0

getPackageURI

public String getPackageURI()

getClassifierName

public String getClassifierName()

resolve

public EClassifier resolve(EPackage.Registry packageRegistry)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.