org.objectweb.jorm.metainfo.api
Interface ClassRef
- MetaObject, Reference, Serializable, TypedElement
public interface ClassRef
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.
- X. Spengler
String | getClassName() - Returns the name of the class ref.
|
Class | getMOClass() - Returns the Class object which describes the ClassRef entity.
|
getClassName
public String getClassName()
Returns the name of the class ref.
- the name of the class reference meta object
getMOClass
public Class getMOClass()
Returns the Class object which describes the ClassRef entity.
This object is used as the type of a field.
- the Class Object contained by the current class ref object