Class ProductToExplicitAssortmentMdl
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductToExplicitAssortmentMdlType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionUse with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<ProductToExplicitAssortmentMdl>Selector for all available fields of ProductToExplicitAssortmentMdl.static final SimpleProperty.String<ProductToExplicitAssortmentMdl>static final SimpleProperty.Guid<ProductToExplicitAssortmentMdl>static final SimpleProperty.Date<ProductToExplicitAssortmentMdl>static final SimpleProperty.String<ProductToExplicitAssortmentMdl>static final SimpleProperty.Boolean<ProductToExplicitAssortmentMdl>static final SimpleProperty.Date<ProductToExplicitAssortmentMdl>static final SimpleProperty.Date<ProductToExplicitAssortmentMdl>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductToExplicitAssortmentMdl(UUID assortmentModuleUUID, String product, String assortmentModuleName, Boolean productIsMandatoryInAssortment, LocalDate validityStartDate, LocalDate validityEndDate, LocalDate lastChangeDate, Collection<SAP__Message> _Messages) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 100(Key Field) Constraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Nullable(Key Field) Constraints: Not nullable, Maximum length: 18Constraints: Not nullablegetType()Constraints: NullableConstraints: NullableinthashCode()replaceProduct(String substituteProduct, LocalDate validFrom) Action that can be applied to any entity object of this class.voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetAssortmentModuleName(String assortmentModuleName) (Key Field) Constraints: Not nullable, Maximum length: 100voidsetAssortmentModuleUUID(UUID assortmentModuleUUID) (Key Field) Constraints: Not nullablevoidsetLastChangeDate(LocalDate lastChangeDate) Constraints: NullablevoidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductIsMandatoryInAssortment(Boolean productIsMandatoryInAssortment) Constraints: Not nullablevoidsetValidityEndDate(LocalDate validityEndDate) Constraints: NullablevoidsetValidityStartDate(LocalDate validityStartDate) Constraints: NullabletoString()updateValidity(LocalDate validFrom, LocalDate validTo) Action that can be applied to any entity object of this class.Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProductToExplicitAssortmentMdl. -
ASSORTMENT_MODULE_UUID
-
PRODUCT
-
ASSORTMENT_MODULE_NAME
-
PRODUCT_IS_MANDATORY_IN_ASSORTMENT
public static final SimpleProperty.Boolean<ProductToExplicitAssortmentMdl> PRODUCT_IS_MANDATORY_IN_ASSORTMENT -
VALIDITY_START_DATE
-
VALIDITY_END_DATE
-
LAST_CHANGE_DATE
-
_MESSAGES
public static final ComplexProperty.Collection<ProductToExplicitAssortmentMdl,SAP__Message> _MESSAGESUse with available request builders to apply the SAP__Messages complex property to query operations.
-
-
Constructor Details
-
ProductToExplicitAssortmentMdl
public ProductToExplicitAssortmentMdl() -
ProductToExplicitAssortmentMdl
public ProductToExplicitAssortmentMdl(@Nullable UUID assortmentModuleUUID, @Nullable String product, @Nullable String assortmentModuleName, @Nullable Boolean productIsMandatoryInAssortment, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable LocalDate lastChangeDate, @Nullable Collection<SAP__Message> _Messages)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductToExplicitAssortmentMdl>
-
setAssortmentModuleUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: AssortmentModuleUUID
- Parameters:
assortmentModuleUUID- Universal Unique Identifier of Assortment
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Material Number
-
setAssortmentModuleName
(Key Field) Constraints: Not nullable, Maximum length: 100Original property name from the Odata EDM: AssortmentModuleName
- Parameters:
assortmentModuleName- Assortment Module
-
setProductIsMandatoryInAssortment
Constraints: Not nullableOriginal property name from the Odata EDM: ProductIsMandatoryInAssortment
- Parameters:
productIsMandatoryInAssortment- Product Is Mandatory for Assortment Users
-
setValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Valid From
-
setValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Valid To
-
setLastChangeDate
Constraints: NullableOriginal property name from the Odata EDM: LastChangeDate
- Parameters:
lastChangeDate- The lastChangeDate to set.
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductToExplicitAssortmentMdl>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductToExplicitAssortmentMdl>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductToExplicitAssortmentMdl>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductToExplicitAssortmentMdl>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductToExplicitAssortmentMdl>
-
replaceProduct
@Nonnull public static BoundAction.SingleToSingle<ProductToExplicitAssortmentMdl,ProductToExplicitAssortmentMdl> replaceProduct(@Nonnull String substituteProduct, @Nullable LocalDate validFrom) Action that can be applied to any entity object of this class.- Parameters:
substituteProduct- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: SubstituteProduct
validFrom- Constraints: NullableOriginal parameter name from the Odata EDM: ValidFrom
- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
updateValidity
@Nonnull public static BoundAction.SingleToSingle<ProductToExplicitAssortmentMdl,ProductToExplicitAssortmentMdl> updateValidity(@Nullable LocalDate validFrom, @Nullable LocalDate validTo) Action that can be applied to any entity object of this class.- Parameters:
validFrom- Constraints: NullableOriginal parameter name from the Odata EDM: ValidFrom
validTo- Constraints: NullableOriginal parameter name from the Odata EDM: ValidTo
- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
@Nonnull public static ProductToExplicitAssortmentMdl.ProductToExplicitAssortmentMdlBuilder builder() -
getAssortmentModuleUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: AssortmentModuleUUID
- Returns:
- Universal Unique Identifier of Assortment
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Material Number
-
getAssortmentModuleName
(Key Field) Constraints: Not nullable, Maximum length: 100Original property name from the Odata EDM: AssortmentModuleName
- Returns:
- Assortment Module
-
getProductIsMandatoryInAssortment
Constraints: Not nullableOriginal property name from the Odata EDM: ProductIsMandatoryInAssortment
- Returns:
- Product Is Mandatory for Assortment Users
-
getValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDate
- Returns:
- Valid From
-
getValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityEndDate
- Returns:
- Valid To
-
getLastChangeDate
Constraints: NullableOriginal property name from the Odata EDM: LastChangeDate
- Returns:
- The lastChangeDate contained in this
VdmEntity.
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<ProductToExplicitAssortmentMdl>
-
equals
- Overrides:
equalsin classVdmEntity<ProductToExplicitAssortmentMdl>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductToExplicitAssortmentMdl>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductToExplicitAssortmentMdl>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductToExplicitAssortmentMdl>
-