Class ExplicitAssortmentModule
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ExplicitAssortmentModuleType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ExplicitAssortmentModule instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<ExplicitAssortmentModule,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<ExplicitAssortmentModule>Selector for all available fields of ExplicitAssortmentModule.static final SimpleProperty.String<ExplicitAssortmentModule>static final SimpleProperty.Guid<ExplicitAssortmentModule>static final SimpleProperty.Date<ExplicitAssortmentModule>Use with available request builders to apply the _AssortmentUser navigation property to query operations.Use with available request builders to apply the _Exclusion navigation property to query operations.Use with available request builders to apply the _Product navigation property to query operations.Use with available request builders to apply the _Version navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionExplicitAssortmentModule(UUID assortmentModuleUUID, String assortmentModuleName, LocalDate lastChangeDate, Collection<SAP__Message> _Messages, List<ExplicitAssortmentModuleUser> to_AssortmentUser, List<ExplctAsstmtMdlUsrProdExclsn> to_Exclusion, List<ProductToExplicitAssortmentMdl> to_Product, List<ExplicitAssortmentModuleVers> to_Version) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssortmentUser(ExplicitAssortmentModuleUser... entity) Adds elements to the list of associated ExplicitAssortmentModuleUser entities.voidaddExclusion(ExplctAsstmtMdlUsrProdExclsn... entity) Adds elements to the list of associated ExplctAsstmtMdlUsrProdExclsn entities.voidaddProduct(ProductToExplicitAssortmentMdl... entity) Adds elements to the list of associated ProductToExplicitAssortmentMdl entities.voidaddVersion(ExplicitAssortmentModuleVers... entity) Adds elements to the list of associated ExplicitAssortmentModuleVers entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 100(Key Field) Constraints: Not nullableio.vavr.control.Option<List<ExplicitAssortmentModuleUser>>Retrieval of associated ExplicitAssortmentModuleUser entities (one to many).protected Stringprotected Stringio.vavr.control.Option<List<ExplctAsstmtMdlUsrProdExclsn>>Retrieval of associated ExplctAsstmtMdlUsrProdExclsn entities (one to many).protected ODataEntityKeygetKey()Constraints: Nullableio.vavr.control.Option<List<ProductToExplicitAssortmentMdl>>Retrieval of associated ProductToExplicitAssortmentMdl entities (one to many).getType()io.vavr.control.Option<List<ExplicitAssortmentModuleVers>>Retrieval of associated ExplicitAssortmentModuleVers entities (one to many).inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetAssortmentModuleName(String assortmentModuleName) Constraints: Not nullable, Maximum length: 100voidsetAssortmentModuleUUID(UUID assortmentModuleUUID) (Key Field) Constraints: Not nullablevoidOverwrites the list of associated ExplicitAssortmentModuleUser entities for the loaded navigation property _AssortmentUser.voidOverwrites the list of associated ExplctAsstmtMdlUsrProdExclsn entities for the loaded navigation property _Exclusion.voidsetLastChangeDate(LocalDate lastChangeDate) Constraints: NullablevoidOverwrites the list of associated ProductToExplicitAssortmentMdl entities for the loaded navigation property _Product.voidOverwrites the list of associated ExplicitAssortmentModuleVers entities for the loaded navigation property _Version.toString()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 ExplicitAssortmentModule. -
ASSORTMENT_MODULE_UUID
-
ASSORTMENT_MODULE_NAME
-
LAST_CHANGE_DATE
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__ASSORTMENT_USER
public static final NavigationProperty.Collection<ExplicitAssortmentModule,ExplicitAssortmentModuleUser> TO__ASSORTMENT_USERUse with available request builders to apply the _AssortmentUser navigation property to query operations. -
TO__EXCLUSION
public static final NavigationProperty.Collection<ExplicitAssortmentModule,ExplctAsstmtMdlUsrProdExclsn> TO__EXCLUSIONUse with available request builders to apply the _Exclusion navigation property to query operations. -
TO__PRODUCT
public static final NavigationProperty.Collection<ExplicitAssortmentModule,ProductToExplicitAssortmentMdl> TO__PRODUCTUse with available request builders to apply the _Product navigation property to query operations. -
TO__VERSION
public static final NavigationProperty.Collection<ExplicitAssortmentModule,ExplicitAssortmentModuleVers> TO__VERSIONUse with available request builders to apply the _Version navigation property to query operations.
-
-
Constructor Details
-
ExplicitAssortmentModule
public ExplicitAssortmentModule() -
ExplicitAssortmentModule
public ExplicitAssortmentModule(@Nullable UUID assortmentModuleUUID, @Nullable String assortmentModuleName, @Nullable LocalDate lastChangeDate, @Nullable Collection<SAP__Message> _Messages, List<ExplicitAssortmentModuleUser> to_AssortmentUser, List<ExplctAsstmtMdlUsrProdExclsn> to_Exclusion, List<ProductToExplicitAssortmentMdl> to_Product, List<ExplicitAssortmentModuleVers> to_Version)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ExplicitAssortmentModule>
-
setAssortmentModuleUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: AssortmentModuleUUID
- Parameters:
assortmentModuleUUID- Universal Unique Identifier of Assortment
-
setAssortmentModuleName
Constraints: Not nullable, Maximum length: 100Original property name from the Odata EDM: AssortmentModuleName
- Parameters:
assortmentModuleName- Assortment Module
-
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<ExplicitAssortmentModule>
-
getKey
- Overrides:
getKeyin classVdmObject<ExplicitAssortmentModule>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ExplicitAssortmentModule>
-
fromMap
- Overrides:
fromMapin classVdmObject<ExplicitAssortmentModule>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ExplicitAssortmentModule>
-
getAssortmentUserIfPresent
@Nonnull public io.vavr.control.Option<List<ExplicitAssortmentModuleUser>> getAssortmentUserIfPresent()Retrieval of associated ExplicitAssortmentModuleUser entities (one to many). This corresponds to the OData navigation property _AssortmentUser.If the navigation property for an entity ExplicitAssortmentModule 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 _AssortmentUser is already loaded, the result will
contain the ExplicitAssortmentModuleUser entities. If not, an
Optionwith result stateemptyis returned.
-
setAssortmentUser
Overwrites the list of associated ExplicitAssortmentModuleUser entities for the loaded navigation property _AssortmentUser.If the navigation property _AssortmentUser of a queried ExplicitAssortmentModule 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 ExplicitAssortmentModuleUser entities.
-
addAssortmentUser
Adds elements to the list of associated ExplicitAssortmentModuleUser entities. This corresponds to the OData navigation property _AssortmentUser.If the navigation property _AssortmentUser of a queried ExplicitAssortmentModule 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 ExplicitAssortmentModuleUser entities.
-
getExclusionIfPresent
Retrieval of associated ExplctAsstmtMdlUsrProdExclsn entities (one to many). This corresponds to the OData navigation property _Exclusion.If the navigation property for an entity ExplicitAssortmentModule 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 _Exclusion is already loaded, the result will contain
the ExplctAsstmtMdlUsrProdExclsn entities. If not, an
Optionwith result stateemptyis returned.
-
setExclusion
Overwrites the list of associated ExplctAsstmtMdlUsrProdExclsn entities for the loaded navigation property _Exclusion.If the navigation property _Exclusion of a queried ExplicitAssortmentModule 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 ExplctAsstmtMdlUsrProdExclsn entities.
-
addExclusion
Adds elements to the list of associated ExplctAsstmtMdlUsrProdExclsn entities. This corresponds to the OData navigation property _Exclusion.If the navigation property _Exclusion of a queried ExplicitAssortmentModule 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 ExplctAsstmtMdlUsrProdExclsn entities.
-
getProductIfPresent
Retrieval of associated ProductToExplicitAssortmentMdl entities (one to many). This corresponds to the OData navigation property _Product.If the navigation property for an entity ExplicitAssortmentModule 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
ProductToExplicitAssortmentMdl entities. If not, an
Optionwith result stateemptyis returned.
-
setProduct
Overwrites the list of associated ProductToExplicitAssortmentMdl entities for the loaded navigation property _Product.If the navigation property _Product of a queried ExplicitAssortmentModule 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 ProductToExplicitAssortmentMdl entities.
-
addProduct
Adds elements to the list of associated ProductToExplicitAssortmentMdl entities. This corresponds to the OData navigation property _Product.If the navigation property _Product of a queried ExplicitAssortmentModule 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 ProductToExplicitAssortmentMdl entities.
-
getVersionIfPresent
Retrieval of associated ExplicitAssortmentModuleVers entities (one to many). This corresponds to the OData navigation property _Version.If the navigation property for an entity ExplicitAssortmentModule 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 _Version is already loaded, the result will contain the
ExplicitAssortmentModuleVers entities. If not, an
Optionwith result stateemptyis returned.
-
setVersion
Overwrites the list of associated ExplicitAssortmentModuleVers entities for the loaded navigation property _Version.If the navigation property _Version of a queried ExplicitAssortmentModule 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 ExplicitAssortmentModuleVers entities.
-
addVersion
Adds elements to the list of associated ExplicitAssortmentModuleVers entities. This corresponds to the OData navigation property _Version.If the navigation property _Version of a queried ExplicitAssortmentModule 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 ExplicitAssortmentModuleVers entities.
-
builder
-
getAssortmentModuleUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: AssortmentModuleUUID
- Returns:
- Universal Unique Identifier of Assortment
-
getAssortmentModuleName
Constraints: Not nullable, Maximum length: 100Original property name from the Odata EDM: AssortmentModuleName
- Returns:
- Assortment Module
-
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<ExplicitAssortmentModule>
-
equals
- Overrides:
equalsin classVdmEntity<ExplicitAssortmentModule>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ExplicitAssortmentModule>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ExplicitAssortmentModule>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ExplicitAssortmentModule>
-