public class MappedSuperclass extends Object
Type | Property and Description |
---|---|
boolean |
hasIdentifier |
Constructor and Description |
---|
MappedSuperclass(MappedSuperclass superMappedSuperclass,
PersistentClass superPersistentClass) |
Modifier and Type | Method and Description |
---|---|
void |
addDeclaredProperty(Property p) |
Component |
getDeclaredIdentifierMapper() |
Property |
getDeclaredIdentifierProperty() |
Iterator |
getDeclaredPropertyIterator() |
Property |
getDeclaredVersion() |
Component |
getIdentifierMapper() |
Property |
getIdentifierProperty() |
Class |
getMappedClass() |
MappedSuperclass |
getSuperMappedSuperclass()
Returns the first superclass marked as @MappedSuperclass or null if:
- none exists
- or the first persistent superclass found is an @Entity
|
PersistentClass |
getSuperPersistentClass()
Returns the PersistentClass of the first superclass marked as @Entity
or null if none exists
|
Property |
getVersion() |
boolean |
hasIdentifierProperty() |
boolean |
isVersioned() |
void |
setDeclaredIdentifierMapper(Component identifierMapper) |
void |
setDeclaredIdentifierProperty(Property prop) |
void |
setDeclaredVersion(Property prop) |
void |
setMappedClass(Class mappedClass) |
public MappedSuperclass(MappedSuperclass superMappedSuperclass, PersistentClass superPersistentClass)
public MappedSuperclass getSuperMappedSuperclass()
public boolean hasIdentifierProperty()
public boolean isVersioned()
public PersistentClass getSuperPersistentClass()
public Iterator getDeclaredPropertyIterator()
public void addDeclaredProperty(Property p)
public Class getMappedClass()
public void setMappedClass(Class mappedClass)
public Property getIdentifierProperty()
public Property getDeclaredIdentifierProperty()
public void setDeclaredIdentifierProperty(Property prop)
public Property getVersion()
public Property getDeclaredVersion()
public void setDeclaredVersion(Property prop)
public Component getIdentifierMapper()
public Component getDeclaredIdentifierMapper()
public void setDeclaredIdentifierMapper(Component identifierMapper)
Copyright © 2018 JBoss by Red Hat. All rights reserved.