@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 PersistentProperty |
identity |
|
protected java.lang.Class |
javaClass |
|
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 | Name and description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<Association> |
getAssociations() |
java.lang.String |
getDecapitalizedName() |
java.lang.String |
getDiscriminator() |
PersistentProperty |
getIdentity() |
java.lang.Class |
getJavaClass() |
ClassMapping<T> |
getMapping() |
MappingContext |
getMappingContext() |
java.lang.String |
getName() |
PersistentEntity |
getParentEntity() |
java.util.List<PersistentProperty> |
getPersistentProperties() |
java.util.List<java.lang.String> |
getPersistentPropertyNames() |
PersistentProperty |
getPropertyByName(java.lang.String name) |
PersistentEntity |
getRootEntity() |
PersistentProperty |
getVersion() |
boolean |
hasProperty(java.lang.String name, java.lang.Class type) |
int |
hashCode() |
void |
initialize() |
boolean |
isExternal() |
boolean |
isIdentityName(java.lang.String propertyName) |
boolean |
isInstance(java.lang.Object obj) |
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() |