Class KanbanDelivery
Original entity name from the Odata EDM: A_KanbanDeliveryType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of KanbanDelivery instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KanbanDeliverySelectableSelector for all available fields of KanbanDelivery.static final KanbanDeliveryField<String>Use with available fluent helpers to apply the CustomerReferenceNumber field to query operations.static final KanbanDeliveryField<String>Use with available fluent helpers to apply the DeliveryDocument field to query operations.static final KanbanDeliveryField<String>Use with available fluent helpers to apply the DeliveryDocumentItem field to query operations.static final KanbanDeliveryField<String>Use with available fluent helpers to apply the KanbanContainer field to query operations.static final KanbanDeliveryField<String>Use with available fluent helpers to apply the KanbanControlCycle field to query operations.static final KanbanDeliveryField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final KanbanDeliveryField<String>Use with available fluent helpers to apply the Plant field to query operations.static final KanbanDeliveryField<String>Use with available fluent helpers to apply the SoldToParty field to query operations.static final KanbanDeliveryOneToOneLink<KanbanContainer>Use with available fluent helpers to apply the to_KanbanContainer navigation property to query operations.static final KanbanDeliveryOneToOneLink<KanbanControlCycle>Use with available fluent helpers to apply the to_KanbanControlCycle navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionKanbanDelivery(String kanbanContainer, String soldToParty, String customerReferenceNumber, String deliveryDocument, String deliveryDocumentItem, String plant, ZonedDateTime lastChangeDateTime, String kanbanControlCycle, KanbanContainer toKanbanContainer, KanbanControlCycle toKanbanControlCycle) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the KanbanContainer entity (one to one) associated with this entity.Fetches the KanbanControlCycle entity (one to one) associated with this entity.static <T,DomainT>
KanbanDeliveryField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> KanbanDeliveryField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 35protected StringConstraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 6protected String(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<KanbanContainer>Retrieval of associated KanbanContainer entity (one to one).Retrieval of associated KanbanContainer entity (one to one).Constraints: Not nullable, Maximum length: 7io.vavr.control.Option<KanbanControlCycle>Retrieval of associated KanbanControlCycle entity (one to one).Retrieval of associated KanbanControlCycle entity (one to one).getKey()Constraints: Not nullable, Precision: 7getPlant()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10getType()inthashCode()voidsetCustomerReferenceNumber(String customerReferenceNumber) Constraints: Not nullable, Maximum length: 35voidsetDeliveryDocument(String deliveryDocument) Constraints: Not nullable, Maximum length: 10voidsetDeliveryDocumentItem(String deliveryDocumentItem) Constraints: Not nullable, Maximum length: 6voidOverwrites the associated KanbanContainer entity for the loaded navigation property to_KanbanContainer.voidsetKanbanContainer(String kanbanContainer) (Key Field) Constraints: Not nullable, Maximum length: 10voidOverwrites the associated KanbanControlCycle entity for the loaded navigation property to_KanbanControlCycle.voidsetKanbanControlCycle(String kanbanControlCycle) Constraints: Not nullable, Maximum length: 7voidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 7voidConstraints: Not nullable, Maximum length: 4protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSoldToParty(String soldToParty) Constraints: Not nullable, Maximum length: 10toString()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 KanbanDelivery. -
KANBAN_CONTAINER
Use with available fluent helpers to apply the KanbanContainer field to query operations. -
SOLD_TO_PARTY
Use with available fluent helpers to apply the SoldToParty field to query operations. -
CUSTOMER_REFERENCE_NUMBER
Use with available fluent helpers to apply the CustomerReferenceNumber field to query operations. -
DELIVERY_DOCUMENT
Use with available fluent helpers to apply the DeliveryDocument field to query operations. -
DELIVERY_DOCUMENT_ITEM
Use with available fluent helpers to apply the DeliveryDocumentItem field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
KANBAN_CONTROL_CYCLE
Use with available fluent helpers to apply the KanbanControlCycle field to query operations. -
TO_KANBAN_CONTAINER
Use with available fluent helpers to apply the to_KanbanContainer navigation property to query operations. -
TO_KANBAN_CONTROL_CYCLE
Use with available fluent helpers to apply the to_KanbanControlCycle navigation property to query operations.
-
-
Constructor Details
-
KanbanDelivery
public KanbanDelivery() -
KanbanDelivery
public KanbanDelivery(@Nullable String kanbanContainer, @Nullable String soldToParty, @Nullable String customerReferenceNumber, @Nullable String deliveryDocument, @Nullable String deliveryDocumentItem, @Nullable String plant, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String kanbanControlCycle, @Nullable KanbanContainer toKanbanContainer, @Nullable KanbanControlCycle toKanbanControlCycle)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<KanbanDelivery>
-
setKanbanContainer
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: KanbanContainer
- Parameters:
kanbanContainer- Kanban Identification Number
-
setSoldToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SoldToParty
- Parameters:
soldToParty- Sold-to Party
-
setCustomerReferenceNumber
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: CustomerReferenceNumber
- Parameters:
customerReferenceNumber- Customer Reference
-
setDeliveryDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: DeliveryDocument
- Parameters:
deliveryDocument- Delivery
-
setDeliveryDocumentItem
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: DeliveryDocumentItem
- Parameters:
deliveryDocumentItem- Delivery Item
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Date and Time of Last Change
-
setKanbanControlCycle
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: KanbanControlCycle
- Parameters:
kanbanControlCycle- Kanban Control Cycle
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<KanbanDelivery>
-
getKey
- Overrides:
getKeyin classVdmObject<KanbanDelivery>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<KanbanDelivery>
-
fromMap
- Overrides:
fromMapin classVdmObject<KanbanDelivery>
-
field
@Nonnull public static <T> KanbanDeliveryField<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> KanbanDeliveryField<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<KanbanDelivery>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<KanbanDelivery>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<KanbanDelivery>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<KanbanDelivery>
-
fetchKanbanContainer
Fetches the KanbanContainer entity (one to one) associated with this entity. This corresponds to the OData navigation property to_KanbanContainer.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated KanbanContainer 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.
-
getKanbanContainerOrFetch
Retrieval of associated KanbanContainer entity (one to one). This corresponds to the OData navigation property to_KanbanContainer.If the navigation property to_KanbanContainer of a queried KanbanDelivery 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 KanbanContainer 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.
-
getKanbanContainerIfPresent
Retrieval of associated KanbanContainer entity (one to one). This corresponds to the OData navigation property to_KanbanContainer.If the navigation property for an entity KanbanDelivery 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_KanbanContainer is already loaded, the result will
contain the KanbanContainer entity. If not, an
Optionwith result stateemptyis returned.
-
setKanbanContainer
Overwrites the associated KanbanContainer entity for the loaded navigation property to_KanbanContainer.- Parameters:
value- New KanbanContainer entity.
-
fetchKanbanControlCycle
Fetches the KanbanControlCycle entity (one to one) associated with this entity. This corresponds to the OData navigation property to_KanbanControlCycle.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated KanbanControlCycle 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.
-
getKanbanControlCycleOrFetch
Retrieval of associated KanbanControlCycle entity (one to one). This corresponds to the OData navigation property to_KanbanControlCycle.If the navigation property to_KanbanControlCycle of a queried KanbanDelivery 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 KanbanControlCycle 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.
-
getKanbanControlCycleIfPresent
Retrieval of associated KanbanControlCycle entity (one to one). This corresponds to the OData navigation property to_KanbanControlCycle.If the navigation property for an entity KanbanDelivery 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_KanbanControlCycle is already loaded, the result
will contain the KanbanControlCycle entity. If not, an
Optionwith result stateemptyis returned.
-
setKanbanControlCycle
Overwrites the associated KanbanControlCycle entity for the loaded navigation property to_KanbanControlCycle.- Parameters:
value- New KanbanControlCycle entity.
-
builder
-
getKanbanContainer
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: KanbanContainer
- Returns:
- Kanban Identification Number
-
getSoldToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SoldToParty
- Returns:
- Sold-to Party
-
getCustomerReferenceNumber
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: CustomerReferenceNumber
- Returns:
- Customer Reference
-
getDeliveryDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: DeliveryDocument
- Returns:
- Delivery
-
getDeliveryDocumentItem
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: DeliveryDocumentItem
- Returns:
- Delivery Item
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Date and Time of Last Change
-
getKanbanControlCycle
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: KanbanControlCycle
- Returns:
- Kanban Control Cycle
-
toString
- Overrides:
toStringin classVdmObject<KanbanDelivery>
-
equals
- Overrides:
equalsin classVdmEntity<KanbanDelivery>
-
canEqual
- Overrides:
canEqualin classVdmEntity<KanbanDelivery>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<KanbanDelivery>
-