public class ProdUnivHierNodeByHierID extends VdmEntity<ProdUnivHierNodeByHierID>
Original entity name from the Odata EDM: ProdUnivHierNodeByHierIDType
Modifier and Type | Class and Description |
---|---|
static class |
ProdUnivHierNodeByHierID.ProdUnivHierNodeByHierIDBuilder
Helper class to allow for fluent creation of ProdUnivHierNodeByHierID instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<ProdUnivHierNodeByHierID> |
ALL_FIELDS
Selector for all available fields of ProdUnivHierNodeByHierID.
|
static SimpleProperty.String<ProdUnivHierNodeByHierID> |
HIERARCHY_NODE |
static SimpleProperty.String<ProdUnivHierNodeByHierID> |
NODE_TYPE |
static SimpleProperty.String<ProdUnivHierNodeByHierID> |
PARENT_NODE |
static SimpleProperty.Date<ProdUnivHierNodeByHierID> |
PROD_HIERARCHY_VALIDITY_END_DATE |
static SimpleProperty.Date<ProdUnivHierNodeByHierID> |
PROD_HIERARCHY_VALIDITY_START_DATE |
static SimpleProperty.String<ProdUnivHierNodeByHierID> |
PROD_UNIV_HIERARCHY |
static NavigationProperty.Single<ProdUnivHierNodeByHierID,ProdUniversalHierarchy> |
TO__PROD_UNIVERSAL_HIERARCHY
Use with available request builders to apply the _ProdUniversalHierarchy navigation property to query
operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
ProdUnivHierNodeByHierID() |
ProdUnivHierNodeByHierID(String prodUnivHierarchy,
String hierarchyNode,
LocalDate prodHierarchyValidityEndDate,
LocalDate prodHierarchyValidityStartDate,
String parentNode,
String nodeType,
ProdUniversalHierarchy to_ProdUniversalHierarchy) |
Modifier and Type | Method and Description |
---|---|
static ProdUnivHierNodeByHierID.ProdUnivHierNodeByHierIDBuilder |
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
|
io.vavr.control.Option<ProdUniversalHierarchy> |
getProdUniversalHierarchyIfPresent()
Retrieval of associated ProdUniversalHierarchy entity (one to one).
|
String |
getProdUnivHierarchy()
(Key Field) Constraints: Not nullable, Maximum length: 20
|
Class<ProdUnivHierNodeByHierID> |
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 |
setProdUniversalHierarchy(ProdUniversalHierarchy value)
Overwrites the associated ProdUniversalHierarchy entity for the loaded navigation property
_ProdUniversalHierarchy.
|
void |
setProdUnivHierarchy(String prodUnivHierarchy)
(Key Field) Constraints: Not nullable, Maximum length: 20
|
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<ProdUnivHierNodeByHierID> ALL_FIELDS
public static final SimpleProperty.String<ProdUnivHierNodeByHierID> PROD_UNIV_HIERARCHY
public static final SimpleProperty.String<ProdUnivHierNodeByHierID> HIERARCHY_NODE
public static final SimpleProperty.Date<ProdUnivHierNodeByHierID> PROD_HIERARCHY_VALIDITY_END_DATE
public static final SimpleProperty.Date<ProdUnivHierNodeByHierID> PROD_HIERARCHY_VALIDITY_START_DATE
public static final SimpleProperty.String<ProdUnivHierNodeByHierID> PARENT_NODE
public static final SimpleProperty.String<ProdUnivHierNodeByHierID> NODE_TYPE
public static final NavigationProperty.Single<ProdUnivHierNodeByHierID,ProdUniversalHierarchy> TO__PROD_UNIVERSAL_HIERARCHY
public ProdUnivHierNodeByHierID()
public ProdUnivHierNodeByHierID(@Nullable String prodUnivHierarchy, @Nullable String hierarchyNode, @Nullable LocalDate prodHierarchyValidityEndDate, @Nullable LocalDate prodHierarchyValidityStartDate, @Nullable String parentNode, @Nullable String nodeType, @Nullable ProdUniversalHierarchy to_ProdUniversalHierarchy)
@Nonnull public Class<ProdUnivHierNodeByHierID> getType()
getType
in class VdmObject<ProdUnivHierNodeByHierID>
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 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<ProdUnivHierNodeByHierID>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<ProdUnivHierNodeByHierID>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<ProdUnivHierNodeByHierID>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<ProdUnivHierNodeByHierID>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProdUnivHierNodeByHierID>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<ProdUnivHierNodeByHierID>
@Nonnull public io.vavr.control.Option<ProdUniversalHierarchy> getProdUniversalHierarchyIfPresent()
If the navigation property for an entity ProdUnivHierNodeByHierID 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 setProdUniversalHierarchy(ProdUniversalHierarchy value)
value
- New ProdUniversalHierarchy entity.@Nonnull public static ProdUnivHierNodeByHierID.ProdUnivHierNodeByHierIDBuilder 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 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<ProdUnivHierNodeByHierID>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ProdUnivHierNodeByHierID>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ProdUnivHierNodeByHierID>
public int hashCode()
hashCode
in class VdmEntity<ProdUnivHierNodeByHierID>
public String getOdataType()
getOdataType
in class VdmObject<ProdUnivHierNodeByHierID>
Copyright © 2021 SAP SE. All rights reserved.