Class Wishlist2Model

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _USER2WISHLIST2

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

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

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

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

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

      public static final String ENTRIES
      Generated constant - Attribute key of Wishlist2.entries attribute defined at extension wishlist.
      See Also:
  • Constructor Details

    • 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(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(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 Details

    • getDefault

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

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

      @Accessor(qualifier="entries", type=GETTER) public 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 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(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(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(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(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