@java.lang.SuppressWarnings({"rawtypes", "unchecked"}) public abstract class AbstractPersistentEntity<T extends Entity> extends java.lang.Object implements PersistentEntity
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 |
---|---|---|
|
public boolean |
addOwner(java.lang.Class type) |
|
public boolean |
equals(java.lang.Object o) |
|
public java.util.List<Association> |
getAssociations() |
|
public PersistentProperty[] |
getCompositeIdentity() |
|
public java.lang.String |
getDecapitalizedName() |
|
public java.lang.String |
getDiscriminator() |
|
public java.util.List<Embedded> |
getEmbedded() |
|
public PersistentProperty |
getIdentity() |
|
public java.lang.Class |
getJavaClass() |
|
public Entity |
getMappedForm() |
|
public ClassMapping<T> |
getMapping() |
|
public MappingContext |
getMappingContext() |
|
public java.lang.String |
getMappingStrategy() |
|
public java.lang.String |
getName() |
|
public PersistentEntity |
getParentEntity() |
|
public java.util.List<PersistentProperty> |
getPersistentProperties() |
|
public java.util.List<java.lang.String> |
getPersistentPropertyNames() |
|
public PersistentProperty |
getPropertyByName(java.lang.String name) |
|
public EntityReflector |
getReflector() |
|
public PersistentEntity |
getRootEntity() |
|
public TenantId |
getTenantId() |
|
public PersistentProperty |
getVersion() |
|
public boolean |
hasProperty(java.lang.String name, java.lang.Class type) |
|
public int |
hashCode() |
|
protected boolean |
includeIdentifiers() |
|
public void |
initialize() |
|
public boolean |
isAbstract() |
|
protected boolean |
isAnnotatedSuperClass(MappingConfigurationStrategy mappingSyntaxStrategy, java.lang.Class superClass) |
|
public boolean |
isExternal() |
|
public boolean |
isIdentityName(java.lang.String propertyName) |
|
public boolean |
isInitialized() |
|
public boolean |
isInstance(java.lang.Object obj) |
|
public boolean |
isMultiTenant() |
|
public boolean |
isOwningEntity(PersistentEntity owner) |
|
public boolean |
isRoot() |
|
public boolean |
isVersioned() |
|
public java.lang.Object |
newInstance() |
|
protected PersistentProperty |
resolveIdentifier() |
|
public void |
setExternal(boolean external) |
|
public java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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() |