public class MetaModelImpl extends MetadataObjectImpl implements MetaModel
Constructor and Description |
---|
MetaModelImpl(Session session,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
MetaClass |
getClass(java.lang.Class<?> clazz)
Get MetaClass by corresponding entity's Java class
|
MetaClass |
getClass(java.lang.String name)
Get MetaClass by its unique name
|
java.util.Map<java.lang.Class,MetaClass> |
getClassByClass() |
java.util.Map<java.lang.String,MetaClass> |
getClassByName() |
java.util.Collection<MetaClass> |
getClasses()
All meta classes
|
void |
registerClass(MetaClassImpl clazz) |
void |
registerClass(java.lang.String name,
java.lang.Class javaClass,
MetaClassImpl clazz) |
getAnnotations, getName, setName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotations, getName
public MetaModelImpl(Session session, java.lang.String name)
public MetaClass getClass(java.lang.String name)
MetaModel
public MetaClass getClass(java.lang.Class<?> clazz)
MetaModel
public java.util.Collection<MetaClass> getClasses()
MetaModel
getClasses
in interface MetaModel
public void registerClass(MetaClassImpl clazz)
public void registerClass(java.lang.String name, java.lang.Class javaClass, MetaClassImpl clazz)
public java.util.Map<java.lang.String,MetaClass> getClassByName()
public java.util.Map<java.lang.Class,MetaClass> getClassByClass()