Interface ResourceEntity
- All Superinterfaces:
Entity
- All Known Implementing Classes:
ResourceEntityImpl
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()getName()Returns a representation of the object, as would be stored in the database.booleanvoidsetBytes(byte[] bytes) voidsetDeploymentId(String deploymentId) voidsetGenerated(boolean generated) voidMethods inherited from interface Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
Method Details
-
getName
String getName() -
setName
-
getBytes
byte[] getBytes() -
setBytes
void setBytes(byte[] bytes) -
getDeploymentId
String getDeploymentId() -
setDeploymentId
-
getPersistentState
Object getPersistentState()Description copied from interface:EntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentStatein interfaceEntity
-
setGenerated
void setGenerated(boolean generated) -
isGenerated
boolean isGenerated()
-