public class ProcessingStatus extends VdmEntity<ProcessingStatus>
Original entity name from the Odata EDM: ProcessingStatusType
Modifier and Type | Class and Description |
---|---|
static class |
ProcessingStatus.ProcessingStatusBuilder
Helper class to allow for fluent creation of ProcessingStatus instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<ProcessingStatus> |
ALL_FIELDS
Selector for all available fields of ProcessingStatus.
|
static SimpleProperty.String<ProcessingStatus> |
PROCESSING_STATUS |
static SimpleProperty.String<ProcessingStatus> |
PROCESSING_STATUS_TEXT |
static NavigationProperty.Collection<ProcessingStatus,ProcessingStatusText> |
TO__PROCESSING_STATUS_TEXT
Use with available request builders to apply the _ProcessingStatusText navigation property to query
operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
ProcessingStatus() |
ProcessingStatus(String processingStatus,
String processingStatusText,
List<ProcessingStatusText> to_ProcessingStatusText) |
Modifier and Type | Method and Description |
---|---|
void |
addProcessingStatusText(ProcessingStatusText... entity)
Adds elements to the list of associated ProcessingStatusText entities.
|
static ProcessingStatus.ProcessingStatusBuilder |
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.
|
protected ODataEntityKey |
getKey() |
String |
getOdataType() |
String |
getProcessingStatus()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getProcessingStatusText()
Constraints: Not nullable, Maximum length: 60
|
io.vavr.control.Option<List<ProcessingStatusText>> |
getProcessingStatusTextIfPresent()
Retrieval of associated ProcessingStatusText entities (one to many).
|
Class<ProcessingStatus> |
getType() |
int |
hashCode() |
void |
setProcessingStatus(String processingStatus)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setProcessingStatusText(List<ProcessingStatusText> value)
Overwrites the list of associated ProcessingStatusText entities for the loaded navigation property
_ProcessingStatusText.
|
void |
setProcessingStatusText(String processingStatusText)
Constraints: Not nullable, Maximum length: 60
|
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<ProcessingStatus> ALL_FIELDS
public static final SimpleProperty.String<ProcessingStatus> PROCESSING_STATUS
public static final SimpleProperty.String<ProcessingStatus> PROCESSING_STATUS_TEXT
public static final NavigationProperty.Collection<ProcessingStatus,ProcessingStatusText> TO__PROCESSING_STATUS_TEXT
@Nonnull public Class<ProcessingStatus> getType()
getType
in class VdmObject<ProcessingStatus>
public void setProcessingStatus(@Nullable String processingStatus)
Original property name from the Odata EDM: ProcessingStatus
processingStatus
- Processing Statuspublic void setProcessingStatusText(@Nullable String processingStatusText)
Original property name from the Odata EDM: ProcessingStatusText
processingStatusText
- Processing Status Textprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProcessingStatus>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<ProcessingStatus>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<ProcessingStatus>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<ProcessingStatus>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProcessingStatus>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<ProcessingStatus>
@Nonnull public io.vavr.control.Option<List<ProcessingStatusText>> getProcessingStatusTextIfPresent()
If the navigation property for an entity ProcessingStatus 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 setProcessingStatusText(@Nonnull List<ProcessingStatusText> value)
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.
value
- List of ProcessingStatusText entities.public void addProcessingStatusText(ProcessingStatusText... entity)
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.
entity
- Array of ProcessingStatusText entities.@Nonnull public static ProcessingStatus.ProcessingStatusBuilder builder()
@Nullable public String getProcessingStatus()
Original property name from the Odata EDM: ProcessingStatus
@Nullable public String getProcessingStatusText()
Original property name from the Odata EDM: ProcessingStatusText
@Nonnull public String toString()
toString
in class VdmObject<ProcessingStatus>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ProcessingStatus>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ProcessingStatus>
public int hashCode()
hashCode
in class VdmEntity<ProcessingStatus>
public String getOdataType()
getOdataType
in class VdmObject<ProcessingStatus>
Copyright © 2021 SAP SE. All rights reserved.