X - the embeddable typepublic class ElementMappingImpl<X> extends AbstractParentMapping<X,X> implements RootMapping<X>
| Constructor and Description |
|---|
ElementMappingImpl(ElementCollectionMappingImpl<?,?,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.
|
AbstractMapping<?,?,?> |
getMapping(String path) |
RootMapping<?> |
getRoot() |
EmbeddableTypeImpl<? super X> |
getType()
Returns the entity or embeddable type of the mapping.
|
EmbeddableTypeImpl<? super 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 ElementMappingImpl(ElementCollectionMappingImpl<?,?,X> mapping, EmbeddableTypeImpl<X> embeddable)
mapping - the element collection mappingembeddable - the embeddablepublic AttributeImpl<? super X,X> getAttribute()
getAttribute in class AbstractMapping<X,X,X>public AbstractTable getCollectionTable()
public AbstractMapping<?,?,?> getMapping(String path)
getMapping in interface RootMapping<X>public RootMapping<?> getRoot()
public EmbeddableTypeImpl<? super X> getType()
getType in interface RootMapping<X>getType in class AbstractParentMapping<X,X>public EmbeddableTypeImpl<? super 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.