java.lang.Object
com.priint.pubserver.comet.bridge.entitydata.Comet3EntityData
com.priint.pubserver.comet.bridge.entitydata.Preview
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ImagePreview, SnippetPreview, TextPreview

public abstract class Preview extends Comet3EntityData
Java class for the Comet3 Preview type. The Preview class is abstract, use one of the concrete implementations
  • TextPreview for text alternatives
  • ImagePreview for image alternatives
  • SnippetPreview for snippets
of a associated product.
See Also:
  • Constructor Details

    • Preview

      public Preview()
  • Method Details

    • fromCode

      public static Preview.ButtonState fromCode(int code)
      From code button state.
      Parameters:
      code - the code
      Returns:
      the button state
    • getAttributes

      public Comet3Attribute[] getAttributes()
      Description copied from class: Comet3EntityData
      Get attributes comet 3 attribute [ ].
      Specified by:
      getAttributes in class Comet3EntityData
      Returns:
      the comet 3 attribute [ ]
    • getId

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

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

      public int getId2()
      Gets id 2.
      Returns:
      the id 2
    • setId2

      public void setId2(int id2)
      Sets id 2.
      Parameters:
      id2 - the id 2
    • getId3

      public int getId3()
      Gets id 3.
      Returns:
      the id 3
    • setId3

      public void setId3(int id3)
      Sets id 3.
      Parameters:
      id3 - the id 3
    • getStringId

      public String getStringId()
      Gets string id.
      Returns:
      the string id
    • setStringId

      public void setStringId(String stringId)
      Sets string id.
      Parameters:
      stringId - the string id
    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name
    • getLinkScript

      public int getLinkScript()
      Gets link script.
      Returns:
      the link script
    • setLinkScript

      public void setLinkScript(int linkScript)
      Sets link script.
      Parameters:
      linkScript - the link script