Class ExplicitAssortmentModuleVers
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ExplicitAssortmentModuleVersType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ExplicitAssortmentModuleVers instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionUse with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<ExplicitAssortmentModuleVers>Selector for all available fields of ExplicitAssortmentModuleVers.static final SimpleProperty.String<ExplicitAssortmentModuleVers>static final SimpleProperty.Guid<ExplicitAssortmentModuleVers>static final SimpleProperty.Date<ExplicitAssortmentModuleVers>static final SimpleProperty.String<ExplicitAssortmentModuleVers>static final NavigationProperty.Collection<ExplicitAssortmentModuleVers,ProductToExplicitAsstmtMdlVers> Use with available request builders to apply the _Product navigation property to query operations.static final NavigationProperty.Collection<ExplicitAssortmentModuleVers,AssortmentModuleVersionText> Use with available request builders to apply the _Text navigation property to query operations.static final SimpleProperty.Date<ExplicitAssortmentModuleVers>static final SimpleProperty.Date<ExplicitAssortmentModuleVers>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionExplicitAssortmentModuleVers(UUID assortmentModuleVersionUUID, String assortmentModuleName, LocalDate validityStartDate, LocalDate validityEndDate, LocalDate lastChangeDate, String lastChangedByUserName, Collection<SAP__Message> _Messages, List<ProductToExplicitAsstmtMdlVers> to_Product, List<AssortmentModuleVersionText> to_Text) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProduct(ProductToExplicitAsstmtMdlVers... entity) Adds elements to the list of associated ProductToExplicitAsstmtMdlVers entities.voidaddText(AssortmentModuleVersionText... entity) Adds elements to the list of associated AssortmentModuleVersionText entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 100(Key Field) Constraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: NullableConstraints: Not nullable, Maximum length: 12io.vavr.control.Option<List<ProductToExplicitAsstmtMdlVers>>Retrieval of associated ProductToExplicitAsstmtMdlVers entities (one to many).io.vavr.control.Option<List<AssortmentModuleVersionText>>Retrieval of associated AssortmentModuleVersionText entities (one to many).getType()Constraints: NullableConstraints: NullableinthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetAssortmentModuleName(String assortmentModuleName) Constraints: Not nullable, Maximum length: 100voidsetAssortmentModuleVersionUUID(UUID assortmentModuleVersionUUID) (Key Field) Constraints: Not nullablevoidsetLastChangeDate(LocalDate lastChangeDate) Constraints: NullablevoidsetLastChangedByUserName(String lastChangedByUserName) Constraints: Not nullable, Maximum length: 12voidOverwrites the list of associated ProductToExplicitAsstmtMdlVers entities for the loaded navigation property _Product.voidsetText(List<AssortmentModuleVersionText> value) Overwrites the list of associated AssortmentModuleVersionText entities for the loaded navigation property _Text.voidsetValidityEndDate(LocalDate validityEndDate) Constraints: NullablevoidsetValidityStartDate(LocalDate validityStartDate) Constraints: 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 ExplicitAssortmentModuleVers. -
ASSORTMENT_MODULE_VERSION_UUID
public static final SimpleProperty.Guid<ExplicitAssortmentModuleVers> ASSORTMENT_MODULE_VERSION_UUID -
ASSORTMENT_MODULE_NAME
-
VALIDITY_START_DATE
-
VALIDITY_END_DATE
-
LAST_CHANGE_DATE
-
LAST_CHANGED_BY_USER_NAME
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__PRODUCT
public static final NavigationProperty.Collection<ExplicitAssortmentModuleVers,ProductToExplicitAsstmtMdlVers> TO__PRODUCTUse with available request builders to apply the _Product navigation property to query operations. -
TO__TEXT
public static final NavigationProperty.Collection<ExplicitAssortmentModuleVers,AssortmentModuleVersionText> TO__TEXTUse with available request builders to apply the _Text navigation property to query operations.
-
-
Constructor Details
-
ExplicitAssortmentModuleVers
public ExplicitAssortmentModuleVers() -
ExplicitAssortmentModuleVers
public ExplicitAssortmentModuleVers(@Nullable UUID assortmentModuleVersionUUID, @Nullable String assortmentModuleName, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable LocalDate lastChangeDate, @Nullable String lastChangedByUserName, @Nullable Collection<SAP__Message> _Messages, List<ProductToExplicitAsstmtMdlVers> to_Product, List<AssortmentModuleVersionText> to_Text)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ExplicitAssortmentModuleVers>
-
setAssortmentModuleVersionUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: AssortmentModuleVersionUUID
- Parameters:
assortmentModuleVersionUUID- Universal Unique Identifier of Assortment Module Version
-
setAssortmentModuleName
Constraints: Not nullable, Maximum length: 100Original property name from the Odata EDM: AssortmentModuleName
- Parameters:
assortmentModuleName- Assortment Module
-
setValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Validity Start Date of an Assortment Module Version
-
setValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Validity End Date of an Assortment Module Version
-
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<ExplicitAssortmentModuleVers>
-
getKey
- Overrides:
getKeyin classVdmObject<ExplicitAssortmentModuleVers>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ExplicitAssortmentModuleVers>
-
fromMap
- Overrides:
fromMapin classVdmObject<ExplicitAssortmentModuleVers>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ExplicitAssortmentModuleVers>
-
getProductIfPresent
Retrieval of associated ProductToExplicitAsstmtMdlVers entities (one to many). This corresponds to the OData navigation property _Product.If the navigation property for an entity ExplicitAssortmentModuleVers 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 _Product is already loaded, the result will contain the
ProductToExplicitAsstmtMdlVers entities. If not, an
Optionwith result stateemptyis returned.
-
setProduct
Overwrites the list of associated ProductToExplicitAsstmtMdlVers entities for the loaded navigation property _Product.If the navigation property _Product of a queried ExplicitAssortmentModuleVers is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of ProductToExplicitAsstmtMdlVers entities.
-
addProduct
Adds elements to the list of associated ProductToExplicitAsstmtMdlVers entities. This corresponds to the OData navigation property _Product.If the navigation property _Product of a queried ExplicitAssortmentModuleVers is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of ProductToExplicitAsstmtMdlVers entities.
-
getTextIfPresent
Retrieval of associated AssortmentModuleVersionText entities (one to many). This corresponds to the OData navigation property _Text.If the navigation property for an entity ExplicitAssortmentModuleVers 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 _Text is already loaded, the result will contain the
AssortmentModuleVersionText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated AssortmentModuleVersionText entities for the loaded navigation property _Text.If the navigation property _Text of a queried ExplicitAssortmentModuleVers is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of AssortmentModuleVersionText entities.
-
addText
Adds elements to the list of associated AssortmentModuleVersionText entities. This corresponds to the OData navigation property _Text.If the navigation property _Text of a queried ExplicitAssortmentModuleVers is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of AssortmentModuleVersionText entities.
-
builder
-
getAssortmentModuleVersionUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: AssortmentModuleVersionUUID
- Returns:
- Universal Unique Identifier of Assortment Module Version
-
getAssortmentModuleName
Constraints: Not nullable, Maximum length: 100Original property name from the Odata EDM: AssortmentModuleName
- Returns:
- Assortment Module
-
getValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDate
- Returns:
- Validity Start Date of an Assortment Module Version
-
getValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityEndDate
- Returns:
- Validity End Date of an Assortment Module Version
-
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<ExplicitAssortmentModuleVers>
-
equals
- Overrides:
equalsin classVdmEntity<ExplicitAssortmentModuleVers>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ExplicitAssortmentModuleVers>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ExplicitAssortmentModuleVers>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ExplicitAssortmentModuleVers>
-