Class PurchaseOrderPartner
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: PurchaseOrderPartner_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PurchaseOrderPartner instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<PurchaseOrderPartner>Selector for all available fields of PurchaseOrderPartner.static final SimpleProperty.String<PurchaseOrderPartner>static final SimpleProperty.Date<PurchaseOrderPartner>static final SimpleProperty.Boolean<PurchaseOrderPartner>static final SimpleProperty.String<PurchaseOrderPartner>static final SimpleProperty.String<PurchaseOrderPartner>static final SimpleProperty.String<PurchaseOrderPartner>static final SimpleProperty.String<PurchaseOrderPartner>static final SimpleProperty.String<PurchaseOrderPartner>static final SimpleProperty.String<PurchaseOrderPartner>static final SimpleProperty.String<PurchaseOrderPartner>static final SimpleProperty.String<PurchaseOrderPartner>static final SimpleProperty.String<PurchaseOrderPartner>static final SimpleProperty.String<PurchaseOrderPartner>static final SimpleProperty.String<PurchaseOrderPartner>static final SimpleProperty.String<PurchaseOrderPartner>static final NavigationProperty.Single<PurchaseOrderPartner,PurchaseOrder> Use with available request builders to apply the _PurchaseOrderTP 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
ConstructorsConstructorDescriptionPurchaseOrderPartner(String purchaseOrder, String partnerFunction, String supplierSubrange, String plant, String purchasingOrganization, String partnerCounter, String createdByUser, LocalDate creationDate, String purchasingDocumentPartnerType, String supplier, String supplierHierarchyCategory, String supplierContact, String personWorkAgreement, String employmentInternalID, Boolean defaultPartner, PurchaseOrder to_PurchaseOrderTP) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 12Constraints: NullableConstraints: Not nullableprotected StringConstraints: Not nullable, Maximum length: 8protected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 8getPlant()Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<PurchaseOrder>Retrieval of associated PurchaseOrder entity (one to one).Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 6getType()inthashCode()voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDate(LocalDate creationDate) Constraints: NullablevoidsetDefaultPartner(Boolean defaultPartner) Constraints: Not nullablevoidsetEmploymentInternalID(String employmentInternalID) Constraints: Not nullable, Maximum length: 8voidsetPartnerCounter(String partnerCounter) Constraints: Not nullable, Maximum length: 3voidsetPartnerFunction(String partnerFunction) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetPersonWorkAgreement(String personWorkAgreement) Constraints: Not nullable, Maximum length: 8voidConstraints: Not nullable, Maximum length: 4voidsetPurchaseOrder(String purchaseOrder) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetPurchaseOrderTP(PurchaseOrder value) Overwrites the associated PurchaseOrder entity for the loaded navigation property _PurchaseOrderTP.voidsetPurchasingDocumentPartnerType(String purchasingDocumentPartnerType) Constraints: Not nullable, Maximum length: 2voidsetPurchasingOrganization(String purchasingOrganization) Constraints: Not nullable, Maximum length: 4voidsetSupplier(String supplier) Constraints: Not nullable, Maximum length: 10voidsetSupplierContact(String supplierContact) Constraints: Not nullable, Maximum length: 10voidsetSupplierHierarchyCategory(String supplierHierarchyCategory) Constraints: Not nullable, Maximum length: 1voidsetSupplierSubrange(String supplierSubrange) Constraints: Not nullable, Maximum length: 6toString()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 PurchaseOrderPartner. -
PURCHASE_ORDER
-
PARTNER_FUNCTION
-
SUPPLIER_SUBRANGE
-
PLANT
-
PURCHASING_ORGANIZATION
-
PARTNER_COUNTER
-
CREATED_BY_USER
-
CREATION_DATE
-
PURCHASING_DOCUMENT_PARTNER_TYPE
-
SUPPLIER
-
SUPPLIER_HIERARCHY_CATEGORY
-
SUPPLIER_CONTACT
-
PERSON_WORK_AGREEMENT
-
EMPLOYMENT_INTERNAL_ID
-
DEFAULT_PARTNER
-
TO__PURCHASE_ORDER_TP
public static final NavigationProperty.Single<PurchaseOrderPartner,PurchaseOrder> TO__PURCHASE_ORDER_TPUse with available request builders to apply the _PurchaseOrderTP navigation property to query operations.
-
-
Constructor Details
-
PurchaseOrderPartner
public PurchaseOrderPartner() -
PurchaseOrderPartner
public PurchaseOrderPartner(@Nullable String purchaseOrder, @Nullable String partnerFunction, @Nullable String supplierSubrange, @Nullable String plant, @Nullable String purchasingOrganization, @Nullable String partnerCounter, @Nullable String createdByUser, @Nullable LocalDate creationDate, @Nullable String purchasingDocumentPartnerType, @Nullable String supplier, @Nullable String supplierHierarchyCategory, @Nullable String supplierContact, @Nullable String personWorkAgreement, @Nullable String employmentInternalID, @Nullable Boolean defaultPartner, @Nullable PurchaseOrder to_PurchaseOrderTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PurchaseOrderPartner>
-
setPurchaseOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseOrder
- Parameters:
purchaseOrder- Purchasing Document Number
-
setPartnerFunction
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PartnerFunction
- Parameters:
partnerFunction- Partner Function
-
setSupplierSubrange
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: SupplierSubrange
- Parameters:
supplierSubrange- Supplier Subrange
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Parameters:
purchasingOrganization- Purchasing Organization
-
setPartnerCounter
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PartnerCounter
- Parameters:
partnerCounter- Partner counter
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Name of Person Responsible for Creating the Object
-
setCreationDate
Constraints: NullableOriginal property name from the Odata EDM: CreationDate
- Parameters:
creationDate- Record Created On
-
setPurchasingDocumentPartnerType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurchasingDocumentPartnerType
- Parameters:
purchasingDocumentPartnerType- Type of partner number
-
setSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Parameters:
supplier- Account Number of Supplier
-
setSupplierHierarchyCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SupplierHierarchyCategory
- Parameters:
supplierHierarchyCategory- Hierarchy Category: Supplier Hierarchy
-
setSupplierContact
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierContact
- Parameters:
supplierContact- Number of Contact Person
-
setPersonWorkAgreement
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PersonWorkAgreement
- Parameters:
personWorkAgreement- Personnel Number
-
setEmploymentInternalID
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: EmploymentInternalID
- Parameters:
employmentInternalID- Personnel Number
-
setDefaultPartner
Constraints: Not nullableOriginal property name from the Odata EDM: DefaultPartner
- Parameters:
defaultPartner- Default Partner
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PurchaseOrderPartner>
-
getKey
- Overrides:
getKeyin classVdmObject<PurchaseOrderPartner>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PurchaseOrderPartner>
-
fromMap
- Overrides:
fromMapin classVdmObject<PurchaseOrderPartner>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PurchaseOrderPartner>
-
getPurchaseOrderTPIfPresent
Retrieval of associated PurchaseOrder entity (one to one). This corresponds to the OData navigation property _PurchaseOrderTP.If the navigation property for an entity PurchaseOrderPartner 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 _PurchaseOrderTP is already loaded, the result will
contain the PurchaseOrder entity. If not, an
Optionwith result stateemptyis returned.
-
setPurchaseOrderTP
Overwrites the associated PurchaseOrder entity for the loaded navigation property _PurchaseOrderTP.- Parameters:
value- New PurchaseOrder entity.
-
builder
-
getPurchaseOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseOrder
- Returns:
- Purchasing Document Number
-
getPartnerFunction
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PartnerFunction
- Returns:
- Partner Function
-
getSupplierSubrange
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: SupplierSubrange
- Returns:
- Supplier Subrange
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Returns:
- Purchasing Organization
-
getPartnerCounter
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PartnerCounter
- Returns:
- Partner counter
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Name of Person Responsible for Creating the Object
-
getCreationDate
Constraints: NullableOriginal property name from the Odata EDM: CreationDate
- Returns:
- Record Created On
-
getPurchasingDocumentPartnerType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurchasingDocumentPartnerType
- Returns:
- Type of partner number
-
getSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Returns:
- Account Number of Supplier
-
getSupplierHierarchyCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SupplierHierarchyCategory
- Returns:
- Hierarchy Category: Supplier Hierarchy
-
getSupplierContact
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierContact
- Returns:
- Number of Contact Person
-
getPersonWorkAgreement
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PersonWorkAgreement
- Returns:
- Personnel Number
-
getEmploymentInternalID
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: EmploymentInternalID
- Returns:
- Personnel Number
-
getDefaultPartner
Constraints: Not nullableOriginal property name from the Odata EDM: DefaultPartner
- Returns:
- Default Partner
-
toString
- Overrides:
toStringin classVdmObject<PurchaseOrderPartner>
-
equals
- Overrides:
equalsin classVdmEntity<PurchaseOrderPartner>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PurchaseOrderPartner>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PurchaseOrderPartner>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<PurchaseOrderPartner>
-