public class SlsQtanSubsqntProcFlow extends VdmEntity<SlsQtanSubsqntProcFlow>
Original entity name from the Odata EDM: A_SlsQtanSubsqntProcFlowType
Modifier and Type | Class and Description |
---|---|
static class |
SlsQtanSubsqntProcFlow.SlsQtanSubsqntProcFlowBuilder
Helper class to allow for fluent creation of SlsQtanSubsqntProcFlow instances.
|
Modifier and Type | Field and Description |
---|---|
static SlsQtanSubsqntProcFlowSelectable |
ALL_FIELDS
Selector for all available fields of SlsQtanSubsqntProcFlow.
|
static SlsQtanSubsqntProcFlowField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static SlsQtanSubsqntProcFlowField<LocalTime> |
CREATION_TIME
Use with available fluent helpers to apply the CreationTime field to query operations.
|
static SlsQtanSubsqntProcFlowField<UUID> |
DOC_RELATIONSHIP_UUID
Use with available fluent helpers to apply the DocRelationshipUUID field to query operations.
|
static SlsQtanSubsqntProcFlowField<LocalDateTime> |
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations.
|
static SlsQtanSubsqntProcFlowField<String> |
PROCESS_FLOW_LEVEL
Use with available fluent helpers to apply the ProcessFlowLevel field to query operations.
|
static SlsQtanSubsqntProcFlowField<String> |
SALES_QUOTATION
Use with available fluent helpers to apply the SalesQuotation field to query operations.
|
static SlsQtanSubsqntProcFlowField<String> |
SD_DOCUMENT_STATUS_DESC
Use with available fluent helpers to apply the SDDocumentStatusDesc field to query operations.
|
static SlsQtanSubsqntProcFlowField<String> |
STATUS_CODE
Use with available fluent helpers to apply the StatusCode field to query operations.
|
static SlsQtanSubsqntProcFlowField<String> |
SUBSEQUENT_DOCUMENT
Use with available fluent helpers to apply the SubsequentDocument field to query operations.
|
static SlsQtanSubsqntProcFlowField<String> |
SUBSEQUENT_DOCUMENT_CATEGORY
Use with available fluent helpers to apply the SubsequentDocumentCategory field to query operations.
|
static SlsQtanSubsqntProcFlowOneToOneLink<SalesQuotation> |
TO_SALES_QUOTATION
Use with available fluent helpers to apply the to_SalesQuotation navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SlsQtanSubsqntProcFlow() |
SlsQtanSubsqntProcFlow(String salesQuotation,
UUID docRelationshipUUID,
String subsequentDocument,
String subsequentDocumentCategory,
String processFlowLevel,
String statusCode,
String sDDocumentStatusDesc,
LocalDateTime creationDate,
LocalTime creationTime,
LocalDateTime lastChangeDate,
SalesQuotation toSalesQuotation) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination) |
static SlsQtanSubsqntProcFlow.SlsQtanSubsqntProcFlowBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
SalesQuotation |
fetchSalesQuotation()
Fetches the SalesQuotation entity (one to one) associated with this entity.
|
static <T> SlsQtanSubsqntProcFlowField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
LocalDateTime |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
LocalTime |
getCreationTime()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath() |
HttpDestinationProperties |
getDestinationForFetch() |
UUID |
getDocRelationshipUUID()
(Key Field) Constraints: Not nullable
|
protected String |
getEntityCollection() |
protected Map<String,Object> |
getKey() |
LocalDateTime |
getLastChangeDate()
Constraints: Not nullable, Precision: 0
|
String |
getProcessFlowLevel()
Constraints: Not nullable, Maximum length: 2
|
String |
getSalesQuotation()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<SalesQuotation> |
getSalesQuotationIfPresent()
Retrieval of associated SalesQuotation entity (one to one).
|
SalesQuotation |
getSalesQuotationOrFetch()
Retrieval of associated SalesQuotation entity (one to one).
|
String |
getSDDocumentStatusDesc()
Constraints: Not nullable, Maximum length: 20
|
String |
getStatusCode()
Constraints: Not nullable, Maximum length: 1
|
String |
getSubsequentDocument()
Constraints: Not nullable, Maximum length: 10
|
String |
getSubsequentDocumentCategory()
Constraints: Not nullable, Maximum length: 4
|
Class<SlsQtanSubsqntProcFlow> |
getType() |
int |
hashCode() |
void |
setCreationDate(LocalDateTime creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setCreationTime(LocalTime creationTime)
Constraints: Not nullable, Precision: 0
|
void |
setDocRelationshipUUID(UUID docRelationshipUUID)
(Key Field) Constraints: Not nullable
|
void |
setLastChangeDate(LocalDateTime lastChangeDate)
Constraints: Not nullable, Precision: 0
|
void |
setProcessFlowLevel(String processFlowLevel)
Constraints: Not nullable, Maximum length: 2
|
void |
setSalesQuotation(SalesQuotation value)
Overwrites the associated SalesQuotation entity for the loaded navigation property
to_SalesQuotation.
|
void |
setSalesQuotation(String salesQuotation)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSDDocumentStatusDesc(String sDDocumentStatusDesc)
Constraints: Not nullable, Maximum length: 20
|
protected void |
setServicePathForFetch(String servicePathForFetch) |
void |
setStatusCode(String statusCode)
Constraints: Not nullable, Maximum length: 1
|
void |
setSubsequentDocument(String subsequentDocument)
Constraints: Not nullable, Maximum length: 10
|
void |
setSubsequentDocumentCategory(String subsequentDocumentCategory)
Constraints: Not nullable, Maximum length: 4
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SlsQtanSubsqntProcFlowSelectable ALL_FIELDS
public static final SlsQtanSubsqntProcFlowField<String> SALES_QUOTATION
public static final SlsQtanSubsqntProcFlowField<UUID> DOC_RELATIONSHIP_UUID
public static final SlsQtanSubsqntProcFlowField<String> SUBSEQUENT_DOCUMENT
public static final SlsQtanSubsqntProcFlowField<String> SUBSEQUENT_DOCUMENT_CATEGORY
public static final SlsQtanSubsqntProcFlowField<String> PROCESS_FLOW_LEVEL
public static final SlsQtanSubsqntProcFlowField<String> STATUS_CODE
public static final SlsQtanSubsqntProcFlowField<String> SD_DOCUMENT_STATUS_DESC
public static final SlsQtanSubsqntProcFlowField<LocalDateTime> CREATION_DATE
public static final SlsQtanSubsqntProcFlowField<LocalTime> CREATION_TIME
public static final SlsQtanSubsqntProcFlowField<LocalDateTime> LAST_CHANGE_DATE
public static final SlsQtanSubsqntProcFlowOneToOneLink<SalesQuotation> TO_SALES_QUOTATION
public SlsQtanSubsqntProcFlow()
public SlsQtanSubsqntProcFlow(@Nullable String salesQuotation, @Nullable UUID docRelationshipUUID, @Nullable String subsequentDocument, @Nullable String subsequentDocumentCategory, @Nullable String processFlowLevel, @Nullable String statusCode, @Nullable String sDDocumentStatusDesc, @Nullable LocalDateTime creationDate, @Nullable LocalTime creationTime, @Nullable LocalDateTime lastChangeDate, @Nullable SalesQuotation toSalesQuotation)
@Nonnull public Class<SlsQtanSubsqntProcFlow> getType()
getType
in class VdmObject<SlsQtanSubsqntProcFlow>
public void setSalesQuotation(@Nullable String salesQuotation)
Original property name from the Odata EDM: SalesQuotation
salesQuotation
- Preceding sales and distribution documentpublic void setDocRelationshipUUID(@Nullable UUID docRelationshipUUID)
Original property name from the Odata EDM: DocRelationshipUUID
docRelationshipUUID
- SD Unique Document Relationship Identificationpublic void setSubsequentDocument(@Nullable String subsequentDocument)
Original property name from the Odata EDM: SubsequentDocument
subsequentDocument
- Subsequent Sales and Distribution Documentpublic void setSubsequentDocumentCategory(@Nullable String subsequentDocumentCategory)
Original property name from the Odata EDM: SubsequentDocumentCategory
subsequentDocumentCategory
- Document Category of Subsequent Documentpublic void setProcessFlowLevel(@Nullable String processFlowLevel)
Original property name from the Odata EDM: ProcessFlowLevel
processFlowLevel
- Level of the document flow recordpublic void setStatusCode(@Nullable String statusCode)
Original property name from the Odata EDM: StatusCode
statusCode
- General SD statuspublic void setSDDocumentStatusDesc(@Nullable String sDDocumentStatusDesc)
Original property name from the Odata EDM: SDDocumentStatusDesc
sDDocumentStatusDesc
- Status Descriptionpublic void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Record Created Onpublic void setCreationTime(@Nullable LocalTime creationTime)
Original property name from the Odata EDM: CreationTime
creationTime
- Entry timepublic void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
lastChangeDate
- Last Changed Onprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<SlsQtanSubsqntProcFlow>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SlsQtanSubsqntProcFlow>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SlsQtanSubsqntProcFlow>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SlsQtanSubsqntProcFlow>
@Nonnull public static <T> SlsQtanSubsqntProcFlowField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> SlsQtanSubsqntProcFlowField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
getDestinationForFetch
in class VdmEntity<SlsQtanSubsqntProcFlow>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
setServicePathForFetch
in class VdmEntity<SlsQtanSubsqntProcFlow>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
attachToService
in class VdmEntity<SlsQtanSubsqntProcFlow>
protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<SlsQtanSubsqntProcFlow>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<SlsQtanSubsqntProcFlow>
@Nullable public SalesQuotation fetchSalesQuotation()
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.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.@Nullable public SalesQuotation getSalesQuotationOrFetch()
If the navigation property to_SalesQuotation of a queried SlsQtanSubsqntProcFlow 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.
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.@Nonnull public io.vavr.control.Option<SalesQuotation> getSalesQuotationIfPresent()
If the navigation property for an entity SlsQtanSubsqntProcFlow 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 setSalesQuotation(SalesQuotation value)
value
- New SalesQuotation entity.@Nonnull public static SlsQtanSubsqntProcFlow.SlsQtanSubsqntProcFlowBuilder builder()
@Nullable public String getSalesQuotation()
Original property name from the Odata EDM: SalesQuotation
@Nullable public UUID getDocRelationshipUUID()
Original property name from the Odata EDM: DocRelationshipUUID
@Nullable public String getSubsequentDocument()
Original property name from the Odata EDM: SubsequentDocument
@Nullable public String getSubsequentDocumentCategory()
Original property name from the Odata EDM: SubsequentDocumentCategory
@Nullable public String getProcessFlowLevel()
Original property name from the Odata EDM: ProcessFlowLevel
@Nullable public String getStatusCode()
Original property name from the Odata EDM: StatusCode
@Nullable public String getSDDocumentStatusDesc()
Original property name from the Odata EDM: SDDocumentStatusDesc
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
@Nullable public LocalTime getCreationTime()
Original property name from the Odata EDM: CreationTime
@Nullable public LocalDateTime getLastChangeDate()
Original property name from the Odata EDM: LastChangeDate
@Nonnull public String toString()
toString
in class VdmObject<SlsQtanSubsqntProcFlow>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<SlsQtanSubsqntProcFlow>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<SlsQtanSubsqntProcFlow>
public int hashCode()
hashCode
in class VdmEntity<SlsQtanSubsqntProcFlow>
Copyright © 2022 SAP SE. All rights reserved.