Package de.hybris.platform.b2b.model
Class B2BQuoteLimitModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2b.model.B2BQuoteLimitModel
- All Implemented Interfaces:
Serializable
Generated model class for type B2BQuoteLimit first defined at extension b2bcommerce.
- 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 relation code constant for relationB2BUnit2B2BQuoteLimitdefining source attributeUnitin extensionb2bcommerce.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofB2BQuoteLimit.amountattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BQuoteLimit.codeattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BQuoteLimit.currencyattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BQuoteLimit.Unitattribute defined at extensionb2bcommerce.Fields 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.Generated constructor - Default constructor for creation with existing contextB2BQuoteLimitModel(BigDecimal _amount, String _code, CurrencyModel _currency) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersB2BQuoteLimitModel(BigDecimal _amount, String _code, CurrencyModel _currency, 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
Modifier and TypeMethodDescriptionGenerated method - Getter of theB2BQuoteLimit.amountattribute defined at extensionb2bcommerce.getCode()Generated method - Getter of theB2BQuoteLimit.codeattribute defined at extensionb2bcommerce.Generated method - Getter of theB2BQuoteLimit.currencyattribute defined at extensionb2bcommerce.getUnit()Generated method - Getter of theB2BQuoteLimit.Unitattribute defined at extensionb2bcommerce.voidsetAmount(BigDecimal value) Generated method - Setter ofB2BQuoteLimit.amountattribute defined at extensionb2bcommerce.voidGenerated method - Setter ofB2BQuoteLimit.codeattribute defined at extensionb2bcommerce.voidsetCurrency(CurrencyModel value) Generated method - Setter ofB2BQuoteLimit.currencyattribute defined at extensionb2bcommerce.voidsetUnit(Collection<B2BUnitModel> value) Generated method - Setter ofB2BQuoteLimit.Unitattribute defined at extensionb2bcommerce.Methods 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:
-
_B2BUNIT2B2BQUOTELIMIT
Generated relation code constant for relationB2BUnit2B2BQuoteLimitdefining source attributeUnitin extensionb2bcommerce.- See Also:
-
CODE
Generated constant - Attribute key ofB2BQuoteLimit.codeattribute defined at extensionb2bcommerce.- See Also:
-
AMOUNT
Generated constant - Attribute key ofB2BQuoteLimit.amountattribute defined at extensionb2bcommerce.- See Also:
-
CURRENCY
Generated constant - Attribute key ofB2BQuoteLimit.currencyattribute defined at extensionb2bcommerce.- See Also:
-
UNIT
Generated constant - Attribute key ofB2BQuoteLimit.Unitattribute defined at extensionb2bcommerce.- See Also:
-
-
Constructor Details
-
B2BQuoteLimitModel
public B2BQuoteLimitModel()Generated constructor - Default constructor for generic creation. -
B2BQuoteLimitModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
B2BQuoteLimitModel
@Deprecated(since="4.1.1", forRemoval=true) public B2BQuoteLimitModel(BigDecimal _amount, String _code, CurrencyModel _currency) 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:
_amount- initial attribute declared by typeB2BQuoteLimitat extensionb2bcommerce_code- initial attribute declared by typeB2BQuoteLimitat extensionb2bcommerce_currency- initial attribute declared by typeB2BQuoteLimitat extensionb2bcommerce
-
B2BQuoteLimitModel
@Deprecated(since="4.1.1", forRemoval=true) public B2BQuoteLimitModel(BigDecimal _amount, String _code, CurrencyModel _currency, 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:
_amount- initial attribute declared by typeB2BQuoteLimitat extensionb2bcommerce_code- initial attribute declared by typeB2BQuoteLimitat extensionb2bcommerce_currency- initial attribute declared by typeB2BQuoteLimitat extensionb2bcommerce_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getAmount
Generated method - Getter of theB2BQuoteLimit.amountattribute defined at extensionb2bcommerce.- Returns:
- the amount
-
getCode
Generated method - Getter of theB2BQuoteLimit.codeattribute defined at extensionb2bcommerce.- Returns:
- the code
-
getCurrency
Generated method - Getter of theB2BQuoteLimit.currencyattribute defined at extensionb2bcommerce.- Returns:
- the currency
-
getUnit
Generated method - Getter of theB2BQuoteLimit.Unitattribute defined at extensionb2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the Unit
-
setAmount
Generated method - Setter ofB2BQuoteLimit.amountattribute defined at extensionb2bcommerce.- Parameters:
value- the amount
-
setCode
Generated method - Setter ofB2BQuoteLimit.codeattribute defined at extensionb2bcommerce.- Parameters:
value- the code
-
setCurrency
Generated method - Setter ofB2BQuoteLimit.currencyattribute defined at extensionb2bcommerce.- Parameters:
value- the currency
-
setUnit
Generated method - Setter ofB2BQuoteLimit.Unitattribute defined at extensionb2bcommerce.- Parameters:
value- the Unit
-