Class Wishlist2Model

  • All Implemented Interfaces:
    java.io.Serializable

    public class Wishlist2Model
    extends ItemModel
    Generated model class for type Wishlist2 first defined at extension wishlist.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String _USER2WISHLIST2
        Generated relation code constant for relation User2Wishlist2 defining source attribute user in extension wishlist.
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Generated constant - Attribute key of Wishlist2.name attribute defined at extension wishlist.
        See Also:
        Constant Field Values
      • DESCRIPTION

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

        public static final java.lang.String DEFAULT
        Generated constant - Attribute key of Wishlist2.default attribute defined at extension wishlist.
        See Also:
        Constant Field Values
      • USER

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

        public static final java.lang.String ENTRIES
        Generated constant - Attribute key of Wishlist2.entries attribute defined at extension wishlist.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Wishlist2Model

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public Wishlist2Model​(java.lang.String _name)
        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:
        _name - initial attribute declared by type Wishlist2 at extension wishlist
      • Wishlist2Model

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public Wishlist2Model​(java.lang.String _name,
                              ItemModel _owner)
        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:
        _name - initial attribute declared by type Wishlist2 at extension wishlist
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getDefault

        @Accessor(qualifier="default",
                  type=GETTER)
        public java.lang.Boolean getDefault()
        Generated method - Getter of the Wishlist2.default attribute defined at extension wishlist.
        Returns:
        the default
      • getDescription

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

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

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName()
        Generated method - Getter of the Wishlist2.name attribute defined at extension wishlist.
        Returns:
        the name
      • getUser

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

        @Accessor(qualifier="default",
                  type=SETTER)
        public void setDefault​(java.lang.Boolean value)
        Generated method - Setter of Wishlist2.default attribute defined at extension wishlist.
        Parameters:
        value - the default
      • setDescription

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

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

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value)
        Generated method - Setter of Wishlist2.name attribute defined at extension wishlist.
        Parameters:
        value - the name
      • setUser

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