Class OrderFormModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class OrderFormModel
    extends ItemModel
    Generated model class for type OrderForm first defined at extension savedorderforms.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String CODE
        Generated constant - Attribute key of OrderForm.code attribute defined at extension savedorderforms.
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Generated constant - Attribute key of OrderForm.description attribute defined at extension savedorderforms.
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Generated constant - Attribute key of OrderForm.user attribute defined at extension savedorderforms.
        See Also:
        Constant Field Values
      • ENTRIES

        public static final java.lang.String ENTRIES
        Generated constant - Attribute key of OrderForm.entries attribute defined at extension savedorderforms.
        See Also:
        Constant Field Values
      • CURRENCY

        public static final java.lang.String CURRENCY
        Generated constant - Attribute key of OrderForm.currency attribute defined at extension savedorderforms.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OrderFormModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public OrderFormModel​(java.lang.String _code,
                              CurrencyModel _currency,
                              java.util.List<OrderFormEntryModel> _entries,
                              UserModel _user)
        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:
        _code - initial attribute declared by type OrderForm at extension savedorderforms
        _currency - initial attribute declared by type OrderForm at extension savedorderforms
        _entries - initial attribute declared by type OrderForm at extension savedorderforms
        _user - initial attribute declared by type OrderForm at extension savedorderforms
      • OrderFormModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public OrderFormModel​(java.lang.String _code,
                              CurrencyModel _currency,
                              java.util.List<OrderFormEntryModel> _entries,
                              ItemModel _owner,
                              UserModel _user)
        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:
        _code - initial attribute declared by type OrderForm at extension savedorderforms
        _currency - initial attribute declared by type OrderForm at extension savedorderforms
        _entries - initial attribute declared by type OrderForm at extension savedorderforms
        _owner - initial attribute declared by type Item at extension core
        _user - initial attribute declared by type OrderForm at extension savedorderforms
    • Method Detail

      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the OrderForm.code attribute defined at extension savedorderforms.
        Returns:
        the code
      • getCurrency

        @Accessor(qualifier="currency",
                  type=GETTER)
        public CurrencyModel getCurrency()
        Generated method - Getter of the OrderForm.currency attribute defined at extension savedorderforms.
        Returns:
        the currency
      • getDescription

        @Accessor(qualifier="description",
                  type=GETTER)
        public java.lang.String getDescription()
        Generated method - Getter of the OrderForm.description attribute defined at extension savedorderforms.
        Returns:
        the description
      • getEntries

        @Accessor(qualifier="entries",
                  type=GETTER)
        public java.util.List<OrderFormEntryModel> getEntries()
        Generated method - Getter of the OrderForm.entries attribute defined at extension savedorderforms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the entries
      • getUser

        @Accessor(qualifier="user",
                  type=GETTER)
        public UserModel getUser()
        Generated method - Getter of the OrderForm.user attribute defined at extension savedorderforms.
        Returns:
        the user
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Setter of OrderForm.code attribute defined at extension savedorderforms.
        Parameters:
        value - the code
      • setCurrency

        @Accessor(qualifier="currency",
                  type=SETTER)
        public void setCurrency​(CurrencyModel value)
        Generated method - Setter of OrderForm.currency attribute defined at extension savedorderforms.
        Parameters:
        value - the currency
      • setDescription

        @Accessor(qualifier="description",
                  type=SETTER)
        public void setDescription​(java.lang.String value)
        Generated method - Setter of OrderForm.description attribute defined at extension savedorderforms.
        Parameters:
        value - the description
      • setEntries

        @Accessor(qualifier="entries",
                  type=SETTER)
        public void setEntries​(java.util.List<OrderFormEntryModel> value)
        Generated method - Setter of OrderForm.entries attribute defined at extension savedorderforms.
        Parameters:
        value - the entries
      • setUser

        @Accessor(qualifier="user",
                  type=SETTER)
        public void setUser​(UserModel value)
        Generated method - Setter of OrderForm.user attribute defined at extension savedorderforms.
        Parameters:
        value - the user