Class DataFile

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • DataFile

        public DataFile()
        Instantiates a new Data file.
      • DataFile

        public DataFile​(int id,
                        long timestamp,
                        java.lang.String path,
                        java.lang.String alias,
                        java.lang.String description,
                        java.lang.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 Detail

      • getPath

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

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

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

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

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

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

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

        public void setEnabled​(java.lang.Integer enabled)
        Sets enabled.
        Parameters:
        enabled - the enabled
      • 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​(java.lang.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