Class DataFile

All Implemented Interfaces:
Serializable

public class DataFile extends Comet3Entity

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:
  • 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 id
      timestamp - the timestamp
      path - the path
      alias - the alias
      description - the description
      enabled - the enabled
    • DataFile

      public DataFile(CometSetting item)
      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

      public String getPath()
      Gets path.
      Returns:
      the path
    • setPath

      public void setPath(String path)
      Sets path.
      Parameters:
      path - the path
    • getAlias

      public String getAlias()
      Gets alias.
      Returns:
      the alias
    • setAlias

      public void setAlias(String alias)
      Sets alias.
      Parameters:
      alias - the alias
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets description.
      Parameters:
      description - the description
    • getEnabled

      public Integer getEnabled()
      Gets enabled.
      Returns:
      the enabled
    • setEnabled

      public void setEnabled(Integer enabled)
      Sets enabled.
      Parameters:
      enabled - the enabled
    • getId

      public int getId()
      Description copied from class: Comet3Entity
      Gets id.
      Overrides:
      getId in class Comet3Entity
      Returns:
      the id
    • setId

      public void setId(int id)
      Description copied from class: Comet3Entity
      Sets id.
      Overrides:
      setId in class Comet3Entity
      Parameters:
      id - the id
    • entityEquals

      public boolean entityEquals(Object other)
      Description copied from class: Comet3Entity
      Entity equals boolean.
      Overrides:
      entityEquals in class Comet3Entity
      Parameters:
      other - the other
      Returns:
      the boolean
    • entityEquals

      public boolean entityEquals(CometSetting setting)
      Entity equals boolean.
      Parameters:
      setting - the setting
      Returns:
      the boolean
    • applyValuesTo

      public void applyValuesTo(CometSetting item)
      Apply values to.
      Parameters:
      item - the item