Class StoredPunchOutSessionModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.b2b.punchout.model.StoredPunchOutSessionModel
-
- All Implemented Interfaces:
java.io.Serializable
public class StoredPunchOutSessionModel extends ItemModel
Generated model class for type StoredPunchOutSession first defined at extension b2bpunchout.- 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.StringCARTGenerated constant - Attribute key ofStoredPunchOutSession.cartattribute defined at extensionb2bpunchout.static java.lang.StringPUNCHOUTSESSIONGenerated constant - Attribute key ofStoredPunchOutSession.punchOutSessionattribute defined at extensionb2bpunchout.static java.lang.StringSIDGenerated constant - Attribute key ofStoredPunchOutSession.sidattribute defined at extensionb2bpunchout.-
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 StoredPunchOutSessionModel()Generated constructor - Default constructor for generic creation.StoredPunchOutSessionModel(CartModel _cart, ItemModel _owner, java.lang.Object _punchOutSession, java.lang.String _sid)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersStoredPunchOutSessionModel(CartModel _cart, java.lang.Object _punchOutSession, java.lang.String _sid)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersStoredPunchOutSessionModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CartModelgetCart()Generated method - Getter of theStoredPunchOutSession.cartattribute defined at extensionb2bpunchout.java.lang.ObjectgetPunchOutSession()Generated method - Getter of theStoredPunchOutSession.punchOutSessionattribute defined at extensionb2bpunchout.java.lang.StringgetSid()Generated method - Getter of theStoredPunchOutSession.sidattribute defined at extensionb2bpunchout.voidsetCart(CartModel value)Generated method - Initial setter ofStoredPunchOutSession.cartattribute defined at extensionb2bpunchout.voidsetPunchOutSession(java.lang.Object value)Generated method - Setter ofStoredPunchOutSession.punchOutSessionattribute defined at extensionb2bpunchout.voidsetSid(java.lang.String value)Generated method - Initial setter ofStoredPunchOutSession.sidattribute defined at extensionb2bpunchout.-
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
-
SID
public static final java.lang.String SID
Generated constant - Attribute key ofStoredPunchOutSession.sidattribute defined at extensionb2bpunchout.- See Also:
- Constant Field Values
-
PUNCHOUTSESSION
public static final java.lang.String PUNCHOUTSESSION
Generated constant - Attribute key ofStoredPunchOutSession.punchOutSessionattribute defined at extensionb2bpunchout.- See Also:
- Constant Field Values
-
CART
public static final java.lang.String CART
Generated constant - Attribute key ofStoredPunchOutSession.cartattribute defined at extensionb2bpunchout.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StoredPunchOutSessionModel
public StoredPunchOutSessionModel()
Generated constructor - Default constructor for generic creation.
-
StoredPunchOutSessionModel
public StoredPunchOutSessionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
StoredPunchOutSessionModel
@Deprecated(since="4.1.1", forRemoval=true) public StoredPunchOutSessionModel(CartModel _cart, java.lang.Object _punchOutSession, java.lang.String _sid)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:
_cart- initial attribute declared by typeStoredPunchOutSessionat extensionb2bpunchout_punchOutSession- initial attribute declared by typeStoredPunchOutSessionat extensionb2bpunchout_sid- initial attribute declared by typeStoredPunchOutSessionat extensionb2bpunchout
-
StoredPunchOutSessionModel
@Deprecated(since="4.1.1", forRemoval=true) public StoredPunchOutSessionModel(CartModel _cart, ItemModel _owner, java.lang.Object _punchOutSession, java.lang.String _sid)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:
_cart- initial attribute declared by typeStoredPunchOutSessionat extensionb2bpunchout_owner- initial attribute declared by typeItemat extensioncore_punchOutSession- initial attribute declared by typeStoredPunchOutSessionat extensionb2bpunchout_sid- initial attribute declared by typeStoredPunchOutSessionat extensionb2bpunchout
-
-
Method Detail
-
getCart
@Accessor(qualifier="cart", type=GETTER) public CartModel getCart()
Generated method - Getter of theStoredPunchOutSession.cartattribute defined at extensionb2bpunchout.- Returns:
- the cart
-
getPunchOutSession
@Accessor(qualifier="punchOutSession", type=GETTER) public java.lang.Object getPunchOutSession()
Generated method - Getter of theStoredPunchOutSession.punchOutSessionattribute defined at extensionb2bpunchout.- Returns:
- the punchOutSession - Should be instance of type PunchOutSession
-
getSid
@Accessor(qualifier="sid", type=GETTER) public java.lang.String getSid()
Generated method - Getter of theStoredPunchOutSession.sidattribute defined at extensionb2bpunchout.- Returns:
- the sid
-
setCart
@Accessor(qualifier="cart", type=SETTER) public void setCart(CartModel value)
Generated method - Initial setter ofStoredPunchOutSession.cartattribute defined at extensionb2bpunchout. Can only be used at creation of model - before first save.- Parameters:
value- the cart
-
setPunchOutSession
@Accessor(qualifier="punchOutSession", type=SETTER) public void setPunchOutSession(java.lang.Object value)
Generated method - Setter ofStoredPunchOutSession.punchOutSessionattribute defined at extensionb2bpunchout.- Parameters:
value- the punchOutSession - Should be instance of type PunchOutSession
-
-