public class ProductToExplicitAsstmtMdlVers extends VdmEntity<ProductToExplicitAsstmtMdlVers>
Original entity name from the Odata EDM: ProductToExplicitAsstmtMdlVersType
Modifier and Type | Class and Description |
---|---|
static class |
ProductToExplicitAsstmtMdlVers.ProductToExplicitAsstmtMdlVersBuilder
Helper class to allow for fluent creation of ProductToExplicitAsstmtMdlVers instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
ProductToExplicitAsstmtMdlVers() |
ProductToExplicitAsstmtMdlVers(UUID assortmentModuleUUID,
String product,
LocalDate validityStartDate,
LocalDate validityEndDate,
Boolean productIsMandatoryInAssortment,
LocalDate lastChangeDate,
String lastChangedByUserName,
Collection<SAP__Message> _Messages,
ExplicitAssortmentModuleVers to_ExplicitAssortmentModuleVers) |
Modifier and Type | Method and Description |
---|---|
static ProductToExplicitAsstmtMdlVers.ProductToExplicitAsstmtMdlVersBuilder |
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
|
UUID |
getAssortmentModuleUUID()
(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.
|
io.vavr.control.Option<ExplicitAssortmentModuleVers> |
getExplicitAssortmentModuleVersIfPresent()
Retrieval of associated ExplicitAssortmentModuleVers entity (one to one).
|
protected ODataEntityKey |
getKey() |
LocalDate |
getLastChangeDate()
Constraints: Nullable
|
String |
getLastChangedByUserName()
Constraints: Not nullable, Maximum length: 12
|
String |
getOdataType() |
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
Boolean |
getProductIsMandatoryInAssortment()
Constraints: Not nullable
|
Class<ProductToExplicitAsstmtMdlVers> |
getType() |
LocalDate |
getValidityEndDate()
(Key Field) Constraints: Not nullable
|
LocalDate |
getValidityStartDate()
(Key Field) Constraints: Not nullable
|
int |
hashCode() |
void |
set_Messages(Collection<SAP__Message> _Messages)
Constraints: Not nullable
|
void |
setAssortmentModuleUUID(UUID assortmentModuleUUID)
(Key Field) Constraints: Not nullable
|
void |
setExplicitAssortmentModuleVers(ExplicitAssortmentModuleVers value)
Overwrites the associated ExplicitAssortmentModuleVers entity for the loaded navigation property
_ExplicitAssortmentModuleVers.
|
void |
setLastChangeDate(LocalDate lastChangeDate)
Constraints: Nullable
|
void |
setLastChangedByUserName(String lastChangedByUserName)
Constraints: Not nullable, Maximum length: 12
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setProductIsMandatoryInAssortment(Boolean productIsMandatoryInAssortment)
Constraints: Not nullable
|
void |
setValidityEndDate(LocalDate validityEndDate)
(Key Field) Constraints: Not nullable
|
void |
setValidityStartDate(LocalDate validityStartDate)
(Key Field) Constraints: Not 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<ProductToExplicitAsstmtMdlVers> ALL_FIELDS
public static final SimpleProperty.Guid<ProductToExplicitAsstmtMdlVers> ASSORTMENT_MODULE_UUID
public static final SimpleProperty.String<ProductToExplicitAsstmtMdlVers> PRODUCT
public static final SimpleProperty.Date<ProductToExplicitAsstmtMdlVers> VALIDITY_START_DATE
public static final SimpleProperty.Date<ProductToExplicitAsstmtMdlVers> VALIDITY_END_DATE
public static final SimpleProperty.Boolean<ProductToExplicitAsstmtMdlVers> PRODUCT_IS_MANDATORY_IN_ASSORTMENT
public static final SimpleProperty.Date<ProductToExplicitAsstmtMdlVers> LAST_CHANGE_DATE
public static final SimpleProperty.String<ProductToExplicitAsstmtMdlVers> LAST_CHANGED_BY_USER_NAME
public static final ComplexProperty.Collection<ProductToExplicitAsstmtMdlVers,SAP__Message> _MESSAGES
public static final NavigationProperty.Single<ProductToExplicitAsstmtMdlVers,ExplicitAssortmentModuleVers> TO__EXPLICIT_ASSORTMENT_MODULE_VERS
public 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)
@Nonnull public Class<ProductToExplicitAsstmtMdlVers> getType()
getType
in class VdmObject<ProductToExplicitAsstmtMdlVers>
public void setAssortmentModuleUUID(@Nullable UUID assortmentModuleUUID)
Original property name from the Odata EDM: AssortmentModuleUUID
assortmentModuleUUID
- Assortment Internal Unique Identifierpublic void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Material Numberpublic void setValidityStartDate(@Nullable LocalDate validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Product Assignment Valid Frompublic void setValidityEndDate(@Nullable LocalDate validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- Product Assignment Valid Topublic void setProductIsMandatoryInAssortment(@Nullable Boolean productIsMandatoryInAssortment)
Original property name from the Odata EDM: ProductIsMandatoryInAssortment
productIsMandatoryInAssortment
- Product Is Mandatory for Assortment Userspublic void setLastChangeDate(@Nullable LocalDate lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
lastChangeDate
- Date On Which the Data Record Was Changed Lastpublic void setLastChangedByUserName(@Nullable String lastChangedByUserName)
Original property name from the Odata EDM: LastChangedByUserName
lastChangedByUserName
- User Name of the User Who Last Changed the Data Recordpublic 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<ProductToExplicitAsstmtMdlVers>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<ProductToExplicitAsstmtMdlVers>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<ProductToExplicitAsstmtMdlVers>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<ProductToExplicitAsstmtMdlVers>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProductToExplicitAsstmtMdlVers>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<ProductToExplicitAsstmtMdlVers>
@Nonnull public io.vavr.control.Option<ExplicitAssortmentModuleVers> getExplicitAssortmentModuleVersIfPresent()
If the navigation property for an entity ProductToExplicitAsstmtMdlVers 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 setExplicitAssortmentModuleVers(ExplicitAssortmentModuleVers value)
value
- New ExplicitAssortmentModuleVers entity.@Nonnull public static ProductToExplicitAsstmtMdlVers.ProductToExplicitAsstmtMdlVersBuilder builder()
@Nullable public UUID getAssortmentModuleUUID()
Original property name from the Odata EDM: AssortmentModuleUUID
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@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 Boolean getProductIsMandatoryInAssortment()
Original property name from the Odata EDM: ProductIsMandatoryInAssortment
@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<ProductToExplicitAsstmtMdlVers>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ProductToExplicitAsstmtMdlVers>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ProductToExplicitAsstmtMdlVers>
public int hashCode()
hashCode
in class VdmEntity<ProductToExplicitAsstmtMdlVers>
public String getOdataType()
getOdataType
in class VdmObject<ProductToExplicitAsstmtMdlVers>
Copyright © 2021 SAP SE. All rights reserved.