public class ExplicitAssortmentModule extends VdmEntity<ExplicitAssortmentModule>
Original entity name from the Odata EDM: ExplicitAssortmentModuleType
Modifier and Type | Class and Description |
---|---|
static class |
ExplicitAssortmentModule.ExplicitAssortmentModuleBuilder
Helper class to allow for fluent creation of ExplicitAssortmentModule instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
ExplicitAssortmentModule() |
ExplicitAssortmentModule(UUID assortmentModuleUUID,
String assortmentModuleName,
LocalDate lastChangeDate,
List<ExplicitAssortmentModuleUser> to_AssortmentUser,
List<ExplctAsstmtMdlUsrProdExclsn> to_Exclusion,
List<ProductToExplicitAssortmentMdl> to_Product,
List<ExplicitAssortmentModuleVers> to_Version) |
Modifier and Type | Method and Description |
---|---|
void |
addAssortmentUser(ExplicitAssortmentModuleUser... entity)
Adds elements to the list of associated ExplicitAssortmentModuleUser entities.
|
void |
addExclusion(ExplctAsstmtMdlUsrProdExclsn... entity)
Adds elements to the list of associated ExplctAsstmtMdlUsrProdExclsn entities.
|
void |
addProduct(ProductToExplicitAssortmentMdl... entity)
Adds elements to the list of associated ProductToExplicitAssortmentMdl entities.
|
void |
addVersion(ExplicitAssortmentModuleVers... entity)
Adds elements to the list of associated ExplicitAssortmentModuleVers entities.
|
static ExplicitAssortmentModule.ExplicitAssortmentModuleBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
String |
getAssortmentModuleName()
Constraints: Not nullable, Maximum length: 100
|
UUID |
getAssortmentModuleUUID()
(Key Field) Constraints: Not nullable
|
io.vavr.control.Option<List<ExplicitAssortmentModuleUser>> |
getAssortmentUserIfPresent()
Retrieval of associated ExplicitAssortmentModuleUser entities (one to many).
|
protected String |
getDefaultServicePath()
Used by request builders and navigation property methods to construct OData requests.
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
io.vavr.control.Option<List<ExplctAsstmtMdlUsrProdExclsn>> |
getExclusionIfPresent()
Retrieval of associated ExplctAsstmtMdlUsrProdExclsn entities (one to many).
|
protected ODataEntityKey |
getKey() |
LocalDate |
getLastChangeDate()
Constraints: Nullable
|
String |
getOdataType() |
io.vavr.control.Option<List<ProductToExplicitAssortmentMdl>> |
getProductIfPresent()
Retrieval of associated ProductToExplicitAssortmentMdl entities (one to many).
|
Class<ExplicitAssortmentModule> |
getType() |
io.vavr.control.Option<List<ExplicitAssortmentModuleVers>> |
getVersionIfPresent()
Retrieval of associated ExplicitAssortmentModuleVers entities (one to many).
|
int |
hashCode() |
void |
setAssortmentModuleName(String assortmentModuleName)
Constraints: Not nullable, Maximum length: 100
|
void |
setAssortmentModuleUUID(UUID assortmentModuleUUID)
(Key Field) Constraints: Not nullable
|
void |
setAssortmentUser(List<ExplicitAssortmentModuleUser> value)
Overwrites the list of associated ExplicitAssortmentModuleUser entities for the loaded navigation property
_AssortmentUser.
|
void |
setExclusion(List<ExplctAsstmtMdlUsrProdExclsn> value)
Overwrites the list of associated ExplctAsstmtMdlUsrProdExclsn entities for the loaded navigation property
_Exclusion.
|
void |
setLastChangeDate(LocalDate lastChangeDate)
Constraints: Nullable
|
void |
setProduct(List<ProductToExplicitAssortmentMdl> value)
Overwrites the list of associated ProductToExplicitAssortmentMdl entities for the loaded navigation
property _Product.
|
void |
setVersion(List<ExplicitAssortmentModuleVers> value)
Overwrites the list of associated ExplicitAssortmentModuleVers entities for the loaded navigation property
_Version.
|
protected Map<String,Object> |
toMapOfFields()
Get all fields as map.
|
protected Map<String,Object> |
toMapOfNavigationProperties()
Get navigation properties as map.
|
String |
toString() |
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifier
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SimpleProperty<ExplicitAssortmentModule> ALL_FIELDS
public static final SimpleProperty.Guid<ExplicitAssortmentModule> ASSORTMENT_MODULE_UUID
public static final SimpleProperty.String<ExplicitAssortmentModule> ASSORTMENT_MODULE_NAME
public static final SimpleProperty.Date<ExplicitAssortmentModule> LAST_CHANGE_DATE
public static final NavigationProperty.Collection<ExplicitAssortmentModule,ExplicitAssortmentModuleUser> TO__ASSORTMENT_USER
public static final NavigationProperty.Collection<ExplicitAssortmentModule,ExplctAsstmtMdlUsrProdExclsn> TO__EXCLUSION
public static final NavigationProperty.Collection<ExplicitAssortmentModule,ProductToExplicitAssortmentMdl> TO__PRODUCT
public static final NavigationProperty.Collection<ExplicitAssortmentModule,ExplicitAssortmentModuleVers> TO__VERSION
public ExplicitAssortmentModule()
public ExplicitAssortmentModule(@Nullable UUID assortmentModuleUUID, @Nullable String assortmentModuleName, @Nullable LocalDate lastChangeDate, List<ExplicitAssortmentModuleUser> to_AssortmentUser, List<ExplctAsstmtMdlUsrProdExclsn> to_Exclusion, List<ProductToExplicitAssortmentMdl> to_Product, List<ExplicitAssortmentModuleVers> to_Version)
@Nonnull public Class<ExplicitAssortmentModule> getType()
getType
in class VdmObject<ExplicitAssortmentModule>
public void setAssortmentModuleUUID(@Nullable UUID assortmentModuleUUID)
Original property name from the Odata EDM: AssortmentModuleUUID
assortmentModuleUUID
- Universal Unique Identifier of Assortmentpublic void setAssortmentModuleName(@Nullable String assortmentModuleName)
Original property name from the Odata EDM: AssortmentModuleName
assortmentModuleName
- Assortment Module Namepublic void setLastChangeDate(@Nullable LocalDate lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
lastChangeDate
- The lastChangeDate to set.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ExplicitAssortmentModule>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<ExplicitAssortmentModule>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<ExplicitAssortmentModule>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<ExplicitAssortmentModule>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ExplicitAssortmentModule>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<ExplicitAssortmentModule>
@Nonnull public io.vavr.control.Option<List<ExplicitAssortmentModuleUser>> getAssortmentUserIfPresent()
If the navigation property for an entity ExplicitAssortmentModule has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result
state empty
is returned.public void setAssortmentUser(@Nonnull List<ExplicitAssortmentModuleUser> value)
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.
value
- List of ExplicitAssortmentModuleUser entities.public void addAssortmentUser(ExplicitAssortmentModuleUser... entity)
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.
entity
- Array of ExplicitAssortmentModuleUser entities.@Nonnull public io.vavr.control.Option<List<ExplctAsstmtMdlUsrProdExclsn>> getExclusionIfPresent()
If the navigation property for an entity ExplicitAssortmentModule has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setExclusion(@Nonnull List<ExplctAsstmtMdlUsrProdExclsn> value)
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.
value
- List of ExplctAsstmtMdlUsrProdExclsn entities.public void addExclusion(ExplctAsstmtMdlUsrProdExclsn... entity)
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.
entity
- Array of ExplctAsstmtMdlUsrProdExclsn entities.@Nonnull public io.vavr.control.Option<List<ProductToExplicitAssortmentMdl>> getProductIfPresent()
If the navigation property for an entity ExplicitAssortmentModule has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setProduct(@Nonnull List<ProductToExplicitAssortmentMdl> value)
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.
value
- List of ProductToExplicitAssortmentMdl entities.public void addProduct(ProductToExplicitAssortmentMdl... entity)
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.
entity
- Array of ProductToExplicitAssortmentMdl entities.@Nonnull public io.vavr.control.Option<List<ExplicitAssortmentModuleVers>> getVersionIfPresent()
If the navigation property for an entity ExplicitAssortmentModule has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setVersion(@Nonnull List<ExplicitAssortmentModuleVers> value)
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.
value
- List of ExplicitAssortmentModuleVers entities.public void addVersion(ExplicitAssortmentModuleVers... entity)
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.
entity
- Array of ExplicitAssortmentModuleVers entities.@Nonnull public static ExplicitAssortmentModule.ExplicitAssortmentModuleBuilder builder()
@Nullable public UUID getAssortmentModuleUUID()
Original property name from the Odata EDM: AssortmentModuleUUID
@Nullable public String getAssortmentModuleName()
Original property name from the Odata EDM: AssortmentModuleName
@Nullable public LocalDate getLastChangeDate()
Original property name from the Odata EDM: LastChangeDate
@Nonnull public String toString()
toString
in class VdmObject<ExplicitAssortmentModule>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ExplicitAssortmentModule>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ExplicitAssortmentModule>
public int hashCode()
hashCode
in class VdmEntity<ExplicitAssortmentModule>
public String getOdataType()
getOdataType
in class VdmObject<ExplicitAssortmentModule>
Copyright © 2021 SAP SE. All rights reserved.