Class CometBinary
java.lang.Object
com.priint.pubserver.tagging.TaggingObject
com.priint.pubserver.comet.entity.CometEntity
com.priint.pubserver.comet.entity.CometBinary
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CometGridData,CometGridPreview,CometPageTemplateData,CometPageTemplateDocumentMetadata,CometPageTemplatePreview,CometPageTemplateW2ML,CometSnippetData,CometSnippetDocumentMetadata,CometSnippetIDML,CometSnippetPreview,CometSnippetShape,CometSnippetW2ML,CometTableTemplateData,CometTableTemplateDocumentMetadata,CometTableTemplateIDML,CometTableTemplatePreview,CometTableTemplateShape,CometTableTemplateW2ML,CometTemplateData,CometTemplateDocumentMetadata,CometTemplateIDML,CometTemplatePreview,CometTemplateShape,CometTemplateW2ML
Java class for the Binary configuration type
.CometBinary actually is a abstract type, you wont find any instances of this type in the Comet repository.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.priint.pubserver.comet.entity.CometEntity
CometEntity.CategoryNested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T> -
Field Summary
Fields inherited from class com.priint.pubserver.comet.entity.CometEntity
id, TAG_DOMAIN_QUALIFIER, TAG_GROUP_QUALIFIER, TAG_TYPE_QUALIFIERFields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Comet binary.CometBinary(byte[] data) Instantiates a new Comet binary.CometBinary(int id, long timestamp, byte[] data, CometBinary.Type type) Instantiates a new Comet binary. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()Get data byte [ ].getType()Gets type.voidsetData(byte[] data) Sets data.voidsetType(CometBinary.Type type) Sets type.Methods inherited from class com.priint.pubserver.comet.entity.CometEntity
checkMinimalConstraints, entityEquals, equals, getEntityDescription, getEntityLabel, getId, getReferenceConstraints, getRepositoryFilename, getRepositoryPath, hashCode, initDefaultValues, initDefaultValues, setIdMethods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
Constructor Details
-
CometBinary
public CometBinary()Instantiates a new Comet binary. -
CometBinary
public CometBinary(byte[] data) Instantiates a new Comet binary.- Parameters:
data- the data
-
CometBinary
Instantiates a new Comet binary.- Parameters:
id- the idtimestamp- the timestampdata- the datatype- the type
-
-
Method Details
-
getData
public byte[] getData()Get data byte [ ].- Returns:
- the byte [ ]
-
getType
Gets type.- Returns:
- the type
-
setData
public void setData(byte[] data) Sets data.- Parameters:
data- the data
-
setType
Sets type.- Parameters:
type- the type
-