@java.lang.SuppressWarnings({"rawtypes", "unchecked"}) public abstract class AbstractPersistentEntity extends java.lang.Object
Abstract implementation to be subclasses on a per datastore basis
Modifiers | Name | Description |
---|---|---|
protected java.util.List<Association> |
associations |
|
protected MappingContext |
context |
|
protected java.util.List<Embedded> |
embedded |
|
protected PersistentProperty |
identity |
|
protected java.lang.Class |
javaClass |
|
protected java.util.Map<java.lang.String, PersistentProperty> |
mappedPropertiesByName |
|
protected java.util.Set |
owners |
|
protected java.util.List<PersistentProperty> |
persistentProperties |
|
protected java.util.List<java.lang.String> |
persistentPropertyNames |
|
protected java.util.Map<java.lang.String, PersistentProperty> |
propertiesByName |
|
protected PersistentProperty |
version |
Constructor and description |
---|
AbstractPersistentEntity
(java.lang.Class javaClass, MappingContext context) |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
addOwner(java.lang.Class type) |
|
boolean |
equals(java.lang.Object o) |
|
java.util.List<Association> |
getAssociations() |
|
PersistentProperty[] |
getCompositeIdentity() |
|
java.lang.String |
getDecapitalizedName() |
|
java.lang.String |
getDiscriminator() |
|
java.util.List<Embedded> |
getEmbedded() |
|
PersistentProperty |
getIdentity() |
|
java.lang.Class |
getJavaClass() |
|
ClassMapping<T> |
getMapping() |
|
MappingContext |
getMappingContext() |
|
java.lang.String |
getMappingStrategy() |
|
java.lang.String |
getName() |
|
PersistentEntity |
getParentEntity() |
|
java.util.List<PersistentProperty> |
getPersistentProperties() |
|
java.util.List<java.lang.String> |
getPersistentPropertyNames() |
|
PersistentProperty |
getPropertyByName(java.lang.String name) |
|
EntityReflector |
getReflector() |
|
PersistentEntity |
getRootEntity() |
|
TenantId |
getTenantId() |
|
PersistentProperty |
getVersion() |
|
boolean |
hasProperty(java.lang.String name, java.lang.Class type) |
|
int |
hashCode() |
|
protected boolean |
includeIdentifiers() |
|
void |
initialize() |
|
boolean |
isAbstract() |
|
protected boolean |
isAnnotatedSuperClass(MappingConfigurationStrategy mappingSyntaxStrategy, java.lang.Class superClass) |
|
boolean |
isExternal() |
|
boolean |
isIdentityName(java.lang.String propertyName) |
|
boolean |
isInitialized() |
|
boolean |
isInstance(java.lang.Object obj) |
|
boolean |
isMultiTenant() |
|
boolean |
isOwningEntity(PersistentEntity owner) |
|
boolean |
isRoot() |
|
boolean |
isVersioned() |
|
java.lang.Object |
newInstance() |
|
protected PersistentProperty |
resolveIdentifier() |
|
void |
setExternal(boolean external) |
|
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |