Class Preview

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • Preview

        public Preview()
    • Method Detail

      • fromCode

        public static Preview.ButtonState fromCode​(int code)
        From code button state.
        Parameters:
        code - the code
        Returns:
        the button state
      • 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 java.lang.String getStringId()
        Gets string id.
        Returns:
        the string id
      • setStringId

        public void setStringId​(java.lang.String stringId)
        Sets string id.
        Parameters:
        stringId - the string id
      • 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
      • 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