Class Parameter

  • All Implemented Interfaces:
    java.io.Serializable

    public class Parameter
    extends Comet3EntityData
    Java class for the Comet3 Parameter type.
    This type is used for e.g. table select scripts.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Parameter.ParameterAttribute
      Attributes for the Comet3 Parameter type.
      CAUTION! Do not change the order of these attributes or add or remove attributes, otherwise the InDesign Comet Plug-Ins and other clients will misinterpret the data sent from the Publishing Server.
      static class  Parameter.ParameterType
      The enum Parameter type.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BUCKETREF
      The constant BUCKETREF.
      static java.lang.String CHECKOBOX
      The constant CHECKOBOX.
      static java.lang.String COMBOBOX
      The constant COMBOBOX.
      static java.lang.String CORDREF
      The constant CORDREF.
      static java.lang.String KEYVALUEREF
      The constant KEYVALUEREF.
      static java.lang.String MEDIAASSETREF
      The constant MEDIAASSETREF.
      static java.lang.String PRICEREF
      The constant PRICEREF.
      static java.lang.String TEXTFIELD
      The constant TEXTFIELD.
      static java.lang.String TEXTREF
      The constant TEXTREF.
      static java.lang.String TYPE_KEY
      The constant TYPE_KEY.
    • Constructor Summary

      Constructors 
      Constructor Description
      Parameter()  
    • Field Detail

      • TYPE_KEY

        public static final java.lang.String TYPE_KEY
        The constant TYPE_KEY.
        See Also:
        Constant Field Values
      • TEXTFIELD

        public static final java.lang.String TEXTFIELD
        The constant TEXTFIELD.
        See Also:
        Constant Field Values
      • COMBOBOX

        public static final java.lang.String COMBOBOX
        The constant COMBOBOX.
        See Also:
        Constant Field Values
      • CHECKOBOX

        public static final java.lang.String CHECKOBOX
        The constant CHECKOBOX.
        See Also:
        Constant Field Values
      • BUCKETREF

        public static final java.lang.String BUCKETREF
        The constant BUCKETREF.
        See Also:
        Constant Field Values
      • CORDREF

        public static final java.lang.String CORDREF
        The constant CORDREF.
        See Also:
        Constant Field Values
      • TEXTREF

        public static final java.lang.String TEXTREF
        The constant TEXTREF.
        See Also:
        Constant Field Values
      • MEDIAASSETREF

        public static final java.lang.String MEDIAASSETREF
        The constant MEDIAASSETREF.
        See Also:
        Constant Field Values
      • PRICEREF

        public static final java.lang.String PRICEREF
        The constant PRICEREF.
        See Also:
        Constant Field Values
      • KEYVALUEREF

        public static final java.lang.String KEYVALUEREF
        The constant KEYVALUEREF.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Parameter

        public Parameter()
    • Method Detail

      • getId

        public int getId()
        Gets id.
        Returns:
        the id
      • setId

        public void setId​(int id)
        Sets id.
        Parameters:
        id - the id
      • getIdentifier

        public java.lang.String getIdentifier()
        Gets identifier.
        Returns:
        the identifier
      • setIdentifier

        public void setIdentifier​(java.lang.String value)
        Sets identifier.
        Parameters:
        value - the value
      • getLabel

        public java.lang.String getLabel()
        Gets label.
        Returns:
        the label
      • setLabel

        public void setLabel​(java.lang.String label)
        Sets label.
        Parameters:
        label - the label
      • getType

        public int getType()
        Gets type.
        Returns:
        the type
      • setType

        public void setType​(int type)
        Sets type.
        Parameters:
        type - the type
      • getValue1

        public java.lang.String getValue1()
        Gets value 1.
        Returns:
        the value 1
      • setValue1

        public void setValue1​(java.lang.String value1)
        Sets value 1.
        Parameters:
        value1 - the value 1
      • getValue2

        public java.lang.String getValue2()
        Gets value 2.
        Returns:
        the value 2
      • setValue2

        public void setValue2​(java.lang.String value2)
        Sets value 2.
        Parameters:
        value2 - the value 2
      • getValue3

        public java.lang.String getValue3()
        Gets value 3.
        Returns:
        the value 3
      • setValue3

        public void setValue3​(java.lang.String value3)
        Sets value 3.
        Parameters:
        value3 - the value 3
      • getFieldCount

        public int getFieldCount()
        Gets field count.
        Returns:
        the field count
      • setFieldCount

        public void setFieldCount​(int fieldCount)
        Sets field count.
        Parameters:
        fieldCount - the field count
      • setContent

        public void setContent​(java.lang.String content)
        Description copied from class: Comet3EntityData
        Sets content.
        Specified by:
        setContent in class Comet3EntityData
        Parameters:
        content - the content
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object