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:
java.io.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
public class CometBinary extends CometEntity
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCometBinary.TypeThe enum Type.-
Nested classes/interfaces inherited from class com.priint.pubserver.comet.entity.CometEntity
CometEntity.Category
-
Nested 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_QUALIFIER
-
Fields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet
-
-
Constructor Summary
Constructors Constructor Description CometBinary()Instantiates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getData()Get data byte [ ].CometBinary.TypegetType()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, setId
-
Methods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
-
-
-
Constructor Detail
-
CometBinary
public CometBinary()
Instantiates a new Comet binary.
-
CometBinary
public CometBinary(byte[] data)
Instantiates a new Comet binary.- Parameters:
data- the data
-
CometBinary
public CometBinary(int id, long timestamp, byte[] data, CometBinary.Type type)Instantiates a new Comet binary.- Parameters:
id- the idtimestamp- the timestampdata- the datatype- the type
-
-
Method Detail
-
getData
public byte[] getData()
Get data byte [ ].- Returns:
- the byte [ ]
-
getType
public CometBinary.Type getType()
Gets type.- Returns:
- the type
-
setData
public void setData(byte[] data)
Sets data.- Parameters:
data- the data
-
setType
public void setType(CometBinary.Type type)
Sets type.- Parameters:
type- the type
-
-