X - the embeddable typepublic class ElementMapping<X> extends ParentMapping<X,X> implements RootMapping<X>
| Constructor and Description |
|---|
ElementMapping(ElementCollectionMapping<?,?,X> mapping,
EmbeddableTypeImpl<X> embeddable) |
| Modifier and Type | Method and Description |
|---|---|
AttributeImpl<? super X,X> |
getAttribute()
Returns the attribute of the mapping.
|
AbstractTable |
getCollectionTable()
Returns the collection table.
|
Mapping<?,?,?> |
getMapping(String path)
Returns the mapping corresponding to the path.
|
RootMapping<?> |
getRoot()
Returns the root of the mapping.
|
EmbeddableTypeImpl<X> |
getType()
Returns the entity or embeddable type of the mapping.
|
boolean |
isEntity()
Returns if the root is an entity.
|
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, getJavaType, getName, getParent, getPath, hashCode, set, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetChildpublic ElementMapping(ElementCollectionMapping<?,?,X> mapping, EmbeddableTypeImpl<X> embeddable)
mapping - the element collection mappingembeddable - the embeddablepublic AttributeImpl<? super X,X> getAttribute()
getAttribute in class Mapping<X,X,X>public AbstractTable getCollectionTable()
public Mapping<?,?,?> getMapping(String path)
getMapping in interface RootMapping<X>path - the path of the mappingpublic RootMapping<?> getRoot()
public EmbeddableTypeImpl<X> getType()
getType in interface RootMapping<X>getType in class ParentMapping<X,X>public boolean isEntity()
isEntity in interface RootMapping<X>public boolean isId()
isId in class ParentMapping<X,X>Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.