Class Wishlist2Model
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.wishlist2.model.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.String_USER2WISHLIST2Generated relation code constant for relationUser2Wishlist2defining source attributeuserin extensionwishlist.static java.lang.StringDEFAULTGenerated constant - Attribute key ofWishlist2.defaultattribute defined at extensionwishlist.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofWishlist2.descriptionattribute defined at extensionwishlist.static java.lang.StringENTRIESGenerated constant - Attribute key ofWishlist2.entriesattribute defined at extensionwishlist.static java.lang.StringNAMEGenerated constant - Attribute key ofWishlist2.nameattribute defined at extensionwishlist.static java.lang.StringUSERGenerated constant - Attribute key ofWishlist2.userattribute defined at extensionwishlist.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description Wishlist2Model()Generated constructor - Default constructor for generic creation.Wishlist2Model(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextWishlist2Model(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 parametersWishlist2Model(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetDefault()Generated method - Getter of theWishlist2.defaultattribute defined at extensionwishlist.java.lang.StringgetDescription()Generated method - Getter of theWishlist2.descriptionattribute defined at extensionwishlist.java.util.List<Wishlist2EntryModel>getEntries()Generated method - Getter of theWishlist2.entriesattribute defined at extensionwishlist.java.lang.StringgetName()Generated method - Getter of theWishlist2.nameattribute defined at extensionwishlist.UserModelgetUser()Generated method - Getter of theWishlist2.userattribute defined at extensionwishlist.voidsetDefault(java.lang.Boolean value)Generated method - Setter ofWishlist2.defaultattribute defined at extensionwishlist.voidsetDescription(java.lang.String value)Generated method - Setter ofWishlist2.descriptionattribute defined at extensionwishlist.voidsetEntries(java.util.List<Wishlist2EntryModel> value)Generated method - Setter ofWishlist2.entriesattribute defined at extensionwishlist.voidsetName(java.lang.String value)Generated method - Setter ofWishlist2.nameattribute defined at extensionwishlist.voidsetUser(UserModel value)Generated method - Setter ofWishlist2.userattribute defined at extensionwishlist.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
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 relationUser2Wishlist2defining source attributeuserin extensionwishlist.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofWishlist2.nameattribute defined at extensionwishlist.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofWishlist2.descriptionattribute defined at extensionwishlist.- See Also:
- Constant Field Values
-
DEFAULT
public static final java.lang.String DEFAULT
Generated constant - Attribute key ofWishlist2.defaultattribute defined at extensionwishlist.- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
Generated constant - Attribute key ofWishlist2.userattribute defined at extensionwishlist.- See Also:
- Constant Field Values
-
ENTRIES
public static final java.lang.String ENTRIES
Generated constant - Attribute key ofWishlist2.entriesattribute defined at extensionwishlist.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_name- initial attribute declared by typeWishlist2at extensionwishlist
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_name- initial attribute declared by typeWishlist2at extensionwishlist_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getDefault
@Accessor(qualifier="default", type=GETTER) public java.lang.Boolean getDefault()
Generated method - Getter of theWishlist2.defaultattribute defined at extensionwishlist.- Returns:
- the default
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theWishlist2.descriptionattribute defined at extensionwishlist.- Returns:
- the description
-
getEntries
@Accessor(qualifier="entries", type=GETTER) public java.util.List<Wishlist2EntryModel> getEntries()
Generated method - Getter of theWishlist2.entriesattribute defined at extensionwishlist. 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 theWishlist2.nameattribute defined at extensionwishlist.- Returns:
- the name
-
getUser
@Accessor(qualifier="user", type=GETTER) public UserModel getUser()
Generated method - Getter of theWishlist2.userattribute defined at extensionwishlist.- Returns:
- the user
-
setDefault
@Accessor(qualifier="default", type=SETTER) public void setDefault(java.lang.Boolean value)
Generated method - Setter ofWishlist2.defaultattribute defined at extensionwishlist.- Parameters:
value- the default
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofWishlist2.descriptionattribute defined at extensionwishlist.- Parameters:
value- the description
-
setEntries
@Accessor(qualifier="entries", type=SETTER) public void setEntries(java.util.List<Wishlist2EntryModel> value)
Generated method - Setter ofWishlist2.entriesattribute defined at extensionwishlist.- Parameters:
value- the entries
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofWishlist2.nameattribute defined at extensionwishlist.- Parameters:
value- the name
-
-