Package mc.core.model.base
Class EntityData
java.lang.Object
mc.core.model.base.EntityData
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity
- Direct Known Subclasses:
EntityDataCE
abstract base data to store additional content, file or large data associated to another entity. can handle files,
stored in content store through fileId and filename. can handle large amount of text data through type field can be
used to specify content category and storage mode. this must be defined by higher levels of the software.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructorEntityData(String type, String data) constructor to create an entityData for content data stored in CLOBEntityData(String type, String fileId, String filename) constructor to create an entityData for fileEntityData(EntityData source) copy constructor -
Method Summary
-
Constructor Details
-
EntityData
public EntityData()default constructor -
EntityData
copy constructor -
EntityData
constructor to create an entityData for file -
EntityData
constructor to create an entityData for content data stored in CLOB
-
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceIBaseEntity
-
setId
public void setId(long id) - Specified by:
setIdin interfaceIBaseEntity
-
getType
-
setType
-
getFileId
-
setFileId
-
getFilename
-
setFilename
-
getData
-
setData
-
equals
-
hashCode
public int hashCode() -
toString
-