Class SrcgProjAllowedCurrency
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjAllowedCurrency_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjAllowedCurrency instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjAllowedCurrency>Selector for all available fields of SrcgProjAllowedCurrency.static final SimpleProperty.String<SrcgProjAllowedCurrency>static final SimpleProperty.Guid<SrcgProjAllowedCurrency>static final SimpleProperty.String<SrcgProjAllowedCurrency>static final SimpleProperty.String<SrcgProjAllowedCurrency>static final SimpleProperty.Guid<SrcgProjAllowedCurrency>static final NavigationProperty.Single<SrcgProjAllowedCurrency,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
ConstructorsConstructorDescriptionSrcgProjAllowedCurrency(UUID srcgProjAllowedCurrencyUUID, UUID sourcingProjectUUID, String srcgProjAllowedCurrency, String sourcingOrigin, String sourcingScenario, SourcingProject to_SourcingProject) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<SourcingProject>Retrieval of associated SourcingProject entity (one to one).Constraints: Not nullableConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullablegetType()inthashCode()voidsetSourcingOrigin(String sourcingOrigin) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.voidsetSourcingProjectUUID(UUID sourcingProjectUUID) Constraints: Not nullablevoidsetSourcingScenario(String sourcingScenario) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjAllowedCurrency(String srcgProjAllowedCurrency) Constraints: Not nullable, Maximum length: 3voidsetSrcgProjAllowedCurrencyUUID(UUID srcgProjAllowedCurrencyUUID) (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 SrcgProjAllowedCurrency. -
SRCG_PROJ_ALLOWED_CURRENCY_UUID
-
SOURCING_PROJECT_UUID
-
SRCG_PROJ_ALLOWED_CURRENCY
-
SOURCING_ORIGIN
-
SOURCING_SCENARIO
-
TO__SOURCING_PROJECT
public static final NavigationProperty.Single<SrcgProjAllowedCurrency,SourcingProject> TO__SOURCING_PROJECTUse with available request builders to apply the _SourcingProject navigation property to query operations.
-
-
Constructor Details
-
SrcgProjAllowedCurrency
public SrcgProjAllowedCurrency() -
SrcgProjAllowedCurrency
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjAllowedCurrency>
-
setSrcgProjAllowedCurrencyUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjAllowedCurrencyUUID
- Parameters:
srcgProjAllowedCurrencyUUID- Allowed Currency in Supplier Quotation (Sourcing Proj.) UUID
-
setSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Parameters:
sourcingProjectUUID- Sourcing Project UUID
-
setSrcgProjAllowedCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SrcgProjAllowedCurrency
- Parameters:
srcgProjAllowedCurrency- Allowed Currency in Supplier Quotation (Sourcing Project)
-
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<SrcgProjAllowedCurrency>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjAllowedCurrency>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjAllowedCurrency>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjAllowedCurrency>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjAllowedCurrency>
-
getSourcingProjectIfPresent
Retrieval of associated SourcingProject entity (one to one). This corresponds to the OData navigation property _SourcingProject.If the navigation property for an entity SrcgProjAllowedCurrency 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
-
getSrcgProjAllowedCurrencyUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjAllowedCurrencyUUID
- Returns:
- Allowed Currency in Supplier Quotation (Sourcing Proj.) UUID
-
getSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Returns:
- Sourcing Project UUID
-
getSrcgProjAllowedCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SrcgProjAllowedCurrency
- Returns:
- Allowed Currency in Supplier Quotation (Sourcing Project)
-
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<SrcgProjAllowedCurrency>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjAllowedCurrency>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjAllowedCurrency>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjAllowedCurrency>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjAllowedCurrency>
-