Class CancellationEventModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.warehousing.model.InventoryEventModel
-
- de.hybris.platform.warehousing.model.CancellationEventModel
-
- All Implemented Interfaces:
java.io.Serializable
public class CancellationEventModel extends InventoryEventModel
Generated model class for type CancellationEvent first defined at extension warehousing.A cancellation inventory event.
- 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.StringREASONGenerated constant - Attribute key ofCancellationEvent.reasonattribute defined at extensionwarehousing.-
Fields inherited from class de.hybris.platform.warehousing.model.InventoryEventModel
_CONSIGNMENTENTRY2INVENTORYEVENTRELATION, _ORDERENTRY2INVENTORYEVENTRELATION, _STOCKLEVEL2INVENTORYEVENTRELATION, CONSIGNMENTENTRY, EVENTDATE, ORDERENTRY, QUANTITY, STOCKLEVEL
-
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 CancellationEventModel()Generated constructor - Default constructor for generic creation.CancellationEventModel(ItemModel _owner, java.lang.String _reason, StockLevelModel _stockLevel)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCancellationEventModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextCancellationEventModel(java.lang.String _reason, StockLevelModel _stockLevel)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.StringgetReason()Generated method - Getter of theCancellationEvent.reasonattribute defined at extensionwarehousing.voidsetReason(java.lang.String value)Generated method - Setter ofCancellationEvent.reasonattribute defined at extensionwarehousing.-
Methods inherited from class de.hybris.platform.warehousing.model.InventoryEventModel
getConsignmentEntry, getEventDate, getOrderEntry, getQuantity, getStockLevel, setConsignmentEntry, setEventDate, setOrderEntry, setQuantity, setStockLevel
-
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
-
REASON
public static final java.lang.String REASON
Generated constant - Attribute key ofCancellationEvent.reasonattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CancellationEventModel
public CancellationEventModel()
Generated constructor - Default constructor for generic creation.
-
CancellationEventModel
public CancellationEventModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CancellationEventModel
@Deprecated(since="4.1.1", forRemoval=true) public CancellationEventModel(java.lang.String _reason, StockLevelModel _stockLevel)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:
_reason- initial attribute declared by typeCancellationEventat extensionwarehousing_stockLevel- initial attribute declared by typeInventoryEventat extensionwarehousing
-
CancellationEventModel
@Deprecated(since="4.1.1", forRemoval=true) public CancellationEventModel(ItemModel _owner, java.lang.String _reason, StockLevelModel _stockLevel)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:
_owner- initial attribute declared by typeItemat extensioncore_reason- initial attribute declared by typeCancellationEventat extensionwarehousing_stockLevel- initial attribute declared by typeInventoryEventat extensionwarehousing
-
-