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:
Serializable
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe type Placeholder.static classThe type Placeholders.static classThe type Spread.static classThe 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, timestampFields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet -
Constructor Summary
ConstructorsConstructorDescriptionGrid()Instantiates a new Grid.Grid(int id) Instantiates a new Grid.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.Instantiates a new Grid. -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyValuesTo(CometEntity item) Apply values to.booleanentityEquals(CometEntity item) Entity equals boolean.Gets description.Gets domain.intgetId()Gets id.getKind()Gets kind.Gets masterdoc id.getName()Gets name.Gets placeholders.Gets preview.Gets spread.getType()Gets type.getXpos()Gets xpos.getXsize()Gets xsize.getYpos()Gets ypos.getYsize()Gets ysize.voidsetDescription(String description) Sets description.voidsetDomain(Common.Domain domain) Sets domain.voidsetId(int id) Sets id.voidsetMasterdocId(String masterdocId) Sets masterdoc id.voidSets name.voidsetPlaceholders(Grid.Placeholders placeholders) Sets placeholders.voidsetPreview(Common.Preview preview) Sets preview.voidsetSpread(Grid.Spread spread) Sets spread.voidSets type.voidSets xpos.voidSets xsize.voidSets ypos.voidSets ysize.Methods inherited from class com.priint.pubserver.comet3.entity.Template
entityEqualsMethods inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
entityEquals, getLastModificationTimestamp, info, postprocess, setLastModificationTimestampMethods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
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 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
Instantiates a new Grid.- Parameters:
item- the item
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name- the name
-
getMasterdocId
Gets masterdoc id.- Returns:
- the masterdoc id
-
setMasterdocId
Sets masterdoc id.- Parameters:
masterdocId- the masterdoc id
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description- the description
-
getXpos
Gets xpos.- Returns:
- the xpos
-
setXpos
Sets xpos.- Parameters:
xpos- the xpos
-
getYpos
Gets ypos.- Returns:
- the ypos
-
setYpos
Sets ypos.- Parameters:
ypos- the ypos
-
getXsize
Gets xsize.- Returns:
- the xsize
-
setXsize
Sets xsize.- Parameters:
xsize- the xsize
-
getYsize
Gets ysize.- Returns:
- the ysize
-
setYsize
Sets ysize.- Parameters:
ysize- the ysize
-
getPreview
Gets preview.- Returns:
- the preview
-
setPreview
Sets preview.- Parameters:
preview- the preview
-
getType
Gets type.- Returns:
- the type
-
setType
Sets type.- Parameters:
type- the type
-
getDomain
Gets domain.- Returns:
- the domain
-
setDomain
Sets domain.- Parameters:
domain- the domain
-
getSpread
Gets spread.- Returns:
- the spread
-
setSpread
Sets spread.- Parameters:
spread- the spread
-
getPlaceholders
Gets placeholders.- Returns:
- the placeholders
-
setPlaceholders
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
Description copied from class:TemplateGets kind. -
applyValuesTo
Description copied from class:TemplateApply values to.- Overrides:
applyValuesToin classTemplate- Parameters:
item- the item
-
entityEquals
Description copied from class:TemplateEntity equals boolean.- Overrides:
entityEqualsin classTemplate- Parameters:
item- the other- Returns:
- the boolean
-