public class ProdUnivHierProdByHierNode extends VdmEntity<ProdUnivHierProdByHierNode>
Original entity name from the Odata EDM: ProdUnivHierProdByHierNodeType
Modifier and Type | Class and Description |
---|---|
static class |
ProdUnivHierProdByHierNode.ProdUnivHierProdByHierNodeBuilder
Helper class to allow for fluent creation of ProdUnivHierProdByHierNode instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<ProdUnivHierProdByHierNode> |
ALL_FIELDS
Selector for all available fields of ProdUnivHierProdByHierNode.
|
static SimpleProperty.String<ProdUnivHierProdByHierNode> |
HIERARCHY_NODE |
static SimpleProperty.String<ProdUnivHierProdByHierNode> |
NODE_TYPE |
static SimpleProperty.String<ProdUnivHierProdByHierNode> |
PARENT_NODE |
static SimpleProperty.Date<ProdUnivHierProdByHierNode> |
PROD_HIERARCHY_VALIDITY_END_DATE |
static SimpleProperty.Date<ProdUnivHierProdByHierNode> |
PROD_HIERARCHY_VALIDITY_START_DATE |
static SimpleProperty.String<ProdUnivHierProdByHierNode> |
PROD_UNIV_HIERARCHY |
static SimpleProperty.String<ProdUnivHierProdByHierNode> |
PRODUCT |
static SimpleProperty.String<ProdUnivHierProdByHierNode> |
PRODUCT_TEXT |
static NavigationProperty.Single<ProdUnivHierProdByHierNode,ProdUnivHierNormalNode> |
TO__PROD_UNIV_HIER_NORMAL_NODE
Use with available request builders to apply the _ProdUnivHierNormalNode navigation property to query
operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
ProdUnivHierProdByHierNode() |
ProdUnivHierProdByHierNode(String prodUnivHierarchy,
String hierarchyNode,
LocalDate prodHierarchyValidityEndDate,
String product,
String product_Text,
LocalDate prodHierarchyValidityStartDate,
String parentNode,
String nodeType,
ProdUnivHierNormalNode to_ProdUnivHierNormalNode) |
Modifier and Type | Method and Description |
---|---|
static ProdUnivHierProdByHierNode.ProdUnivHierProdByHierNodeBuilder |
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()
(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 |
getProduct_Text()
Constraints: Not nullable, Maximum length: 40
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 18
|
String |
getProdUnivHierarchy()
(Key Field) Constraints: Not nullable, Maximum length: 20
|
io.vavr.control.Option<ProdUnivHierNormalNode> |
getProdUnivHierNormalNodeIfPresent()
Retrieval of associated ProdUnivHierNormalNode entity (one to one).
|
Class<ProdUnivHierProdByHierNode> |
getType() |
int |
hashCode() |
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 |
setProduct_Text(String product_Text)
Constraints: Not nullable, Maximum length: 40
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 18
|
void |
setProdUnivHierarchy(String prodUnivHierarchy)
(Key Field) Constraints: Not nullable, Maximum length: 20
|
void |
setProdUnivHierNormalNode(ProdUnivHierNormalNode value)
Overwrites the associated ProdUnivHierNormalNode entity for the loaded navigation property
_ProdUnivHierNormalNode.
|
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<ProdUnivHierProdByHierNode> ALL_FIELDS
public static final SimpleProperty.String<ProdUnivHierProdByHierNode> PROD_UNIV_HIERARCHY
public static final SimpleProperty.String<ProdUnivHierProdByHierNode> HIERARCHY_NODE
public static final SimpleProperty.Date<ProdUnivHierProdByHierNode> PROD_HIERARCHY_VALIDITY_END_DATE
public static final SimpleProperty.String<ProdUnivHierProdByHierNode> PRODUCT
public static final SimpleProperty.String<ProdUnivHierProdByHierNode> PRODUCT_TEXT
public static final SimpleProperty.Date<ProdUnivHierProdByHierNode> PROD_HIERARCHY_VALIDITY_START_DATE
public static final SimpleProperty.String<ProdUnivHierProdByHierNode> PARENT_NODE
public static final SimpleProperty.String<ProdUnivHierProdByHierNode> NODE_TYPE
public static final NavigationProperty.Single<ProdUnivHierProdByHierNode,ProdUnivHierNormalNode> TO__PROD_UNIV_HIER_NORMAL_NODE
public ProdUnivHierProdByHierNode()
public ProdUnivHierProdByHierNode(@Nullable String prodUnivHierarchy, @Nullable String hierarchyNode, @Nullable LocalDate prodHierarchyValidityEndDate, @Nullable String product, @Nullable String product_Text, @Nullable LocalDate prodHierarchyValidityStartDate, @Nullable String parentNode, @Nullable String nodeType, @Nullable ProdUnivHierNormalNode to_ProdUnivHierNormalNode)
@Nonnull public Class<ProdUnivHierProdByHierNode> getType()
getType
in class VdmObject<ProdUnivHierProdByHierNode>
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 setProdHierarchyValidityEndDate(@Nullable LocalDate prodHierarchyValidityEndDate)
Original property name from the Odata EDM: ProdHierarchyValidityEndDate
prodHierarchyValidityEndDate
- Validity End Datepublic void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Product Numberpublic void setProduct_Text(@Nullable String product_Text)
Original property name from the Odata EDM: Product_Text
product_Text
- Product Descriptionpublic 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<ProdUnivHierProdByHierNode>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<ProdUnivHierProdByHierNode>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<ProdUnivHierProdByHierNode>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<ProdUnivHierProdByHierNode>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProdUnivHierProdByHierNode>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<ProdUnivHierProdByHierNode>
@Nonnull public io.vavr.control.Option<ProdUnivHierNormalNode> getProdUnivHierNormalNodeIfPresent()
If the navigation property for an entity ProdUnivHierProdByHierNode 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 setProdUnivHierNormalNode(ProdUnivHierNormalNode value)
value
- New ProdUnivHierNormalNode entity.@Nonnull public static ProdUnivHierProdByHierNode.ProdUnivHierProdByHierNodeBuilder 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 LocalDate getProdHierarchyValidityEndDate()
Original property name from the Odata EDM: ProdHierarchyValidityEndDate
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getProduct_Text()
Original property name from the Odata EDM: Product_Text
@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<ProdUnivHierProdByHierNode>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ProdUnivHierProdByHierNode>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ProdUnivHierProdByHierNode>
public int hashCode()
hashCode
in class VdmEntity<ProdUnivHierProdByHierNode>
public String getOdataType()
getOdataType
in class VdmObject<ProdUnivHierProdByHierNode>
Copyright © 2021 SAP SE. All rights reserved.