public class ProdUnivHierNormalNode extends VdmEntity<ProdUnivHierNormalNode>
Original entity name from the Odata EDM: ProdUnivHierNormalNodeType
Modifier and Type | Class and Description |
---|---|
static class |
ProdUnivHierNormalNode.ProdUnivHierNormalNodeBuilder
Helper class to allow for fluent creation of ProdUnivHierNormalNode instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<ProdUnivHierNormalNode> |
ALL_FIELDS
Selector for all available fields of ProdUnivHierNormalNode.
|
static SimpleProperty.String<ProdUnivHierNormalNode> |
HIERARCHY_NODE |
static SimpleProperty.String<ProdUnivHierNormalNode> |
HIERARCHY_NODE_TEXT |
static SimpleProperty.String<ProdUnivHierNormalNode> |
NODE_TYPE |
static SimpleProperty.String<ProdUnivHierNormalNode> |
PARENT_NODE |
static SimpleProperty.Date<ProdUnivHierNormalNode> |
PROD_HIERARCHY_VALIDITY_END_DATE |
static SimpleProperty.Date<ProdUnivHierNormalNode> |
PROD_HIERARCHY_VALIDITY_START_DATE |
static SimpleProperty.String<ProdUnivHierNormalNode> |
PROD_UNIV_HIERARCHY |
static NavigationProperty.Collection<ProdUnivHierNormalNode,ProdUnivHierProdByHierNode> |
TO__PROD_UNIV_HIER_PROD_BY_HIER_NODE
Use with available request builders to apply the _ProdUnivHierProdByHierNode navigation property to query
operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
ProdUnivHierNormalNode() |
ProdUnivHierNormalNode(String prodUnivHierarchy,
String hierarchyNode,
String hierarchyNode_Text,
LocalDate prodHierarchyValidityEndDate,
LocalDate prodHierarchyValidityStartDate,
String parentNode,
String nodeType,
List<ProdUnivHierProdByHierNode> to_ProdUnivHierProdByHierNode) |
Modifier and Type | Method and Description |
---|---|
void |
addProdUnivHierProdByHierNode(ProdUnivHierProdByHierNode... entity)
Adds elements to the list of associated ProdUnivHierProdByHierNode entities.
|
static ProdUnivHierNormalNode.ProdUnivHierNormalNodeBuilder |
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.
|
String |
getHierarchyNode_Text()
Constraints: Not nullable, Maximum length: 40
|
String |
getHierarchyNode()
(Key Field) Constraints: Not nullable, Maximum length: 50
|
protected ODataEntityKey |
getKey() |
String |
getNodeType()
Constraints: Not nullable, Maximum length: 1
|
String |
getOdataType() |
String |
getParentNode()
Constraints: Not nullable, Maximum length: 50
|
LocalDate |
getProdHierarchyValidityEndDate()
(Key Field) Constraints: Not nullable
|
LocalDate |
getProdHierarchyValidityStartDate()
Constraints: Nullable
|
String |
getProdUnivHierarchy()
(Key Field) Constraints: Not nullable, Maximum length: 20
|
io.vavr.control.Option<List<ProdUnivHierProdByHierNode>> |
getProdUnivHierProdByHierNodeIfPresent()
Retrieval of associated ProdUnivHierProdByHierNode entities (one to many).
|
Class<ProdUnivHierNormalNode> |
getType() |
int |
hashCode() |
void |
setHierarchyNode_Text(String hierarchyNode_Text)
Constraints: Not nullable, Maximum length: 40
|
void |
setHierarchyNode(String hierarchyNode)
(Key Field) Constraints: Not nullable, Maximum length: 50
|
void |
setNodeType(String nodeType)
Constraints: Not nullable, Maximum length: 1
|
void |
setParentNode(String parentNode)
Constraints: Not nullable, Maximum length: 50
|
void |
setProdHierarchyValidityEndDate(LocalDate prodHierarchyValidityEndDate)
(Key Field) Constraints: Not nullable
|
void |
setProdHierarchyValidityStartDate(LocalDate prodHierarchyValidityStartDate)
Constraints: Nullable
|
void |
setProdUnivHierarchy(String prodUnivHierarchy)
(Key Field) Constraints: Not nullable, Maximum length: 20
|
void |
setProdUnivHierProdByHierNode(List<ProdUnivHierProdByHierNode> value)
Overwrites the list of associated ProdUnivHierProdByHierNode entities for the loaded navigation property
_ProdUnivHierProdByHierNode.
|
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<ProdUnivHierNormalNode> ALL_FIELDS
public static final SimpleProperty.String<ProdUnivHierNormalNode> PROD_UNIV_HIERARCHY
public static final SimpleProperty.String<ProdUnivHierNormalNode> HIERARCHY_NODE
public static final SimpleProperty.String<ProdUnivHierNormalNode> HIERARCHY_NODE_TEXT
public static final SimpleProperty.Date<ProdUnivHierNormalNode> PROD_HIERARCHY_VALIDITY_END_DATE
public static final SimpleProperty.Date<ProdUnivHierNormalNode> PROD_HIERARCHY_VALIDITY_START_DATE
public static final SimpleProperty.String<ProdUnivHierNormalNode> PARENT_NODE
public static final SimpleProperty.String<ProdUnivHierNormalNode> NODE_TYPE
public static final NavigationProperty.Collection<ProdUnivHierNormalNode,ProdUnivHierProdByHierNode> TO__PROD_UNIV_HIER_PROD_BY_HIER_NODE
public ProdUnivHierNormalNode()
public ProdUnivHierNormalNode(@Nullable String prodUnivHierarchy, @Nullable String hierarchyNode, @Nullable String hierarchyNode_Text, @Nullable LocalDate prodHierarchyValidityEndDate, @Nullable LocalDate prodHierarchyValidityStartDate, @Nullable String parentNode, @Nullable String nodeType, List<ProdUnivHierProdByHierNode> to_ProdUnivHierProdByHierNode)
@Nonnull public Class<ProdUnivHierNormalNode> getType()
getType
in class VdmObject<ProdUnivHierNormalNode>
public void setProdUnivHierarchy(@Nullable String prodUnivHierarchy)
Original property name from the Odata EDM: ProdUnivHierarchy
prodUnivHierarchy
- Product Hierarchypublic void setHierarchyNode(@Nullable String hierarchyNode)
Original property name from the Odata EDM: HierarchyNode
hierarchyNode
- Hierarchy nodepublic void setHierarchyNode_Text(@Nullable String hierarchyNode_Text)
Original property name from the Odata EDM: HierarchyNode_Text
hierarchyNode_Text
- Product Hierarchy Node Value Textpublic 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 Datepublic void setParentNode(@Nullable String parentNode)
Original property name from the Odata EDM: ParentNode
parentNode
- Product Hierarchy Parent Nodepublic void setNodeType(@Nullable String nodeType)
Original property name from the Odata EDM: NodeType
nodeType
- Hierarchy node typeprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProdUnivHierNormalNode>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<ProdUnivHierNormalNode>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<ProdUnivHierNormalNode>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<ProdUnivHierNormalNode>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProdUnivHierNormalNode>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<ProdUnivHierNormalNode>
@Nonnull public io.vavr.control.Option<List<ProdUnivHierProdByHierNode>> getProdUnivHierProdByHierNodeIfPresent()
If the navigation property for an entity ProdUnivHierNormalNode 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 setProdUnivHierProdByHierNode(@Nonnull List<ProdUnivHierProdByHierNode> value)
If the navigation property _ProdUnivHierProdByHierNode of a queried ProdUnivHierNormalNode 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 ProdUnivHierProdByHierNode entities.public void addProdUnivHierProdByHierNode(ProdUnivHierProdByHierNode... entity)
If the navigation property _ProdUnivHierProdByHierNode of a queried ProdUnivHierNormalNode 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 ProdUnivHierProdByHierNode entities.@Nonnull public static ProdUnivHierNormalNode.ProdUnivHierNormalNodeBuilder builder()
@Nullable public String getProdUnivHierarchy()
Original property name from the Odata EDM: ProdUnivHierarchy
@Nullable public String getHierarchyNode()
Original property name from the Odata EDM: HierarchyNode
@Nullable public String getHierarchyNode_Text()
Original property name from the Odata EDM: HierarchyNode_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
@Nullable public String getParentNode()
Original property name from the Odata EDM: ParentNode
@Nullable public String getNodeType()
Original property name from the Odata EDM: NodeType
@Nonnull public String toString()
toString
in class VdmObject<ProdUnivHierNormalNode>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ProdUnivHierNormalNode>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ProdUnivHierNormalNode>
public int hashCode()
hashCode
in class VdmEntity<ProdUnivHierNormalNode>
public String getOdataType()
getOdataType
in class VdmObject<ProdUnivHierNormalNode>
Copyright © 2021 SAP SE. All rights reserved.