Class SubitemHierText
Original entity name from the Odata EDM: SubitemHierTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SubitemHierText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SubitemHierTextSelectableSelector for all available fields of SubitemHierText.static final SubitemHierTextField<String>Use with available fluent helpers to apply the ConsolidationSubitemHierarchy field to query operations.static final SubitemHierTextField<String>Use with available fluent helpers to apply the HierarchyNode field to query operations.static final SubitemHierTextField<String>Use with available fluent helpers to apply the HierarchyNodeText field to query operations.static final SubitemHierTextField<String>Use with available fluent helpers to apply the Language field to query operations.static final SubitemHierTextField<String>Use with available fluent helpers to apply the NodeType field to query operations.static final SubitemHierTextField<String>Use with available fluent helpers to apply the SubItemCategory field to query operations.static final SubitemHierTextField<String>Use with available fluent helpers to apply the SubItemCategory_Text field to query operations.static final SubitemHierTextOneToOneLink<SubitemHier>Use with available fluent helpers to apply the to_CnsldtnSubitemHier navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSubitemHierText(String language, String consolidationSubitemHierarchy, String hierarchyNode, String subItemCategory, String subItemCategory_Text, String hierarchyNodeText, String nodeType, SubitemHier toCnsldtnSubitemHier) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the SubitemHier entity (one to one) associated with this entity.static <T,DomainT>
SubitemHierTextField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SubitemHierTextField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidio.vavr.control.Option<SubitemHier>Retrieval of associated SubitemHier entity (one to one).Retrieval of associated SubitemHier entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 42protected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 50Constraints: Not nullable, Maximum length: 50getKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 30getType()inthashCode()voidsetCnsldtnSubitemHier(SubitemHier value) Overwrites the associated SubitemHier entity for the loaded navigation property to_CnsldtnSubitemHier.voidsetConsolidationSubitemHierarchy(String consolidationSubitemHierarchy) (Key Field) Constraints: Not nullable, Maximum length: 42voidsetHierarchyNode(String hierarchyNode) (Key Field) Constraints: Not nullable, Maximum length: 50voidsetHierarchyNodeText(String hierarchyNodeText) Constraints: Not nullable, Maximum length: 50voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetNodeType(String nodeType) Constraints: Not nullable, Maximum length: 1protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSubItemCategory(String subItemCategory) Constraints: Not nullable, Maximum length: 3voidsetSubItemCategory_Text(String subItemCategory_Text) Constraints: Not nullable, Maximum length: 30toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of SubitemHierText. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
CONSOLIDATION_SUBITEM_HIERARCHY
Use with available fluent helpers to apply the ConsolidationSubitemHierarchy field to query operations. -
HIERARCHY_NODE
Use with available fluent helpers to apply the HierarchyNode field to query operations. -
SUB_ITEM_CATEGORY
Use with available fluent helpers to apply the SubItemCategory field to query operations. -
SUB_ITEM_CATEGORY_TEXT
Use with available fluent helpers to apply the SubItemCategory_Text field to query operations. -
HIERARCHY_NODE_TEXT
Use with available fluent helpers to apply the HierarchyNodeText field to query operations. -
NODE_TYPE
Use with available fluent helpers to apply the NodeType field to query operations. -
TO_CNSLDTN_SUBITEM_HIER
Use with available fluent helpers to apply the to_CnsldtnSubitemHier navigation property to query operations.
-
-
Constructor Details
-
SubitemHierText
public SubitemHierText() -
SubitemHierText
public SubitemHierText(@Nullable String language, @Nullable String consolidationSubitemHierarchy, @Nullable String hierarchyNode, @Nullable String subItemCategory, @Nullable String subItemCategory_Text, @Nullable String hierarchyNodeText, @Nullable String nodeType, @Nullable SubitemHier toCnsldtnSubitemHier)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SubitemHierText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setConsolidationSubitemHierarchy
(Key Field) Constraints: Not nullable, Maximum length: 42Original property name from the Odata EDM: ConsolidationSubitemHierarchy
- Parameters:
consolidationSubitemHierarchy- Hierarchy ID
-
setHierarchyNode
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: HierarchyNode
- Parameters:
hierarchyNode- Hierarchy node
-
setSubItemCategory
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SubItemCategory
- Parameters:
subItemCategory- Subitem Category
-
setSubItemCategory_Text
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: SubItemCategory_Text
- Parameters:
subItemCategory_Text- Subitem Category Description
-
setHierarchyNodeText
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: HierarchyNodeText
- Parameters:
hierarchyNodeText- Hierarchy node description
-
setNodeType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: NodeType
- Parameters:
nodeType- Hierarchy node type
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SubitemHierText>
-
getKey
- Overrides:
getKeyin classVdmObject<SubitemHierText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SubitemHierText>
-
fromMap
- Overrides:
fromMapin classVdmObject<SubitemHierText>
-
field
@Nonnull public static <T> SubitemHierTextField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> SubitemHierTextField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<SubitemHierText>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SubitemHierText>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SubitemHierText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SubitemHierText>
-
fetchCnsldtnSubitemHier
Fetches the SubitemHier entity (one to one) associated with this entity. This corresponds to the OData navigation property to_CnsldtnSubitemHier.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated SubitemHier entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getCnsldtnSubitemHierOrFetch
Retrieval of associated SubitemHier entity (one to one). This corresponds to the OData navigation property to_CnsldtnSubitemHier.If the navigation property to_CnsldtnSubitemHier of a queried SubitemHierText 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.
- Returns:
- List of associated SubitemHier entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getCnsldtnSubitemHierIfPresent
Retrieval of associated SubitemHier entity (one to one). This corresponds to the OData navigation property to_CnsldtnSubitemHier.If the navigation property for an entity SubitemHierText has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_CnsldtnSubitemHier is already loaded, the result
will contain the SubitemHier entity. If not, an
Optionwith result stateemptyis returned.
-
setCnsldtnSubitemHier
Overwrites the associated SubitemHier entity for the loaded navigation property to_CnsldtnSubitemHier.- Parameters:
value- New SubitemHier entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getConsolidationSubitemHierarchy
(Key Field) Constraints: Not nullable, Maximum length: 42Original property name from the Odata EDM: ConsolidationSubitemHierarchy
- Returns:
- Hierarchy ID
-
getHierarchyNode
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: HierarchyNode
- Returns:
- Hierarchy node
-
getSubItemCategory
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SubItemCategory
- Returns:
- Subitem Category
-
getSubItemCategory_Text
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: SubItemCategory_Text
- Returns:
- Subitem Category Description
-
getHierarchyNodeText
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: HierarchyNodeText
- Returns:
- Hierarchy node description
-
getNodeType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: NodeType
- Returns:
- Hierarchy node type
-
toString
- Overrides:
toStringin classVdmObject<SubitemHierText>
-
equals
- Overrides:
equalsin classVdmEntity<SubitemHierText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SubitemHierText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SubitemHierText>
-