X - The represented embeddable typepublic class EmbeddableTypeImpl<X> extends ManagedTypeImpl<X> implements javax.persistence.metamodel.EmbeddableType<X>
EmbeddableType.| Constructor and Description |
|---|
EmbeddableTypeImpl(MetamodelImpl metamodel,
Class<X> javaType,
EmbeddableMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAttributeCount()
Returns the attribute count of the embeddable.
|
javax.persistence.metamodel.Type.PersistenceType |
getPersistenceType() |
SingularAttributeImpl<?,?>[] |
getSingularMappings()
Returns the sorted singular mappings of the embeddable.
|
X |
newInstance()
Returns a new instance of the type
|
addAttribute, addAttributes, getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getList, getList, getLocator, getMap, getMap, getName, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributesgetJavaType, getMetamodelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getList, getList, getMap, getMap, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributespublic EmbeddableTypeImpl(MetamodelImpl metamodel, Class<X> javaType, EmbeddableMetadata metadata)
metamodel - the metamodeljavaType - the java typemetadata - the metadatapublic int getAttributeCount()
public javax.persistence.metamodel.Type.PersistenceType getPersistenceType()
getPersistenceType in interface javax.persistence.metamodel.Type<X>public SingularAttributeImpl<?,?>[] getSingularMappings()
public X newInstance()
Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.