Class Overview
Centralizes metamodel information about an entity.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
String
findEntityNameByEntityClass
(Class inheritenceClass)
Return the entity-name mapped to the given class within our inheritance hierarchy, if any.
Parameters
inheritenceClass
| The class for which to resolve the entity-name. |
Returns
- The mapped entity-name, or null if no such mapping was found.
public
int[]
getNaturalIdentifierProperties
()
public
boolean[]
getNonlazyPropertyUpdateability
()
public
int
getOptimisticLockMode
()
public
boolean[]
getPropertyCheckability
()
public
int
getPropertyIndex
(String propertyName)
public
boolean[]
getPropertyInsertability
()
public
boolean[]
getPropertyLaziness
()
public
boolean[]
getPropertyNullability
()
public
int
getPropertySpan
()
public
Type[]
getPropertyTypes
()
public
boolean[]
getPropertyUpdateability
()
public
boolean[]
getPropertyVersionability
()
public
Set
getSubclassEntityNames
()
public
String
getSuperclass
()
public
int
getVersionPropertyIndex
()
public
boolean
hasCascades
()
public
boolean
hasCollections
()
public
boolean
hasImmutableNaturalId
()
public
boolean
hasInsertGeneratedValues
()
public
boolean
hasLazyProperties
()
public
boolean
hasMutableProperties
()
public
boolean
hasNaturalIdentifier
()
public
boolean
hasNonIdentifierPropertyNamedId
()
public
boolean
hasSubclasses
()
public
boolean
hasUpdateGeneratedValues
()
public
boolean
isAbstract
()
public
boolean
isDynamicInsert
()
public
boolean
isDynamicUpdate
()
public
boolean
isExplicitPolymorphism
()
public
boolean
isInherited
()
public
boolean
isMutable
()
public
boolean
isPolymorphic
()
public
boolean
isSelectBeforeUpdate
()
public
boolean
isVersioned
()
public
void
setLazy
(boolean lazy)