X
- The Java type represented by this managed typepublic interface ExtendedManagedType<X>
ManagedType
that allows additionally efficient access to properties of the metamodel.Modifier and Type | Method and Description |
---|---|
ExtendedAttribute<X,?> |
getAttribute(String attributeName)
Returns the extended attribute of the managed type for the given attribute name.
|
Map<String,ExtendedAttribute<X,?>> |
getAttributes()
Returns the extended attributes of the managed type.
|
javax.persistence.metamodel.SingularAttribute<X,?> |
getIdAttribute()
Returns the id attribute if it has one, otherwise null.
|
javax.persistence.metamodel.ManagedType<X> |
getType()
Returns the underlying managed type.
|
boolean |
hasCascadingDeleteCycle()
Returns whether the type has a cascading delete cycle.
|
javax.persistence.metamodel.ManagedType<X> getType()
boolean hasCascadingDeleteCycle()
javax.persistence.metamodel.SingularAttribute<X,?> getIdAttribute()
Map<String,ExtendedAttribute<X,?>> getAttributes()
ExtendedAttribute<X,?> getAttribute(String attributeName)
attributeName
- The attribute nameIllegalArgumentException
- Is thrown when the attribute doesn't existCopyright © 2014–2018 Blazebit. All rights reserved.