|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassInfo
Stores CDO related information for an associated EClass
instance.
The most important information is the mapping specification that is determined
from a mapping file or from model annotations. A ClassInfo
instance
is always contained in a PackageInfo
instance.
A server assigned class identifier (CID
) uniquely identifies
a ClassInfo
instance within the scope of a PackageManager
.
This interface is not expected to be implemented by clients.
EClass
,
ClassMapping
,
PackageInfo
Method Summary | |
---|---|
org.eclipse.emf.ecore.EReference[] |
getAllReferences()
Returns the name of this ClassInfo . |
AttributeInfo |
getAttributeInfo(org.eclipse.emf.ecore.EAttribute eAttribute)
Returns the AttributeInfo instance associated with the given
EAttribute instance. |
AttributeInfo |
getAttributeInfo(int feature)
Returns the AttributeInfo instance associated with the given
Feature ID. |
AttributeInfo[] |
getAttributeInfos()
Returns a handle to the internal array of the AttributeInfo
instances contained by this ClassInfo . |
int |
getCID()
Returns the CID of this ClassInfo . |
org.eclipse.emf.ecore.EClass |
getEClass()
Returns the EClass associated with this ClassInfo . |
java.lang.String |
getFullName()
Returns the fully qualified name of this ClassInfo . |
ClassMapping |
getMapping()
Returns the CDO mapping specification associated with this ClassInfo . |
java.lang.String |
getName()
Returns the name of this ClassInfo . |
PackageInfo |
getPackageInfo()
Returns the PackageInfo containing this ClassInfo . |
ClassInfo |
getParent()
Returns the parent ClassInfo of this ClassInfo . |
void |
setCID(int cid)
For internal use only. |
Method Detail |
---|
int getCID()
CID
of this ClassInfo
.
CID
of this ClassInfo
.void setCID(int cid)
java.lang.String getName()
ClassInfo
.
Identical to calling getEClass().getName()
.
ClassInfo
.java.lang.String getFullName()
ClassInfo
.
Identical to calling getPackageInfo().getFullName() + "." + getName()
.
ClassInfo
.org.eclipse.emf.ecore.EClass getEClass()
EClass
associated with this ClassInfo
.
EClass
associated with this ClassInfo
.ClassInfo getParent()
ClassInfo
of this ClassInfo
.
ClassInfo
of this ClassInfo
.ClassMapping getMapping()
ClassInfo
.
ClassInfo
.PackageInfo getPackageInfo()
PackageInfo
containing this ClassInfo
.
PackageInfo
containing this ClassInfo
.AttributeInfo[] getAttributeInfos()
AttributeInfo
instances contained by this ClassInfo
.
Model inheritance is not taken into account, attributes contained in the
ClassInfo
instance returned by getParent()
are excluded
from the result.
AttributeInfo
instances contained by this ClassInfo
.org.eclipse.emf.ecore.EReference[] getAllReferences()
ClassInfo
.
Identical to calling getEClass().getName()
.
ClassInfo
.AttributeInfo getAttributeInfo(org.eclipse.emf.ecore.EAttribute eAttribute)
AttributeInfo
instance associated with the given
EAttribute
instance.
eAttribute
- The associated EAttribute
instance.
AttributeInfo
instance (or null
).AttributeInfo getAttributeInfo(int feature)
AttributeInfo
instance associated with the given
Feature ID.
feature
- The associated Feature ID.
AttributeInfo
instance (or null
).
|
Copyright (c) 2004, 2005, 2006 Eike Stepper, Germany. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |