Class SourcingProjectContact
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SourcingProjectContact_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SourcingProjectContact instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SourcingProjectContact>Selector for all available fields of SourcingProjectContact.static final SimpleProperty.String<SourcingProjectContact>static final SimpleProperty.String<SourcingProjectContact>static final SimpleProperty.String<SourcingProjectContact>static final SimpleProperty.Guid<SourcingProjectContact>static final SimpleProperty.Guid<SourcingProjectContact>static final SimpleProperty.String<SourcingProjectContact>static final SimpleProperty.Boolean<SourcingProjectContact>static final NavigationProperty.Single<SourcingProjectContact,SourcingProject> Use with available request builders to apply the _SourcingProject 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
ConstructorsConstructorDescriptionSourcingProjectContact(UUID sourcingProjectContactUUID, UUID sourcingProjectUUID, String sourcingProjectContactCategory, String businessPartner, Boolean srcgProjCntctIsVisibleToSuplr, String sourcingOrigin, String sourcingScenario, SourcingProject to_SourcingProject) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 10protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullableio.vavr.control.Option<SourcingProject>Retrieval of associated SourcingProject entity (one to one).Constraints: Not nullableConstraints: Not nullable, Maximum length: 2Constraints: Not nullablegetType()inthashCode()voidsetBusinessPartner(String businessPartner) Constraints: Not nullable, Maximum length: 10voidsetSourcingOrigin(String sourcingOrigin) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.voidsetSourcingProjectContactCategory(String sourcingProjectContactCategory) Constraints: Not nullable, Maximum length: 4voidsetSourcingProjectContactUUID(UUID sourcingProjectContactUUID) (Key Field) Constraints: Not nullablevoidsetSourcingProjectUUID(UUID sourcingProjectUUID) Constraints: Not nullablevoidsetSourcingScenario(String sourcingScenario) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjCntctIsVisibleToSuplr(Boolean srcgProjCntctIsVisibleToSuplr) 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 SourcingProjectContact. -
SOURCING_PROJECT_CONTACT_UUID
-
SOURCING_PROJECT_UUID
-
SOURCING_PROJECT_CONTACT_CATEGORY
-
BUSINESS_PARTNER
-
SRCG_PROJ_CNTCT_IS_VISIBLE_TO_SUPLR
public static final SimpleProperty.Boolean<SourcingProjectContact> SRCG_PROJ_CNTCT_IS_VISIBLE_TO_SUPLR -
SOURCING_ORIGIN
-
SOURCING_SCENARIO
-
TO__SOURCING_PROJECT
public static final NavigationProperty.Single<SourcingProjectContact,SourcingProject> TO__SOURCING_PROJECTUse with available request builders to apply the _SourcingProject navigation property to query operations.
-
-
Constructor Details
-
SourcingProjectContact
public SourcingProjectContact() -
SourcingProjectContact
public SourcingProjectContact(@Nullable UUID sourcingProjectContactUUID, @Nullable UUID sourcingProjectUUID, @Nullable String sourcingProjectContactCategory, @Nullable String businessPartner, @Nullable Boolean srcgProjCntctIsVisibleToSuplr, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable SourcingProject to_SourcingProject)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SourcingProjectContact>
-
setSourcingProjectContactUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectContactUUID
- Parameters:
sourcingProjectContactUUID- Contact UUID for Sourcing Project
-
setSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Parameters:
sourcingProjectUUID- Sourcing Project UUID
-
setSourcingProjectContactCategory
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SourcingProjectContactCategory
- Parameters:
sourcingProjectContactCategory- Contact Category for Sourcing Project
-
setBusinessPartner
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Parameters:
businessPartner- Business Partner Number
-
setSrcgProjCntctIsVisibleToSuplr
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjCntctIsVisibleToSuplr
- Parameters:
srcgProjCntctIsVisibleToSuplr- Sourcing Project Contact Is Visible to Supplier
-
setSourcingOrigin
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingOrigin
- Parameters:
sourcingOrigin- Sourcing Origin
-
setSourcingScenario
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingScenario
- Parameters:
sourcingScenario- Sourcing Integration Scenario
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SourcingProjectContact>
-
getKey
- Overrides:
getKeyin classVdmObject<SourcingProjectContact>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SourcingProjectContact>
-
fromMap
- Overrides:
fromMapin classVdmObject<SourcingProjectContact>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SourcingProjectContact>
-
getSourcingProjectIfPresent
Retrieval of associated SourcingProject entity (one to one). This corresponds to the OData navigation property _SourcingProject.If the navigation property for an entity SourcingProjectContact 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 _SourcingProject is already loaded, the result will
contain the SourcingProject entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProject
Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.- Parameters:
value- New SourcingProject entity.
-
builder
-
getSourcingProjectContactUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectContactUUID
- Returns:
- Contact UUID for Sourcing Project
-
getSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Returns:
- Sourcing Project UUID
-
getSourcingProjectContactCategory
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SourcingProjectContactCategory
- Returns:
- Contact Category for Sourcing Project
-
getBusinessPartner
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Returns:
- Business Partner Number
-
getSrcgProjCntctIsVisibleToSuplr
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjCntctIsVisibleToSuplr
- Returns:
- Sourcing Project Contact Is Visible to Supplier
-
getSourcingOrigin
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingOrigin
- Returns:
- Sourcing Origin
-
getSourcingScenario
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingScenario
- Returns:
- Sourcing Integration Scenario
-
toString
- Overrides:
toStringin classVdmObject<SourcingProjectContact>
-
equals
- Overrides:
equalsin classVdmEntity<SourcingProjectContact>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SourcingProjectContact>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SourcingProjectContact>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SourcingProjectContact>
-