Class Grid

  • All Implemented Interfaces:
    java.io.Serializable

    public class Grid
    extends Template

    Java class for grid complex type. For internal use only

    The following schema fragments specify the expected content contained within this class.

     <complexType name="type">
       <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="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
             <element name="direction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
    
     <complexType name="placeholders">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="placeholder" type="{http://comet.priint.com/configuration/entities/grid}placeholder" minOccurs="0" maxOccurs="unbounded"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
    
     <complexType name="placeholder">
       <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="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
             <element name="xpos" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
             <element name="ypos" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
             <element name="xsize" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
             <element name="ysize" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
    
     <complexType name="grid">
       <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="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
             <element name="masterdocid" 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="xpos" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
             <element name="ypos" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
             <element name="xsize" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
             <element name="ysize" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
             <element name="preview" type="{http://comet.priint.com/configuration/entities/common}preview" minOccurs="1"/>
             <element name="type" type="{http://comet.priint.com/configuration/entities/grid}type" minOccurs="1"/>
             <element name="domain" type="{http://comet.priint.com/configuration/entities/common}domain" minOccurs="1"/>
             <element name="spread" type="{http://comet.priint.com/configuration/entities/common}spread" minOccurs="1"/>
             <element name="placeholders" type="{http://comet.priint.com/configuration/entities/grid}placeholders" minOccurs="1"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • Grid

        public Grid()
        Instantiates a new Grid.
      • Grid

        public Grid​(int id)
        Instantiates a new Grid.
        Parameters:
        id - the id
      • Grid

        public Grid​(int id,
                    long timestamp,
                    java.lang.String name,
                    java.lang.String masterdocId,
                    java.lang.String description,
                    java.lang.Double xpos,
                    java.lang.Double ypos,
                    java.lang.Double xsize,
                    java.lang.Double ysize,
                    Common.Preview preview,
                    Grid.Type type,
                    Common.Domain domain,
                    Grid.Spread spread,
                    Grid.Placeholders placeholders)
        Instantiates a new Grid.
        Parameters:
        id - the id
        timestamp - the timestamp
        name - the name
        masterdocId - the masterdoc id
        description - the description
        xpos - the xpos
        ypos - the ypos
        xsize - the xsize
        ysize - the ysize
        preview - the preview
        type - the type
        domain - the domain
        spread - the spread
        placeholders - the placeholders
      • Grid

        public Grid​(CometGrid item)
        Instantiates a new Grid.
        Parameters:
        item - the item
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets name.
        Returns:
        the name
      • setName

        public void setName​(java.lang.String name)
        Sets name.
        Parameters:
        name - the name
      • getMasterdocId

        public java.lang.String getMasterdocId()
        Gets masterdoc id.
        Returns:
        the masterdoc id
      • setMasterdocId

        public void setMasterdocId​(java.lang.String masterdocId)
        Sets masterdoc id.
        Parameters:
        masterdocId - the masterdoc id
      • 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
      • getXpos

        public java.lang.Double getXpos()
        Gets xpos.
        Returns:
        the xpos
      • setXpos

        public void setXpos​(java.lang.Double xpos)
        Sets xpos.
        Parameters:
        xpos - the xpos
      • getYpos

        public java.lang.Double getYpos()
        Gets ypos.
        Returns:
        the ypos
      • setYpos

        public void setYpos​(java.lang.Double ypos)
        Sets ypos.
        Parameters:
        ypos - the ypos
      • getXsize

        public java.lang.Double getXsize()
        Gets xsize.
        Returns:
        the xsize
      • setXsize

        public void setXsize​(java.lang.Double xsize)
        Sets xsize.
        Parameters:
        xsize - the xsize
      • getYsize

        public java.lang.Double getYsize()
        Gets ysize.
        Returns:
        the ysize
      • setYsize

        public void setYsize​(java.lang.Double ysize)
        Sets ysize.
        Parameters:
        ysize - the ysize
      • getPreview

        public Common.Preview getPreview()
        Gets preview.
        Returns:
        the preview
      • setPreview

        public void setPreview​(Common.Preview preview)
        Sets preview.
        Parameters:
        preview - the preview
      • getType

        public Grid.Type getType()
        Gets type.
        Returns:
        the type
      • setType

        public void setType​(Grid.Type type)
        Sets type.
        Parameters:
        type - the type
      • getDomain

        public Common.Domain getDomain()
        Gets domain.
        Returns:
        the domain
      • setDomain

        public void setDomain​(Common.Domain domain)
        Sets domain.
        Parameters:
        domain - the domain
      • getSpread

        public Grid.Spread getSpread()
        Gets spread.
        Returns:
        the spread
      • setSpread

        public void setSpread​(Grid.Spread spread)
        Sets spread.
        Parameters:
        spread - the spread
      • getPlaceholders

        public Grid.Placeholders getPlaceholders()
        Gets placeholders.
        Returns:
        the placeholders
      • setPlaceholders

        public void setPlaceholders​(Grid.Placeholders placeholders)
        Sets placeholders.
        Parameters:
        placeholders - the placeholders
      • setId

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

        public java.lang.String getKind()
        Description copied from class: Template
        Gets kind.
        Overrides:
        getKind in class Template
        Returns:
        the kind
      • entityEquals

        public boolean entityEquals​(CometEntity item)
        Description copied from class: Template
        Entity equals boolean.
        Overrides:
        entityEquals in class Template
        Parameters:
        item - the other
        Returns:
        the boolean