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:
Serializable
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:
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsConstructorDescriptionInstantiates a new Placeholder variant.Instantiates a new Placeholder variant. -
Method Summary
Modifier and TypeMethodDescriptionvoidApply values to.static PlaceholderVariantCreate empty placeholder variant.booleanDenotes same variant boolean.booleanentityEquals(CometPlaceholderVariant variant) Entity equals boolean.booleanentityEquals(Object other) Entity equals boolean.Gets definitions.Gets description.getName()Gets name.intGets placeholder id.getUser()Gets user.voidsetDefinitions(List<PlaceholderVariant.Definition> definitions) Sets definitions.voidsetDescription(String description) Sets description.voidSets name.voidsetPlaceholderId(int placeholderId) Sets placeholder id.voidSets user.Methods inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
entityEquals, getId, getLastModificationTimestamp, info, postprocess, setId, setLastModificationTimestampMethods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
Constructor Details
-
PlaceholderVariant
public PlaceholderVariant()Instantiates a new Placeholder variant. -
PlaceholderVariant
Instantiates a new Placeholder variant.- Parameters:
src- the src
-
-
Method Details
-
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
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name- the name to set
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description- the description to set
-
getUser
Gets user.- Returns:
- the user
-
setUser
Sets user.- Parameters:
user- the user to set
-
getDefinitions
Gets definitions.- Returns:
- the definitions
-
setDefinitions
Sets definitions.- Parameters:
definitions- the definitions to set
-
entityEquals
Description copied from class:Comet3EntityEntity equals boolean.- Overrides:
entityEqualsin classComet3Entity- Parameters:
other- the other- Returns:
- the boolean
-
entityEquals
Entity equals boolean.- Parameters:
variant- the variant- Returns:
- the boolean
-
applyValuesTo
Apply values to.- Parameters:
item- the item
-
denotesSameVariant
Denotes same variant boolean.- Parameters:
other- the other- Returns:
- the boolean
-