Class 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
    • 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
      • 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: Comet3Entity
        Entity equals boolean.
        Overrides:
        entityEquals in class Comet3Entity
        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