Class PlaceholderVariant
- java.lang.Object
-
- com.priint.pubserver.tagging.TaggingObject
-
- com.priint.pubserver.comet.bridge.Comet3Entity
-
- com.priint.pubserver.comet3.entity.PlaceholderVariant
-
- All Implemented Interfaces:
java.io.Serializable
public class PlaceholderVariant extends Comet3Entity
Java Interface for placeholder complex type. For internal use only
The following schema fragment specifies the expected content contained within this class.
<xs:complexType name="placeholderVariant"> <xs:complexContent> <xs:extension base="comet3Entity"> <xs:sequence> <xs:element name="placeholderID" type="xs:int"/> <xs:element name="name" type="optionalString" minOccurs="0"/> <xs:element name="description" type="optionalString" minOccurs="0"/> <xs:element name="user" type="optionalString" minOccurs="0"/> <xs:element name="definitions" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="definition" type="definition" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="comet3Entity"> <xs:complexContent> <xs:extension base="ns1:taggingObject"> <xs:sequence/> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="optionalString"> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute ref="xsi:nil"/> </xs:extension> </xs:simpleContent> </xs:complexType> <xs:complexType name="definition"> <xs:sequence/> <xs:attribute name="type" type="xs:int" use="required"/> <xs:attribute name="key" type="xs:string"/> <xs:attribute name="value" type="xs:string"/> </xs:complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlaceholderVariant.DefinitionThe type Definition.-
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 PlaceholderVariant()Instantiates a new Placeholder variant.PlaceholderVariant(CometPlaceholderVariant src)Instantiates a new Placeholder variant.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyValuesTo(CometPlaceholderVariant item)Apply values to.static PlaceholderVariantcreateEmpty()Create empty placeholder variant.booleandenotesSameVariant(CometPlaceholderVariant other)Denotes same variant boolean.booleanentityEquals(CometPlaceholderVariant variant)Entity equals boolean.booleanentityEquals(java.lang.Object other)Entity equals boolean.java.util.List<PlaceholderVariant.Definition>getDefinitions()Gets definitions.java.lang.StringgetDescription()Gets description.java.lang.StringgetName()Gets name.intgetPlaceholderId()Gets placeholder id.java.lang.StringgetUser()Gets user.voidsetDefinitions(java.util.List<PlaceholderVariant.Definition> definitions)Sets definitions.voidsetDescription(java.lang.String description)Sets description.voidsetName(java.lang.String name)Sets name.voidsetPlaceholderId(int placeholderId)Sets placeholder id.voidsetUser(java.lang.String user)Sets user.-
Methods inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
entityEquals, getId, getLastModificationTimestamp, info, postprocess, setId, setLastModificationTimestamp
-
Methods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
-
-
-
Constructor Detail
-
PlaceholderVariant
public PlaceholderVariant()
Instantiates a new Placeholder variant.
-
PlaceholderVariant
public PlaceholderVariant(CometPlaceholderVariant src)
Instantiates a new Placeholder variant.- Parameters:
src- the src
-
-
Method Detail
-
createEmpty
public static PlaceholderVariant createEmpty()
Create empty placeholder variant.- Returns:
- the placeholder variant
-
getPlaceholderId
public int getPlaceholderId()
Gets placeholder id.- Returns:
- the placeholderId
-
setPlaceholderId
public void setPlaceholderId(int placeholderId)
Sets placeholder id.- Parameters:
placeholderId- the placeholderId to set
-
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 to set
-
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 to set
-
getUser
public java.lang.String getUser()
Gets user.- Returns:
- the user
-
setUser
public void setUser(java.lang.String user)
Sets user.- Parameters:
user- the user to set
-
getDefinitions
public java.util.List<PlaceholderVariant.Definition> getDefinitions()
Gets definitions.- Returns:
- the definitions
-
setDefinitions
public void setDefinitions(java.util.List<PlaceholderVariant.Definition> definitions)
Sets definitions.- Parameters:
definitions- the definitions to set
-
entityEquals
public boolean entityEquals(java.lang.Object other)
Description copied from class:Comet3EntityEntity equals boolean.- Overrides:
entityEqualsin classComet3Entity- Parameters:
other- the other- Returns:
- the boolean
-
entityEquals
public boolean entityEquals(CometPlaceholderVariant variant)
Entity equals boolean.- Parameters:
variant- the variant- Returns:
- the boolean
-
applyValuesTo
public void applyValuesTo(CometPlaceholderVariant item)
Apply values to.- Parameters:
item- the item
-
denotesSameVariant
public boolean denotesSameVariant(CometPlaceholderVariant other)
Denotes same variant boolean.- Parameters:
other- the other- Returns:
- the boolean
-
-