public class ProductToExplicitAssortmentMdl extends VdmEntity<ProductToExplicitAssortmentMdl>
Original entity name from the Odata EDM: ProductToExplicitAssortmentMdlType
Modifier and Type | Class and Description |
---|---|
static class |
ProductToExplicitAssortmentMdl.ProductToExplicitAssortmentMdlBuilder |
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<ProductToExplicitAssortmentMdl> |
ALL_FIELDS
Selector for all available fields of ProductToExplicitAssortmentMdl.
|
static SimpleProperty.String<ProductToExplicitAssortmentMdl> |
ASSORTMENT_MODULE_NAME |
static SimpleProperty.Guid<ProductToExplicitAssortmentMdl> |
ASSORTMENT_MODULE_UUID |
static SimpleProperty.Date<ProductToExplicitAssortmentMdl> |
LAST_CHANGE_DATE |
static SimpleProperty.String<ProductToExplicitAssortmentMdl> |
PRODUCT |
static SimpleProperty.Boolean<ProductToExplicitAssortmentMdl> |
PRODUCT_IS_MANDATORY_IN_ASSORTMENT |
static SimpleProperty.Date<ProductToExplicitAssortmentMdl> |
VALIDITY_END_DATE |
static SimpleProperty.Date<ProductToExplicitAssortmentMdl> |
VALIDITY_START_DATE |
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
ProductToExplicitAssortmentMdl() |
ProductToExplicitAssortmentMdl(UUID assortmentModuleUUID,
String product,
String assortmentModuleName,
Boolean productIsMandatoryInAssortment,
LocalDate validityStartDate,
LocalDate validityEndDate,
LocalDate lastChangeDate) |
Modifier and Type | Method and Description |
---|---|
static ProductToExplicitAssortmentMdl.ProductToExplicitAssortmentMdlBuilder |
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()
(Key Field) Constraints: Not nullable, Maximum length: 100
|
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.
|
protected ODataEntityKey |
getKey() |
LocalDate |
getLastChangeDate()
Constraints: Nullable
|
String |
getOdataType() |
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
Boolean |
getProductIsMandatoryInAssortment()
Constraints: Not nullable
|
Class<ProductToExplicitAssortmentMdl> |
getType() |
LocalDate |
getValidityEndDate()
Constraints: Nullable
|
LocalDate |
getValidityStartDate()
Constraints: Nullable
|
int |
hashCode() |
void |
setAssortmentModuleName(String assortmentModuleName)
(Key Field) Constraints: Not nullable, Maximum length: 100
|
void |
setAssortmentModuleUUID(UUID assortmentModuleUUID)
(Key Field) Constraints: Not nullable
|
void |
setLastChangeDate(LocalDate lastChangeDate)
Constraints: Nullable
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setProductIsMandatoryInAssortment(Boolean productIsMandatoryInAssortment)
Constraints: Not nullable
|
void |
setValidityEndDate(LocalDate validityEndDate)
Constraints: Nullable
|
void |
setValidityStartDate(LocalDate validityStartDate)
Constraints: Nullable
|
protected Map<String,Object> |
toMapOfFields()
Get all fields 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, toMapOfNavigationProperties
public static final SimpleProperty<ProductToExplicitAssortmentMdl> ALL_FIELDS
public static final SimpleProperty.Guid<ProductToExplicitAssortmentMdl> ASSORTMENT_MODULE_UUID
public static final SimpleProperty.String<ProductToExplicitAssortmentMdl> PRODUCT
public static final SimpleProperty.String<ProductToExplicitAssortmentMdl> ASSORTMENT_MODULE_NAME
public static final SimpleProperty.Boolean<ProductToExplicitAssortmentMdl> PRODUCT_IS_MANDATORY_IN_ASSORTMENT
public static final SimpleProperty.Date<ProductToExplicitAssortmentMdl> VALIDITY_START_DATE
public static final SimpleProperty.Date<ProductToExplicitAssortmentMdl> VALIDITY_END_DATE
public static final SimpleProperty.Date<ProductToExplicitAssortmentMdl> LAST_CHANGE_DATE
public ProductToExplicitAssortmentMdl()
public ProductToExplicitAssortmentMdl(@Nullable UUID assortmentModuleUUID, @Nullable String product, @Nullable String assortmentModuleName, @Nullable Boolean productIsMandatoryInAssortment, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable LocalDate lastChangeDate)
@Nonnull public Class<ProductToExplicitAssortmentMdl> getType()
getType
in class VdmObject<ProductToExplicitAssortmentMdl>
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 setAssortmentModuleName(@Nullable String assortmentModuleName)
Original property name from the Odata EDM: AssortmentModuleName
assortmentModuleName
- Assortment Module Namepublic void setProductIsMandatoryInAssortment(@Nullable Boolean productIsMandatoryInAssortment)
Original property name from the Odata EDM: ProductIsMandatoryInAssortment
productIsMandatoryInAssortment
- Product Is Mandatory for Assortment Userspublic 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.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProductToExplicitAssortmentMdl>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<ProductToExplicitAssortmentMdl>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<ProductToExplicitAssortmentMdl>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<ProductToExplicitAssortmentMdl>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProductToExplicitAssortmentMdl>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductToExplicitAssortmentMdl.ProductToExplicitAssortmentMdlBuilder 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 String getAssortmentModuleName()
Original property name from the Odata EDM: AssortmentModuleName
@Nullable public Boolean getProductIsMandatoryInAssortment()
Original property name from the Odata EDM: ProductIsMandatoryInAssortment
@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
@Nonnull public String toString()
toString
in class VdmObject<ProductToExplicitAssortmentMdl>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ProductToExplicitAssortmentMdl>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ProductToExplicitAssortmentMdl>
public int hashCode()
hashCode
in class VdmEntity<ProductToExplicitAssortmentMdl>
public String getOdataType()
getOdataType
in class VdmObject<ProductToExplicitAssortmentMdl>
Copyright © 2021 SAP SE. All rights reserved.