Class EntityInstance
java.lang.Object
com.echothree.util.server.persistence.BaseEntity
com.echothree.model.data.core.server.entity.EntityInstance
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class com.echothree.util.server.persistence.BaseEntity
_entityPermission
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of EntityInstanceEntityInstance
(EntityInstanceValue value, EntityPermission entityPermission) Creates a new instance of EntityInstance -
Method Summary
Modifier and TypeMethodDescriptionboolean
getEntityType
(EntityPermission entityPermission) getEntityType
(Session session) getEntityType
(Session session, EntityPermission entityPermission) getEntityTypeForUpdate
(Session session) boolean
boolean
getGuid()
boolean
getKey()
boolean
getUlid()
boolean
boolean
int
hashCode()
void
remove()
void
void
void
setEntityType
(EntityType entity) void
setEntityTypePK
(EntityTypePK entityTypePK) void
setEntityUniqueId
(Long entityUniqueId) void
void
void
void
toString()
Methods inherited from class com.echothree.util.server.persistence.BaseEntity
checkReadWrite, getEntityPermission, store
-
Constructor Details
-
EntityInstance
Creates a new instance of EntityInstance- Throws:
PersistenceException
-
EntityInstance
Creates a new instance of EntityInstance
-
-
Method Details
-
getBaseFactoryInstance
- Specified by:
getBaseFactoryInstance
in classBaseEntity
-
hasBeenModified
- Specified by:
hasBeenModified
in classBaseEntity
-
hashCode
-
toString
-
equals
-
store
- Specified by:
store
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
remove
- Overrides:
remove
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
getEntityInstanceValue
-
setEntityInstanceValue
- Throws:
PersistenceReadOnlyException
-
getPrimaryKey
- Specified by:
getPrimaryKey
in classBaseEntity
-
getEntityTypePK
-
getEntityType
-
getEntityType
-
getEntityType
-
getEntityType
-
getEntityTypeForUpdate
-
getEntityTypeForUpdate
-
setEntityTypePK
public void setEntityTypePK(EntityTypePK entityTypePK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setEntityType
-
getEntityTypePKHasBeenModified
-
getEntityUniqueId
-
setEntityUniqueId
public void setEntityUniqueId(Long entityUniqueId) throws PersistenceNotNullException, PersistenceReadOnlyException -
getEntityUniqueIdHasBeenModified
-
getKey
-
setKey
-
getKeyHasBeenModified
-
getGuid
-
setGuid
-
getGuidHasBeenModified
-
getUlid
-
setUlid
-
getUlidHasBeenModified
-