Class Grid
- java.lang.Object
-
- com.priint.pubserver.tagging.TaggingObject
-
- com.priint.pubserver.comet.bridge.Comet3Entity
-
- com.priint.pubserver.comet3.entity.Template
-
- com.priint.pubserver.comet3.entity.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGrid.PlaceholderThe type Placeholder.static classGrid.PlaceholdersThe type Placeholders.static classGrid.SpreadThe type Spread.static classGrid.TypeThe type Type.-
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, timestamp
-
Fields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet
-
-
Constructor Summary
Constructors Constructor Description Grid()Instantiates a new Grid.Grid(int id)Instantiates a new Grid.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.Grid(CometGrid item)Instantiates a new Grid.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyValuesTo(CometEntity item)Apply values to.booleanentityEquals(CometEntity item)Entity equals boolean.java.lang.StringgetDescription()Gets description.Common.DomaingetDomain()Gets domain.intgetId()Gets id.java.lang.StringgetKind()Gets kind.java.lang.StringgetMasterdocId()Gets masterdoc id.java.lang.StringgetName()Gets name.Grid.PlaceholdersgetPlaceholders()Gets placeholders.Common.PreviewgetPreview()Gets preview.Grid.SpreadgetSpread()Gets spread.Grid.TypegetType()Gets type.java.lang.DoublegetXpos()Gets xpos.java.lang.DoublegetXsize()Gets xsize.java.lang.DoublegetYpos()Gets ypos.java.lang.DoublegetYsize()Gets ysize.voidsetDescription(java.lang.String description)Sets description.voidsetDomain(Common.Domain domain)Sets domain.voidsetId(int id)Sets id.voidsetMasterdocId(java.lang.String masterdocId)Sets masterdoc id.voidsetName(java.lang.String name)Sets name.voidsetPlaceholders(Grid.Placeholders placeholders)Sets placeholders.voidsetPreview(Common.Preview preview)Sets preview.voidsetSpread(Grid.Spread spread)Sets spread.voidsetType(Grid.Type type)Sets type.voidsetXpos(java.lang.Double xpos)Sets xpos.voidsetXsize(java.lang.Double xsize)Sets xsize.voidsetYpos(java.lang.Double ypos)Sets ypos.voidsetYsize(java.lang.Double ysize)Sets ysize.-
Methods inherited from class com.priint.pubserver.comet3.entity.Template
entityEquals
-
Methods inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
entityEquals, getLastModificationTimestamp, info, postprocess, setLastModificationTimestamp
-
Methods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
-
-
-
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 idtimestamp- the timestampname- the namemasterdocId- the masterdoc iddescription- the descriptionxpos- the xposypos- the yposxsize- the xsizeysize- the ysizepreview- the previewtype- the typedomain- the domainspread- the spreadplaceholders- 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
-
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
-
getKind
public java.lang.String getKind()
Description copied from class:TemplateGets kind.
-
applyValuesTo
public void applyValuesTo(CometEntity item)
Description copied from class:TemplateApply values to.- Overrides:
applyValuesToin classTemplate- Parameters:
item- the item
-
entityEquals
public boolean entityEquals(CometEntity item)
Description copied from class:TemplateEntity equals boolean.- Overrides:
entityEqualsin classTemplate- Parameters:
item- the other- Returns:
- the boolean
-
-