All Implemented Interfaces:
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:
  • Constructor Details

    • 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, String name, String masterdocId, String description, Double xpos, Double ypos, Double xsize, 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 Details

    • getName

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

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

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

      public void setMasterdocId(String masterdocId)
      Sets masterdoc id.
      Parameters:
      masterdocId - the masterdoc id
    • getDescription

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

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

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

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

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

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

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

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

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

      public void setYsize(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
    • 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
    • getKind

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

      public void applyValuesTo(CometEntity item)
      Description copied from class: Template
      Apply values to.
      Overrides:
      applyValuesTo in class Template
      Parameters:
      item - the item
    • 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