Package de.hybris.platform.b2b.model
Class B2BOrderThresholdPermissionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2b.model.B2BPermissionModel
de.hybris.platform.b2b.model.B2BOrderThresholdPermissionModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
B2BOrderThresholdTimespanPermissionModel
Generated model class for type B2BOrderThresholdPermission first defined at extension b2bapprovalprocess.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofB2BOrderThresholdPermission.currencyattribute defined at extensionb2bapprovalprocess.static final StringGenerated constant - Attribute key ofB2BOrderThresholdPermission.thresholdattribute defined at extensionb2bapprovalprocess.Fields inherited from class de.hybris.platform.b2b.model.B2BPermissionModel
_B2BCUSTOMER2B2BPERMISSIONS, _B2BUNIT2B2BPERMISSIONS, _B2BUSERGROUPS2B2BPERMISSIONS, ACTIVE, CODE, CUSTOMERS, MESSAGE, UNIT, UNITPOS, USERGROUPSFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.B2BOrderThresholdPermissionModel(B2BUnitModel _Unit, String _code, CurrencyModel _currency, ItemModel _owner, Double _threshold) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersB2BOrderThresholdPermissionModel(B2BUnitModel _Unit, String _code, CurrencyModel _currency, Double _threshold) 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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theB2BOrderThresholdPermission.currencyattribute defined at extensionb2bapprovalprocess.Generated method - Getter of theB2BOrderThresholdPermission.thresholdattribute defined at extensionb2bapprovalprocess.voidsetCurrency(CurrencyModel value) Generated method - Setter ofB2BOrderThresholdPermission.currencyattribute defined at extensionb2bapprovalprocess.voidsetThreshold(Double value) Generated method - Setter ofB2BOrderThresholdPermission.thresholdattribute defined at extensionb2bapprovalprocess.Methods inherited from class de.hybris.platform.b2b.model.B2BPermissionModel
getActive, getCode, getCustomers, getMessage, getMessage, getUnit, getUserGroups, setActive, setCode, setCustomers, setMessage, setMessage, setUnit, setUserGroupsMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
THRESHOLD
Generated constant - Attribute key ofB2BOrderThresholdPermission.thresholdattribute defined at extensionb2bapprovalprocess.- See Also:
-
CURRENCY
Generated constant - Attribute key ofB2BOrderThresholdPermission.currencyattribute defined at extensionb2bapprovalprocess.- See Also:
-
-
Constructor Details
-
B2BOrderThresholdPermissionModel
public B2BOrderThresholdPermissionModel()Generated constructor - Default constructor for generic creation. -
B2BOrderThresholdPermissionModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
B2BOrderThresholdPermissionModel
@Deprecated(since="4.1.1", forRemoval=true) public B2BOrderThresholdPermissionModel(B2BUnitModel _Unit, String _code, CurrencyModel _currency, Double _threshold) 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:
_Unit- initial attribute declared by typeB2BPermissionat extensionb2bapprovalprocess_code- initial attribute declared by typeB2BPermissionat extensionb2bapprovalprocess_currency- initial attribute declared by typeB2BOrderThresholdPermissionat extensionb2bapprovalprocess_threshold- initial attribute declared by typeB2BOrderThresholdPermissionat extensionb2bapprovalprocess
-
B2BOrderThresholdPermissionModel
@Deprecated(since="4.1.1", forRemoval=true) public B2BOrderThresholdPermissionModel(B2BUnitModel _Unit, String _code, CurrencyModel _currency, ItemModel _owner, Double _threshold) 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:
_Unit- initial attribute declared by typeB2BPermissionat extensionb2bapprovalprocess_code- initial attribute declared by typeB2BPermissionat extensionb2bapprovalprocess_currency- initial attribute declared by typeB2BOrderThresholdPermissionat extensionb2bapprovalprocess_owner- initial attribute declared by typeItemat extensioncore_threshold- initial attribute declared by typeB2BOrderThresholdPermissionat extensionb2bapprovalprocess
-
-
Method Details
-
getCurrency
Generated method - Getter of theB2BOrderThresholdPermission.currencyattribute defined at extensionb2bapprovalprocess.- Returns:
- the currency
-
getThreshold
Generated method - Getter of theB2BOrderThresholdPermission.thresholdattribute defined at extensionb2bapprovalprocess.- Returns:
- the threshold
-
setCurrency
Generated method - Setter ofB2BOrderThresholdPermission.currencyattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the currency
-
setThreshold
Generated method - Setter ofB2BOrderThresholdPermission.thresholdattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the threshold
-