X - the type of the entitypublic class EntityMapping<X> extends AbstractParentMapping<X,X> implements RootMapping<X>
| Constructor and Description |
|---|
EntityMapping(EntityTypeImpl<X> entity) |
| Modifier and Type | Method and Description |
|---|---|
AttributeImpl<? super X,X> |
getAttribute()
Returns the attribute of the mapping.
|
EntityTypeImpl<X> |
getEntity()
Returns the entity of the root mapping.
|
AbstractMapping<?,?,?> |
getMapping(String path) |
EntityMapping<?> |
getRoot() |
EntityTypeImpl<X> |
getType()
Returns the entity or embeddable type of the mapping.
|
EntityTypeImpl<X> |
getTypeDescriptor() |
boolean |
isEntity() |
boolean |
isId()
Returns if the mapping is part of an id attribute.
|
addAssociations, addBasicMappings, addJoinedMappings, addPluralMappings, addSingularMappings, createMappings, getChild, getChildren, getEagerMappings, getRootAttribute, getRootPath, inheritequals, get, getJavaMember, getJavaType, getLocator, getName, getParent, getPath, hashCode, isCollection, set, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetChildget, getJavaMember, getJavaType, getLocator, getName, getParent, getPath, isCollection, setpublic EntityMapping(EntityTypeImpl<X> entity)
entity - the entitypublic AttributeImpl<? super X,X> getAttribute()
getAttribute in class AbstractMapping<X,X,X>public EntityTypeImpl<X> getEntity()
public AbstractMapping<?,?,?> getMapping(String path)
getMapping in interface RootMapping<X>public EntityMapping<?> getRoot()
public EntityTypeImpl<X> getType()
getType in interface RootMapping<X>getType in class AbstractParentMapping<X,X>public EntityTypeImpl<X> getTypeDescriptor()
getTypeDescriptor in interface RootMapping<X>public boolean isEntity()
isEntity in interface RootMapping<X>public boolean isId()
isId in class AbstractParentMapping<X,X>Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.