Class SrcgProjQtnSupplierContact
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjQtnSupplierContact_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjQtnSupplierContact instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjQtnSupplierContact>Selector for all available fields of SrcgProjQtnSupplierContact.static final SimpleProperty.String<SrcgProjQtnSupplierContact>static final SimpleProperty.Guid<SrcgProjQtnSupplierContact>static final SimpleProperty.String<SrcgProjQtnSupplierContact>static final SimpleProperty.Guid<SrcgProjQtnSupplierContact>Use with available request builders to apply the _SourcingProjectQuotation 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
ConstructorsConstructorDescriptionSrcgProjQtnSupplierContact(UUID srcgProjQtnSupplierContactUUID, UUID sourcingProjectQuotationUUID, String srcgProjQtnSupplierContactCat, String businessPartner, SourcingProjectQuotation to_SourcingProjectQuotation) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 10protected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<SourcingProjectQuotation>Retrieval of associated SourcingProjectQuotation entity (one to one).Constraints: Not nullableConstraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullablegetType()inthashCode()voidsetBusinessPartner(String businessPartner) Constraints: Not nullable, Maximum length: 10voidOverwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.voidsetSourcingProjectQuotationUUID(UUID sourcingProjectQuotationUUID) Constraints: Not nullablevoidsetSrcgProjQtnSupplierContactCat(String srcgProjQtnSupplierContactCat) Constraints: Not nullable, Maximum length: 4voidsetSrcgProjQtnSupplierContactUUID(UUID srcgProjQtnSupplierContactUUID) (Key Field) Constraints: Not nullabletoString()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 SrcgProjQtnSupplierContact. -
SRCG_PROJ_QTN_SUPPLIER_CONTACT_UUID
public static final SimpleProperty.Guid<SrcgProjQtnSupplierContact> SRCG_PROJ_QTN_SUPPLIER_CONTACT_UUID -
SOURCING_PROJECT_QUOTATION_UUID
-
SRCG_PROJ_QTN_SUPPLIER_CONTACT_CAT
public static final SimpleProperty.String<SrcgProjQtnSupplierContact> SRCG_PROJ_QTN_SUPPLIER_CONTACT_CAT -
BUSINESS_PARTNER
-
TO__SOURCING_PROJECT_QUOTATION
public static final NavigationProperty.Single<SrcgProjQtnSupplierContact,SourcingProjectQuotation> TO__SOURCING_PROJECT_QUOTATIONUse with available request builders to apply the _SourcingProjectQuotation navigation property to query operations.
-
-
Constructor Details
-
SrcgProjQtnSupplierContact
public SrcgProjQtnSupplierContact() -
SrcgProjQtnSupplierContact
public SrcgProjQtnSupplierContact(@Nullable UUID srcgProjQtnSupplierContactUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable String srcgProjQtnSupplierContactCat, @Nullable String businessPartner, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjQtnSupplierContact>
-
setSrcgProjQtnSupplierContactUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnSupplierContactUUID
- Parameters:
srcgProjQtnSupplierContactUUID- Contact UUID for Supplier Quotation in Sourcing Project
-
setSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Parameters:
sourcingProjectQuotationUUID- Supplier Quotation UUID
-
setSrcgProjQtnSupplierContactCat
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SrcgProjQtnSupplierContactCat
- Parameters:
srcgProjQtnSupplierContactCat- Contact Category for Supplier Quotation for Sourcing Project
-
setBusinessPartner
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Parameters:
businessPartner- Business Partner Number
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjQtnSupplierContact>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjQtnSupplierContact>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjQtnSupplierContact>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjQtnSupplierContact>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjQtnSupplierContact>
-
getSourcingProjectQuotationIfPresent
@Nonnull public io.vavr.control.Option<SourcingProjectQuotation> getSourcingProjectQuotationIfPresent()Retrieval of associated SourcingProjectQuotation entity (one to one). This corresponds to the OData navigation property _SourcingProjectQuotation.If the navigation property for an entity SrcgProjQtnSupplierContact 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 _SourcingProjectQuotation is already loaded, the result
will contain the SourcingProjectQuotation entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectQuotation
Overwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.- Parameters:
value- New SourcingProjectQuotation entity.
-
builder
-
getSrcgProjQtnSupplierContactUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnSupplierContactUUID
- Returns:
- Contact UUID for Supplier Quotation in Sourcing Project
-
getSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Returns:
- Supplier Quotation UUID
-
getSrcgProjQtnSupplierContactCat
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SrcgProjQtnSupplierContactCat
- Returns:
- Contact Category for Supplier Quotation for Sourcing Project
-
getBusinessPartner
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Returns:
- Business Partner Number
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjQtnSupplierContact>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjQtnSupplierContact>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjQtnSupplierContact>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjQtnSupplierContact>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjQtnSupplierContact>
-