Class SupplierConfirmation
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: A_SupplierConfirmation_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SupplierConfirmation instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<SupplierConfirmation,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<SupplierConfirmation>Selector for all available fields of SupplierConfirmation.static final SimpleProperty.Date<SupplierConfirmation>static final SimpleProperty.DateTime<SupplierConfirmation>static final SimpleProperty.String<SupplierConfirmation>static final SimpleProperty.String<SupplierConfirmation>static final SimpleProperty.String<SupplierConfirmation>static final SimpleProperty.String<SupplierConfirmation>Use with available request builders to apply the _SupplierConfirmationItemTP 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
ConstructorsConstructorDescriptionSupplierConfirmation(String supplierConfirmation, String suplrConfRefPurchaseOrder, String suplrConfProcessingStatus, String suplrConfExternalReference, OffsetDateTime lastChangeDateTime, LocalDate creationDate, Collection<SAP__Message> _Messages, List<SupplierConfirmationItem> to_SupplierConfirmationItemTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SupplierConfirmationItem entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableConstraints: Nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 70Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<List<SupplierConfirmationItem>>Retrieval of associated SupplierConfirmationItem entities (one to many).getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetCreationDate(LocalDate creationDate) Constraints: NullablevoidsetLastChangeDateTime(OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7voidsetSuplrConfExternalReference(String suplrConfExternalReference) Constraints: Not nullable, Maximum length: 70voidsetSuplrConfProcessingStatus(String suplrConfProcessingStatus) Constraints: Not nullable, Maximum length: 2voidsetSuplrConfRefPurchaseOrder(String suplrConfRefPurchaseOrder) Constraints: Not nullable, Maximum length: 10voidsetSupplierConfirmation(String supplierConfirmation) (Key Field) Constraints: Not nullable, Maximum length: 10voidOverwrites the list of associated SupplierConfirmationItem entities for the loaded navigation property _SupplierConfirmationItemTP.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 SupplierConfirmation. -
SUPPLIER_CONFIRMATION
-
SUPLR_CONF_REF_PURCHASE_ORDER
-
SUPLR_CONF_PROCESSING_STATUS
-
SUPLR_CONF_EXTERNAL_REFERENCE
-
LAST_CHANGE_DATE_TIME
-
CREATION_DATE
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__SUPPLIER_CONFIRMATION_ITEM_TP
public static final NavigationProperty.Collection<SupplierConfirmation,SupplierConfirmationItem> TO__SUPPLIER_CONFIRMATION_ITEM_TPUse with available request builders to apply the _SupplierConfirmationItemTP navigation property to query operations.
-
-
Constructor Details
-
SupplierConfirmation
public SupplierConfirmation() -
SupplierConfirmation
public SupplierConfirmation(@Nullable String supplierConfirmation, @Nullable String suplrConfRefPurchaseOrder, @Nullable String suplrConfProcessingStatus, @Nullable String suplrConfExternalReference, @Nullable OffsetDateTime lastChangeDateTime, @Nullable LocalDate creationDate, @Nullable Collection<SAP__Message> _Messages, List<SupplierConfirmationItem> to_SupplierConfirmationItemTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SupplierConfirmation>
-
setSupplierConfirmation
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierConfirmation
- Parameters:
supplierConfirmation- Supplier Confirmation Number
-
setSuplrConfRefPurchaseOrder
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SuplrConfRefPurchaseOrder
- Parameters:
suplrConfRefPurchaseOrder- Reference Purchase Order
-
setSuplrConfProcessingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SuplrConfProcessingStatus
- Parameters:
suplrConfProcessingStatus- Supplier Confirmation Processing State
-
setSuplrConfExternalReference
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: SuplrConfExternalReference
- Parameters:
suplrConfExternalReference- Supplier External Reference ID
-
setLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Change Time Stamp
-
setCreationDate
Constraints: NullableOriginal property name from the Odata EDM: CreationDate
- Parameters:
creationDate- Record Created On
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SupplierConfirmation>
-
getKey
- Overrides:
getKeyin classVdmObject<SupplierConfirmation>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SupplierConfirmation>
-
fromMap
- Overrides:
fromMapin classVdmObject<SupplierConfirmation>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SupplierConfirmation>
-
getSupplierConfirmationItemTPIfPresent
@Nonnull public io.vavr.control.Option<List<SupplierConfirmationItem>> getSupplierConfirmationItemTPIfPresent()Retrieval of associated SupplierConfirmationItem entities (one to many). This corresponds to the OData navigation property _SupplierConfirmationItemTP.If the navigation property for an entity SupplierConfirmation 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 _SupplierConfirmationItemTP is already loaded, the
result will contain the SupplierConfirmationItem entities. If not, an
Optionwith result stateemptyis returned.
-
setSupplierConfirmationItemTP
Overwrites the list of associated SupplierConfirmationItem entities for the loaded navigation property _SupplierConfirmationItemTP.If the navigation property _SupplierConfirmationItemTP of a queried SupplierConfirmation 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 SupplierConfirmationItem entities.
-
addSupplierConfirmationItemTP
Adds elements to the list of associated SupplierConfirmationItem entities. This corresponds to the OData navigation property _SupplierConfirmationItemTP.If the navigation property _SupplierConfirmationItemTP of a queried SupplierConfirmation 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 SupplierConfirmationItem entities.
-
builder
-
getSupplierConfirmation
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierConfirmation
- Returns:
- Supplier Confirmation Number
-
getSuplrConfRefPurchaseOrder
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SuplrConfRefPurchaseOrder
- Returns:
- Reference Purchase Order
-
getSuplrConfProcessingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SuplrConfProcessingStatus
- Returns:
- Supplier Confirmation Processing State
-
getSuplrConfExternalReference
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: SuplrConfExternalReference
- Returns:
- Supplier External Reference ID
-
getLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Change Time Stamp
-
getCreationDate
Constraints: NullableOriginal property name from the Odata EDM: CreationDate
- Returns:
- Record Created On
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<SupplierConfirmation>
-
equals
- Overrides:
equalsin classVdmEntity<SupplierConfirmation>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SupplierConfirmation>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SupplierConfirmation>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SupplierConfirmation>
-