org.objectweb.jorm.metainfo.api
Interface ClassRef
- All Superinterfaces:
- MetaObject, Reference, java.io.Serializable, TypedElement
- public interface ClassRef
- extends Reference
A ClassRef is a field which is a reference field to another class.
In this case, the name of the referenced class has to be specified,
as well as whether it is a shared reference or not; if it is not,
it is a dependent class.
- Author:
- X. Spengler
Method Summary |
java.lang.String |
getClassName()
Returns the name of the class ref. |
Class |
getMOClass()
Returns the Class object which describes the ClassRef entity. |
getMOClass
public Class getMOClass()
- Returns the Class object which describes the ClassRef entity.
This object is used as the type of a field.
- Returns:
- the Class Object contained by the current class ref object
getClassName
public java.lang.String getClassName()
- Returns the name of the class ref.
- Returns:
- the name of the class reference meta object