Class DataFile
java.lang.Object
com.priint.pubserver.tagging.TaggingObject
com.priint.pubserver.comet.bridge.Comet3Entity
com.priint.pubserver.comet3.entity.DataFile
- All Implemented Interfaces:
Serializable
Java Interface for datafile complex type. For internal use only
The following schema fragment specifies the expected content contained within this class.
<complexType name="datafile">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
<element name="path" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
<element name="alias" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
<element name="enabled" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T> -
Field Summary
Fields inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
id, timestampFields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyValuesTo(CometSetting item) Apply values to.booleanentityEquals(CometSetting setting) Entity equals boolean.booleanentityEquals(Object other) Entity equals boolean.getAlias()Gets alias.Gets description.Gets enabled.intgetId()Gets id.getPath()Gets path.voidSets alias.voidsetDescription(String description) Sets description.voidsetEnabled(Integer enabled) Sets enabled.voidsetId(int id) Sets id.voidSets path.Methods inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
entityEquals, getLastModificationTimestamp, info, postprocess, setLastModificationTimestampMethods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
Constructor Details
-
DataFile
public DataFile()Instantiates a new Data file. -
DataFile
public DataFile(int id, long timestamp, String path, String alias, String description, Integer enabled) Instantiates a new Data file.- Parameters:
id- the idtimestamp- the timestamppath- the pathalias- the aliasdescription- the descriptionenabled- the enabled
-
DataFile
Instantiates a new Data file.- Parameters:
item- the item
-
DataFile
public DataFile(int id) Instantiates a new Data file.- Parameters:
id- the id
-
-
Method Details
-
getPath
Gets path.- Returns:
- the path
-
setPath
Sets path.- Parameters:
path- the path
-
getAlias
Gets alias.- Returns:
- the alias
-
setAlias
Sets alias.- Parameters:
alias- the alias
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description- the description
-
getEnabled
Gets enabled.- Returns:
- the enabled
-
setEnabled
Sets enabled.- Parameters:
enabled- the enabled
-
getId
public int getId()Description copied from class:Comet3EntityGets id.- Overrides:
getIdin classComet3Entity- Returns:
- the id
-
setId
public void setId(int id) Description copied from class:Comet3EntitySets id.- Overrides:
setIdin classComet3Entity- Parameters:
id- the id
-
entityEquals
Description copied from class:Comet3EntityEntity equals boolean.- Overrides:
entityEqualsin classComet3Entity- Parameters:
other- the other- Returns:
- the boolean
-
entityEquals
Entity equals boolean.- Parameters:
setting- the setting- Returns:
- the boolean
-
applyValuesTo
Apply values to.- Parameters:
item- the item
-