Class DocumentTypeHierText
Original entity name from the Odata EDM: DocumentTypeHierTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of DocumentTypeHierText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DocumentTypeHierTextSelectableSelector for all available fields of DocumentTypeHierText.static final DocumentTypeHierTextField<String>Use with available fluent helpers to apply the ConsolidationDocTypeHierarchy field to query operations.static final DocumentTypeHierTextField<String>Use with available fluent helpers to apply the HierarchyNode field to query operations.static final DocumentTypeHierTextField<String>Use with available fluent helpers to apply the HierarchyNodeText field to query operations.static final DocumentTypeHierTextField<String>Use with available fluent helpers to apply the Language field to query operations.static final DocumentTypeHierTextField<String>Use with available fluent helpers to apply the NodeType field to query operations.static final DocumentTypeHierTextOneToOneLink<DocumentTypeHier>Use with available fluent helpers to apply the to_CnsldtnDocumentTypeHier navigation property to query operations.static final DocumentTypeHierTextField<LocalDateTime>Use with available fluent helpers to apply the ValidityEndDate field to query operations.static final DocumentTypeHierTextField<LocalDateTime>Use with available fluent helpers to apply the ValidityStartDate field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionDocumentTypeHierText(String language, String consolidationDocTypeHierarchy, String hierarchyNode, LocalDateTime validityEndDate, LocalDateTime validityStartDate, String hierarchyNodeText, String nodeType, DocumentTypeHier toCnsldtnDocumentTypeHier) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the DocumentTypeHier entity (one to one) associated with this entity.static <T,DomainT>
DocumentTypeHierTextField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> DocumentTypeHierTextField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidio.vavr.control.Option<DocumentTypeHier>Retrieval of associated DocumentTypeHier entity (one to one).Retrieval of associated DocumentTypeHier 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: 1getType()(Key Field) Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0inthashCode()voidOverwrites the associated DocumentTypeHier entity for the loaded navigation property to_CnsldtnDocumentTypeHier.voidsetConsolidationDocTypeHierarchy(String consolidationDocTypeHierarchy) (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) voidsetValidityEndDate(LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0voidsetValidityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0toString()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 DocumentTypeHierText. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
CONSOLIDATION_DOC_TYPE_HIERARCHY
Use with available fluent helpers to apply the ConsolidationDocTypeHierarchy field to query operations. -
HIERARCHY_NODE
Use with available fluent helpers to apply the HierarchyNode field to query operations. -
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations. -
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate 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_DOCUMENT_TYPE_HIER
public static final DocumentTypeHierTextOneToOneLink<DocumentTypeHier> TO_CNSLDTN_DOCUMENT_TYPE_HIERUse with available fluent helpers to apply the to_CnsldtnDocumentTypeHier navigation property to query operations.
-
-
Constructor Details
-
DocumentTypeHierText
public DocumentTypeHierText() -
DocumentTypeHierText
public DocumentTypeHierText(@Nullable String language, @Nullable String consolidationDocTypeHierarchy, @Nullable String hierarchyNode, @Nullable LocalDateTime validityEndDate, @Nullable LocalDateTime validityStartDate, @Nullable String hierarchyNodeText, @Nullable String nodeType, @Nullable DocumentTypeHier toCnsldtnDocumentTypeHier)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<DocumentTypeHierText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setConsolidationDocTypeHierarchy
(Key Field) Constraints: Not nullable, Maximum length: 42Original property name from the Odata EDM: ConsolidationDocTypeHierarchy
- Parameters:
consolidationDocTypeHierarchy- Hierarchy ID
-
setHierarchyNode
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: HierarchyNode
- Parameters:
hierarchyNode- Hierarchy node
-
setValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Valid To Date
-
setValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Valid-From Date
-
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<DocumentTypeHierText>
-
getKey
- Overrides:
getKeyin classVdmObject<DocumentTypeHierText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<DocumentTypeHierText>
-
fromMap
- Overrides:
fromMapin classVdmObject<DocumentTypeHierText>
-
field
@Nonnull public static <T> DocumentTypeHierTextField<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> DocumentTypeHierTextField<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<DocumentTypeHierText>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<DocumentTypeHierText>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<DocumentTypeHierText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<DocumentTypeHierText>
-
fetchCnsldtnDocumentTypeHier
Fetches the DocumentTypeHier entity (one to one) associated with this entity. This corresponds to the OData navigation property to_CnsldtnDocumentTypeHier.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated DocumentTypeHier 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.
-
getCnsldtnDocumentTypeHierOrFetch
Retrieval of associated DocumentTypeHier entity (one to one). This corresponds to the OData navigation property to_CnsldtnDocumentTypeHier.If the navigation property to_CnsldtnDocumentTypeHier of a queried DocumentTypeHierText 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 DocumentTypeHier 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.
-
getCnsldtnDocumentTypeHierIfPresent
Retrieval of associated DocumentTypeHier entity (one to one). This corresponds to the OData navigation property to_CnsldtnDocumentTypeHier.If the navigation property for an entity DocumentTypeHierText 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_CnsldtnDocumentTypeHier is already loaded, the
result will contain the DocumentTypeHier entity. If not, an
Optionwith result stateemptyis returned.
-
setCnsldtnDocumentTypeHier
Overwrites the associated DocumentTypeHier entity for the loaded navigation property to_CnsldtnDocumentTypeHier.- Parameters:
value- New DocumentTypeHier entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getConsolidationDocTypeHierarchy
(Key Field) Constraints: Not nullable, Maximum length: 42Original property name from the Odata EDM: ConsolidationDocTypeHierarchy
- Returns:
- Hierarchy ID
-
getHierarchyNode
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: HierarchyNode
- Returns:
- Hierarchy node
-
getValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
- Valid To Date
-
getValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
- Valid-From Date
-
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<DocumentTypeHierText>
-
equals
- Overrides:
equalsin classVdmEntity<DocumentTypeHierText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<DocumentTypeHierText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<DocumentTypeHierText>
-