public class ProdUniversalHierarchy extends VdmEntity<ProdUniversalHierarchy>
Original entity name from the Odata EDM: ProdUniversalHierarchyType
Modifier and Type | Class and Description |
---|---|
static class |
ProdUniversalHierarchy.ProdUniversalHierarchyBuilder
Helper class to allow for fluent creation of ProdUniversalHierarchy instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<ProdUniversalHierarchy> |
ALL_FIELDS
Selector for all available fields of ProdUniversalHierarchy.
|
static SimpleProperty.Date<ProdUniversalHierarchy> |
PROD_HIERARCHY_VALIDITY_END_DATE |
static SimpleProperty.Date<ProdUniversalHierarchy> |
PROD_HIERARCHY_VALIDITY_START_DATE |
static SimpleProperty.String<ProdUniversalHierarchy> |
PROD_UNIV_HIERARCHY |
static SimpleProperty.String<ProdUniversalHierarchy> |
PROD_UNIV_HIERARCHY_TEXT |
static NavigationProperty.Collection<ProdUniversalHierarchy,ProdUnivHierNodeByHierID> |
TO__PROD_UNIV_HIER_NODE_BY_HIER_ID
Use with available request builders to apply the _ProdUnivHierNodeByHierID navigation property to query
operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
ProdUniversalHierarchy() |
ProdUniversalHierarchy(String prodUnivHierarchy,
String prodUnivHierarchy_Text,
LocalDate prodHierarchyValidityEndDate,
LocalDate prodHierarchyValidityStartDate,
List<ProdUnivHierNodeByHierID> to_ProdUnivHierNodeByHierID) |
Modifier and Type | Method and Description |
---|---|
void |
addProdUnivHierNodeByHierID(ProdUnivHierNodeByHierID... entity)
Adds elements to the list of associated ProdUnivHierNodeByHierID entities.
|
static ProdUniversalHierarchy.ProdUniversalHierarchyBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
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() |
String |
getOdataType() |
LocalDate |
getProdHierarchyValidityEndDate()
(Key Field) Constraints: Not nullable
|
LocalDate |
getProdHierarchyValidityStartDate()
Constraints: Nullable
|
String |
getProdUnivHierarchy_Text()
Constraints: Not nullable, Maximum length: 50
|
String |
getProdUnivHierarchy()
(Key Field) Constraints: Not nullable, Maximum length: 20
|
io.vavr.control.Option<List<ProdUnivHierNodeByHierID>> |
getProdUnivHierNodeByHierIDIfPresent()
Retrieval of associated ProdUnivHierNodeByHierID entities (one to many).
|
Class<ProdUniversalHierarchy> |
getType() |
int |
hashCode() |
void |
setProdHierarchyValidityEndDate(LocalDate prodHierarchyValidityEndDate)
(Key Field) Constraints: Not nullable
|
void |
setProdHierarchyValidityStartDate(LocalDate prodHierarchyValidityStartDate)
Constraints: Nullable
|
void |
setProdUnivHierarchy_Text(String prodUnivHierarchy_Text)
Constraints: Not nullable, Maximum length: 50
|
void |
setProdUnivHierarchy(String prodUnivHierarchy)
(Key Field) Constraints: Not nullable, Maximum length: 20
|
void |
setProdUnivHierNodeByHierID(List<ProdUnivHierNodeByHierID> value)
Overwrites the list of associated ProdUnivHierNodeByHierID entities for the loaded navigation property
_ProdUnivHierNodeByHierID.
|
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<ProdUniversalHierarchy> ALL_FIELDS
public static final SimpleProperty.String<ProdUniversalHierarchy> PROD_UNIV_HIERARCHY
public static final SimpleProperty.String<ProdUniversalHierarchy> PROD_UNIV_HIERARCHY_TEXT
public static final SimpleProperty.Date<ProdUniversalHierarchy> PROD_HIERARCHY_VALIDITY_END_DATE
public static final SimpleProperty.Date<ProdUniversalHierarchy> PROD_HIERARCHY_VALIDITY_START_DATE
public static final NavigationProperty.Collection<ProdUniversalHierarchy,ProdUnivHierNodeByHierID> TO__PROD_UNIV_HIER_NODE_BY_HIER_ID
@Nonnull public Class<ProdUniversalHierarchy> getType()
getType
in class VdmObject<ProdUniversalHierarchy>
public void setProdUnivHierarchy(@Nullable String prodUnivHierarchy)
Original property name from the Odata EDM: ProdUnivHierarchy
prodUnivHierarchy
- Product Hierarchypublic void setProdUnivHierarchy_Text(@Nullable String prodUnivHierarchy_Text)
Original property name from the Odata EDM: ProdUnivHierarchy_Text
prodUnivHierarchy_Text
- Hierarchy descriptionpublic void setProdHierarchyValidityEndDate(@Nullable LocalDate prodHierarchyValidityEndDate)
Original property name from the Odata EDM: ProdHierarchyValidityEndDate
prodHierarchyValidityEndDate
- Validity End Datepublic void setProdHierarchyValidityStartDate(@Nullable LocalDate prodHierarchyValidityStartDate)
Original property name from the Odata EDM: ProdHierarchyValidityStartDate
prodHierarchyValidityStartDate
- Validity Start Dateprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProdUniversalHierarchy>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<ProdUniversalHierarchy>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<ProdUniversalHierarchy>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<ProdUniversalHierarchy>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProdUniversalHierarchy>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<ProdUniversalHierarchy>
@Nonnull public io.vavr.control.Option<List<ProdUnivHierNodeByHierID>> getProdUnivHierNodeByHierIDIfPresent()
If the navigation property for an entity ProdUniversalHierarchy 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 setProdUnivHierNodeByHierID(@Nonnull List<ProdUnivHierNodeByHierID> value)
If the navigation property _ProdUnivHierNodeByHierID of a queried ProdUniversalHierarchy 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 ProdUnivHierNodeByHierID entities.public void addProdUnivHierNodeByHierID(ProdUnivHierNodeByHierID... entity)
If the navigation property _ProdUnivHierNodeByHierID of a queried ProdUniversalHierarchy 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 ProdUnivHierNodeByHierID entities.@Nonnull public static ProdUniversalHierarchy.ProdUniversalHierarchyBuilder builder()
@Nullable public String getProdUnivHierarchy()
Original property name from the Odata EDM: ProdUnivHierarchy
@Nullable public String getProdUnivHierarchy_Text()
Original property name from the Odata EDM: ProdUnivHierarchy_Text
@Nullable public LocalDate getProdHierarchyValidityEndDate()
Original property name from the Odata EDM: ProdHierarchyValidityEndDate
@Nullable public LocalDate getProdHierarchyValidityStartDate()
Original property name from the Odata EDM: ProdHierarchyValidityStartDate
@Nonnull public String toString()
toString
in class VdmObject<ProdUniversalHierarchy>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ProdUniversalHierarchy>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ProdUniversalHierarchy>
public int hashCode()
hashCode
in class VdmEntity<ProdUniversalHierarchy>
public String getOdataType()
getOdataType
in class VdmObject<ProdUniversalHierarchy>
Copyright © 2021 SAP SE. All rights reserved.