Class PreviewTicketModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class PreviewTicketModel
    extends ItemModel
    Generated model class for type PreviewTicket first defined at extension catalog.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • PREVIEWCATALOGVERSION

        public static final java.lang.String PREVIEWCATALOGVERSION
        Generated constant - Attribute key of PreviewTicket.previewCatalogVersion attribute defined at extension catalog.
        See Also:
        Constant Field Values
      • VALIDTO

        public static final java.lang.String VALIDTO
        Generated constant - Attribute key of PreviewTicket.validTo attribute defined at extension catalog.
        See Also:
        Constant Field Values
      • CREATEDBY

        public static final java.lang.String CREATEDBY
        Generated constant - Attribute key of PreviewTicket.createdBy attribute defined at extension catalog.
        See Also:
        Constant Field Values
      • TICKETCODE

        public static final java.lang.String TICKETCODE
        Generated constant - Attribute key of PreviewTicket.ticketCode attribute defined at extension catalog.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PreviewTicketModel

        public PreviewTicketModel()
        Generated constructor - Default constructor for generic creation.
      • PreviewTicketModel

        public PreviewTicketModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • PreviewTicketModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PreviewTicketModel​(UserModel _createdBy,
                                  CatalogVersionModel _previewCatalogVersion,
                                  java.util.Date _validTo)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _createdBy - initial attribute declared by type PreviewTicket at extension catalog
        _previewCatalogVersion - initial attribute declared by type PreviewTicket at extension catalog
        _validTo - initial attribute declared by type PreviewTicket at extension catalog
      • PreviewTicketModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PreviewTicketModel​(UserModel _createdBy,
                                  ItemModel _owner,
                                  CatalogVersionModel _previewCatalogVersion,
                                  java.util.Date _validTo)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _createdBy - initial attribute declared by type PreviewTicket at extension catalog
        _owner - initial attribute declared by type Item at extension core
        _previewCatalogVersion - initial attribute declared by type PreviewTicket at extension catalog
        _validTo - initial attribute declared by type PreviewTicket at extension catalog
    • Method Detail

      • getCreatedBy

        @Accessor(qualifier="createdBy",
                  type=GETTER)
        public UserModel getCreatedBy()
        Generated method - Getter of the PreviewTicket.createdBy attribute defined at extension catalog.
        Returns:
        the createdBy
      • getPreviewCatalogVersion

        @Accessor(qualifier="previewCatalogVersion",
                  type=GETTER)
        public CatalogVersionModel getPreviewCatalogVersion()
        Generated method - Getter of the PreviewTicket.previewCatalogVersion attribute defined at extension catalog.
        Returns:
        the previewCatalogVersion
      • getTicketCode

        @Accessor(qualifier="ticketCode",
                  type=GETTER)
        public java.lang.String getTicketCode()
        Generated method - Getter of the PreviewTicket.ticketCode dynamic attribute defined at extension catalog.
        Returns:
        the ticketCode
      • getValidTo

        @Accessor(qualifier="validTo",
                  type=GETTER)
        public java.util.Date getValidTo()
        Generated method - Getter of the PreviewTicket.validTo attribute defined at extension catalog.
        Returns:
        the validTo
      • setCreatedBy

        @Accessor(qualifier="createdBy",
                  type=SETTER)
        public void setCreatedBy​(UserModel value)
        Generated method - Initial setter of PreviewTicket.createdBy attribute defined at extension catalog. Can only be used at creation of model - before first save.
        Parameters:
        value - the createdBy
      • setPreviewCatalogVersion

        @Accessor(qualifier="previewCatalogVersion",
                  type=SETTER)
        public void setPreviewCatalogVersion​(CatalogVersionModel value)
        Generated method - Initial setter of PreviewTicket.previewCatalogVersion attribute defined at extension catalog. Can only be used at creation of model - before first save.
        Parameters:
        value - the previewCatalogVersion
      • setValidTo

        @Accessor(qualifier="validTo",
                  type=SETTER)
        public void setValidTo​(java.util.Date value)
        Generated method - Setter of PreviewTicket.validTo attribute defined at extension catalog.
        Parameters:
        value - the validTo