Class ProductToExplicitAsstmtMdlVers
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductToExplicitAsstmtMdlVersType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductToExplicitAsstmtMdlVers instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionUse with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<ProductToExplicitAsstmtMdlVers>Selector for all available fields of ProductToExplicitAsstmtMdlVers.static final SimpleProperty.Guid<ProductToExplicitAsstmtMdlVers>static final SimpleProperty.Date<ProductToExplicitAsstmtMdlVers>static final SimpleProperty.String<ProductToExplicitAsstmtMdlVers>static final SimpleProperty.String<ProductToExplicitAsstmtMdlVers>static final SimpleProperty.Boolean<ProductToExplicitAsstmtMdlVers>Use with available request builders to apply the _ExplicitAssortmentModuleVers navigation property to query operations.static final SimpleProperty.Date<ProductToExplicitAsstmtMdlVers>static final SimpleProperty.Date<ProductToExplicitAsstmtMdlVers>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductToExplicitAsstmtMdlVers(UUID assortmentModuleUUID, String product, LocalDate validityStartDate, LocalDate validityEndDate, Boolean productIsMandatoryInAssortment, LocalDate lastChangeDate, String lastChangedByUserName, Collection<SAP__Message> _Messages, ExplicitAssortmentModuleVers to_ExplicitAssortmentModuleVers) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable(Key Field) Constraints: Not nullableprotected Stringprotected Stringio.vavr.control.Option<ExplicitAssortmentModuleVers>Retrieval of associated ExplicitAssortmentModuleVers entity (one to one).protected ODataEntityKeygetKey()Constraints: NullableConstraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 18Constraints: Not nullablegetType()(Key Field) Constraints: Not nullable(Key Field) Constraints: Not nullableinthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetAssortmentModuleUUID(UUID assortmentModuleUUID) (Key Field) Constraints: Not nullablevoidOverwrites the associated ExplicitAssortmentModuleVers entity for the loaded navigation property _ExplicitAssortmentModuleVers.voidsetLastChangeDate(LocalDate lastChangeDate) Constraints: NullablevoidsetLastChangedByUserName(String lastChangedByUserName) Constraints: Not nullable, Maximum length: 12voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductIsMandatoryInAssortment(Boolean productIsMandatoryInAssortment) Constraints: Not nullablevoidsetValidityEndDate(LocalDate validityEndDate) (Key Field) Constraints: Not nullablevoidsetValidityStartDate(LocalDate validityStartDate) (Key Field) Constraints: Not nullabletoString()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
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProductToExplicitAsstmtMdlVers. -
ASSORTMENT_MODULE_UUID
-
PRODUCT
-
VALIDITY_START_DATE
-
VALIDITY_END_DATE
-
PRODUCT_IS_MANDATORY_IN_ASSORTMENT
public static final SimpleProperty.Boolean<ProductToExplicitAsstmtMdlVers> PRODUCT_IS_MANDATORY_IN_ASSORTMENT -
LAST_CHANGE_DATE
-
LAST_CHANGED_BY_USER_NAME
-
_MESSAGES
public static final ComplexProperty.Collection<ProductToExplicitAsstmtMdlVers,SAP__Message> _MESSAGESUse with available request builders to apply the SAP__Messages complex property to query operations. -
TO__EXPLICIT_ASSORTMENT_MODULE_VERS
public static final NavigationProperty.Single<ProductToExplicitAsstmtMdlVers,ExplicitAssortmentModuleVers> TO__EXPLICIT_ASSORTMENT_MODULE_VERSUse with available request builders to apply the _ExplicitAssortmentModuleVers navigation property to query operations.
-
-
Constructor Details
-
ProductToExplicitAsstmtMdlVers
public ProductToExplicitAsstmtMdlVers() -
ProductToExplicitAsstmtMdlVers
public ProductToExplicitAsstmtMdlVers(@Nullable UUID assortmentModuleUUID, @Nullable String product, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable Boolean productIsMandatoryInAssortment, @Nullable LocalDate lastChangeDate, @Nullable String lastChangedByUserName, @Nullable Collection<SAP__Message> _Messages, @Nullable ExplicitAssortmentModuleVers to_ExplicitAssortmentModuleVers)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductToExplicitAsstmtMdlVers>
-
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
-
setValidityStartDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Product Assignment Valid From
-
setValidityEndDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Product Assignment Valid To
-
setProductIsMandatoryInAssortment
Constraints: Not nullableOriginal property name from the Odata EDM: ProductIsMandatoryInAssortment
- Parameters:
productIsMandatoryInAssortment- Product Is Mandatory for Assortment Users
-
setLastChangeDate
Constraints: NullableOriginal property name from the Odata EDM: LastChangeDate
- Parameters:
lastChangeDate- The lastChangeDate to set.
-
setLastChangedByUserName
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUserName
- Parameters:
lastChangedByUserName- User Name of the User Who Last Changed an Object
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductToExplicitAsstmtMdlVers>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductToExplicitAsstmtMdlVers>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductToExplicitAsstmtMdlVers>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductToExplicitAsstmtMdlVers>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductToExplicitAsstmtMdlVers>
-
getExplicitAssortmentModuleVersIfPresent
@Nonnull public io.vavr.control.Option<ExplicitAssortmentModuleVers> getExplicitAssortmentModuleVersIfPresent()Retrieval of associated ExplicitAssortmentModuleVers entity (one to one). This corresponds to the OData navigation property _ExplicitAssortmentModuleVers.If the navigation property for an entity ProductToExplicitAsstmtMdlVers has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _ExplicitAssortmentModuleVers is already loaded, the
result will contain the ExplicitAssortmentModuleVers entity. If not, an
Optionwith result stateemptyis returned.
-
setExplicitAssortmentModuleVers
Overwrites the associated ExplicitAssortmentModuleVers entity for the loaded navigation property _ExplicitAssortmentModuleVers.- Parameters:
value- New ExplicitAssortmentModuleVers entity.
-
builder
@Nonnull public static ProductToExplicitAsstmtMdlVers.ProductToExplicitAsstmtMdlVersBuilder 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
-
getValidityStartDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ValidityStartDate
- Returns:
- Product Assignment Valid From
-
getValidityEndDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ValidityEndDate
- Returns:
- Product Assignment Valid To
-
getProductIsMandatoryInAssortment
Constraints: Not nullableOriginal property name from the Odata EDM: ProductIsMandatoryInAssortment
- Returns:
- Product Is Mandatory for Assortment Users
-
getLastChangeDate
Constraints: NullableOriginal property name from the Odata EDM: LastChangeDate
- Returns:
- The lastChangeDate contained in this
VdmEntity.
-
getLastChangedByUserName
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUserName
- Returns:
- User Name of the User Who Last Changed an Object
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<ProductToExplicitAsstmtMdlVers>
-
equals
- Overrides:
equalsin classVdmEntity<ProductToExplicitAsstmtMdlVers>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductToExplicitAsstmtMdlVers>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductToExplicitAsstmtMdlVers>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductToExplicitAsstmtMdlVers>
-