public class ExplicitAssortmentModuleVers extends VdmEntity<ExplicitAssortmentModuleVers>
Original entity name from the Odata EDM: ExplicitAssortmentModuleVersType
Modifier and Type | Class and Description |
---|---|
static class |
ExplicitAssortmentModuleVers.ExplicitAssortmentModuleVersBuilder
Helper class to allow for fluent creation of ExplicitAssortmentModuleVers instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
ExplicitAssortmentModuleVers() |
ExplicitAssortmentModuleVers(UUID assortmentModuleVersionUUID,
String assortmentModuleName,
LocalDate validityStartDate,
LocalDate validityEndDate,
LocalDate lastChangeDate,
String lastChangedByUserName,
Collection<SAP__Message> _Messages,
List<ProductToExplicitAsstmtMdlVers> to_Product,
List<AssortmentModuleVersionText> to_Text) |
Modifier and Type | Method and Description |
---|---|
void |
addProduct(ProductToExplicitAsstmtMdlVers... entity)
Adds elements to the list of associated ProductToExplicitAsstmtMdlVers entities.
|
void |
addText(AssortmentModuleVersionText... entity)
Adds elements to the list of associated AssortmentModuleVersionText entities.
|
static ExplicitAssortmentModuleVers.ExplicitAssortmentModuleVersBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
Collection<SAP__Message> |
get_Messages()
Constraints: Not nullable
|
String |
getAssortmentModuleName()
Constraints: Not nullable, Maximum length: 100
|
UUID |
getAssortmentModuleVersionUUID()
(Key Field) Constraints: Not nullable
|
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.
|
protected ODataEntityKey |
getKey() |
LocalDate |
getLastChangeDate()
Constraints: Nullable
|
String |
getLastChangedByUserName()
Constraints: Not nullable, Maximum length: 12
|
String |
getOdataType() |
io.vavr.control.Option<List<ProductToExplicitAsstmtMdlVers>> |
getProductIfPresent()
Retrieval of associated ProductToExplicitAsstmtMdlVers entities (one to many).
|
io.vavr.control.Option<List<AssortmentModuleVersionText>> |
getTextIfPresent()
Retrieval of associated AssortmentModuleVersionText entities (one to many).
|
Class<ExplicitAssortmentModuleVers> |
getType() |
LocalDate |
getValidityEndDate()
Constraints: Nullable
|
LocalDate |
getValidityStartDate()
Constraints: Nullable
|
int |
hashCode() |
void |
set_Messages(Collection<SAP__Message> _Messages)
Constraints: Not nullable
|
void |
setAssortmentModuleName(String assortmentModuleName)
Constraints: Not nullable, Maximum length: 100
|
void |
setAssortmentModuleVersionUUID(UUID assortmentModuleVersionUUID)
(Key Field) Constraints: Not nullable
|
void |
setLastChangeDate(LocalDate lastChangeDate)
Constraints: Nullable
|
void |
setLastChangedByUserName(String lastChangedByUserName)
Constraints: Not nullable, Maximum length: 12
|
void |
setProduct(List<ProductToExplicitAsstmtMdlVers> value)
Overwrites the list of associated ProductToExplicitAsstmtMdlVers entities for the loaded navigation
property _Product.
|
void |
setText(List<AssortmentModuleVersionText> value)
Overwrites the list of associated AssortmentModuleVersionText entities for the loaded navigation property
_Text.
|
void |
setValidityEndDate(LocalDate validityEndDate)
Constraints: Nullable
|
void |
setValidityStartDate(LocalDate validityStartDate)
Constraints: Nullable
|
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<ExplicitAssortmentModuleVers> ALL_FIELDS
public static final SimpleProperty.Guid<ExplicitAssortmentModuleVers> ASSORTMENT_MODULE_VERSION_UUID
public static final SimpleProperty.String<ExplicitAssortmentModuleVers> ASSORTMENT_MODULE_NAME
public static final SimpleProperty.Date<ExplicitAssortmentModuleVers> VALIDITY_START_DATE
public static final SimpleProperty.Date<ExplicitAssortmentModuleVers> VALIDITY_END_DATE
public static final SimpleProperty.Date<ExplicitAssortmentModuleVers> LAST_CHANGE_DATE
public static final SimpleProperty.String<ExplicitAssortmentModuleVers> LAST_CHANGED_BY_USER_NAME
public static final ComplexProperty.Collection<ExplicitAssortmentModuleVers,SAP__Message> _MESSAGES
public static final NavigationProperty.Collection<ExplicitAssortmentModuleVers,ProductToExplicitAsstmtMdlVers> TO__PRODUCT
public static final NavigationProperty.Collection<ExplicitAssortmentModuleVers,AssortmentModuleVersionText> TO__TEXT
public 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)
@Nonnull public Class<ExplicitAssortmentModuleVers> getType()
getType
in class VdmObject<ExplicitAssortmentModuleVers>
public void setAssortmentModuleVersionUUID(@Nullable UUID assortmentModuleVersionUUID)
Original property name from the Odata EDM: AssortmentModuleVersionUUID
assortmentModuleVersionUUID
- Universal Unique Identifier of Assortment Module Versionpublic void setAssortmentModuleName(@Nullable String assortmentModuleName)
Original property name from the Odata EDM: AssortmentModuleName
assortmentModuleName
- Assortment Module Namepublic void setValidityStartDate(@Nullable LocalDate validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Valid Frompublic void setValidityEndDate(@Nullable LocalDate validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- Valid Topublic void setLastChangeDate(@Nullable LocalDate lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
lastChangeDate
- The lastChangeDate to set.public void setLastChangedByUserName(@Nullable String lastChangedByUserName)
Original property name from the Odata EDM: LastChangedByUserName
lastChangedByUserName
- User Name of the User Who Last Changed an Objectpublic void set_Messages(@Nullable Collection<SAP__Message> _Messages)
Original property name from the Odata EDM: SAP__Messages
_Messages
- The _Messages to set.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ExplicitAssortmentModuleVers>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<ExplicitAssortmentModuleVers>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<ExplicitAssortmentModuleVers>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<ExplicitAssortmentModuleVers>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ExplicitAssortmentModuleVers>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<ExplicitAssortmentModuleVers>
@Nonnull public io.vavr.control.Option<List<ProductToExplicitAsstmtMdlVers>> getProductIfPresent()
If the navigation property for an entity ExplicitAssortmentModuleVers 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<ProductToExplicitAsstmtMdlVers> value)
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.
value
- List of ProductToExplicitAsstmtMdlVers entities.public void addProduct(ProductToExplicitAsstmtMdlVers... entity)
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.
entity
- Array of ProductToExplicitAsstmtMdlVers entities.@Nonnull public io.vavr.control.Option<List<AssortmentModuleVersionText>> getTextIfPresent()
If the navigation property for an entity ExplicitAssortmentModuleVers 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 setText(@Nonnull List<AssortmentModuleVersionText> value)
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.
value
- List of AssortmentModuleVersionText entities.public void addText(AssortmentModuleVersionText... entity)
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.
entity
- Array of AssortmentModuleVersionText entities.@Nonnull public static ExplicitAssortmentModuleVers.ExplicitAssortmentModuleVersBuilder builder()
@Nullable public UUID getAssortmentModuleVersionUUID()
Original property name from the Odata EDM: AssortmentModuleVersionUUID
@Nullable public String getAssortmentModuleName()
Original property name from the Odata EDM: AssortmentModuleName
@Nullable public LocalDate getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
@Nullable public LocalDate getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public LocalDate getLastChangeDate()
Original property name from the Odata EDM: LastChangeDate
@Nullable public String getLastChangedByUserName()
Original property name from the Odata EDM: LastChangedByUserName
@Nullable public Collection<SAP__Message> get_Messages()
Original property name from the Odata EDM: SAP__Messages
@Nonnull public String toString()
toString
in class VdmObject<ExplicitAssortmentModuleVers>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ExplicitAssortmentModuleVers>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ExplicitAssortmentModuleVers>
public int hashCode()
hashCode
in class VdmEntity<ExplicitAssortmentModuleVers>
public String getOdataType()
getOdataType
in class VdmObject<ExplicitAssortmentModuleVers>
Copyright © 2021 SAP SE. All rights reserved.