Class ProcessingStatus
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProcessingStatusType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProcessingStatus instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProcessingStatus>Selector for all available fields of ProcessingStatus.static final SimpleProperty.String<ProcessingStatus>static final SimpleProperty.String<ProcessingStatus>Use with available request builders to apply the _ProcessingStatusText navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProcessingStatus(String processingStatus, String processingStatusText, List<ProcessingStatusText> to_ProcessingStatusText) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProcessingStatusText(ProcessingStatusText... entity) Adds elements to the list of associated ProcessingStatusText entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<List<ProcessingStatusText>>Retrieval of associated ProcessingStatusText entities (one to many).getType()inthashCode()voidsetProcessingStatus(String processingStatus) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetProcessingStatusText(String processingStatusText) Constraints: Not nullable, Maximum length: 60voidOverwrites the list of associated ProcessingStatusText entities for the loaded navigation property _ProcessingStatusText.toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, 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 ProcessingStatus. -
PROCESSING_STATUS
-
PROCESSING_STATUS_TEXT
-
TO__PROCESSING_STATUS_TEXT
public static final NavigationProperty.Collection<ProcessingStatus,ProcessingStatusText> TO__PROCESSING_STATUS_TEXTUse with available request builders to apply the _ProcessingStatusText navigation property to query operations.
-
-
Constructor Details
-
ProcessingStatus
public ProcessingStatus() -
ProcessingStatus
public ProcessingStatus(@Nullable String processingStatus, @Nullable String processingStatusText, List<ProcessingStatusText> to_ProcessingStatusText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProcessingStatus>
-
setProcessingStatus
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProcessingStatus
- Parameters:
processingStatus- Processing Status
-
setProcessingStatusText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: ProcessingStatusText
- Parameters:
processingStatusText- Processing Status Text
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProcessingStatus>
-
getKey
- Overrides:
getKeyin classVdmObject<ProcessingStatus>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProcessingStatus>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProcessingStatus>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProcessingStatus>
-
getProcessingStatusTextIfPresent
@Nonnull public io.vavr.control.Option<List<ProcessingStatusText>> getProcessingStatusTextIfPresent()Retrieval of associated ProcessingStatusText entities (one to many). This corresponds to the OData navigation property _ProcessingStatusText.If the navigation property for an entity ProcessingStatus 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 _ProcessingStatusText is already loaded, the result
will contain the ProcessingStatusText entities. If not, an
Optionwith result stateemptyis returned.
-
setProcessingStatusText
Overwrites the list of associated ProcessingStatusText entities for the loaded navigation property _ProcessingStatusText.If the navigation property _ProcessingStatusText of a queried ProcessingStatus 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.
- Parameters:
value- List of ProcessingStatusText entities.
-
addProcessingStatusText
Adds elements to the list of associated ProcessingStatusText entities. This corresponds to the OData navigation property _ProcessingStatusText.If the navigation property _ProcessingStatusText of a queried ProcessingStatus 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.
- Parameters:
entity- Array of ProcessingStatusText entities.
-
builder
-
getProcessingStatus
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProcessingStatus
- Returns:
- Processing Status
-
getProcessingStatusText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: ProcessingStatusText
- Returns:
- Processing Status Text
-
toString
- Overrides:
toStringin classVdmObject<ProcessingStatus>
-
equals
- Overrides:
equalsin classVdmEntity<ProcessingStatus>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProcessingStatus>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProcessingStatus>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProcessingStatus>
-