Class SrcgProjQtnAllowedCurrency
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SrcgProjQtnAllowedCurrency>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.supplierquotationforsourcingproject.SrcgProjQtnAllowedCurrency
- All Implemented Interfaces:
VdmEntitySet
public class SrcgProjQtnAllowedCurrency
extends VdmEntity<SrcgProjQtnAllowedCurrency>
implements VdmEntitySet
Allowed Currency
Original entity name from the Odata EDM: SrcgProjQtnAllowedCurrency_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjQtnAllowedCurrency instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjQtnAllowedCurrency>Selector for all available fields of SrcgProjQtnAllowedCurrency.static final SimpleProperty.Guid<SrcgProjQtnAllowedCurrency>static final SimpleProperty.String<SrcgProjQtnAllowedCurrency>static final SimpleProperty.Guid<SrcgProjQtnAllowedCurrency>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
ConstructorsConstructorDescriptionSrcgProjQtnAllowedCurrency(UUID srcgProjQtnAllowedCurrencyUUID, UUID sourcingProjectQuotationUUID, String srcgProjQtnAllowedCurrency, SourcingProjectQuotation to_SourcingProjectQuotation) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<SourcingProjectQuotation>Retrieval of associated SourcingProjectQuotation entity (one to one).Constraints: Not nullableConstraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullablegetType()inthashCode()voidOverwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.voidsetSourcingProjectQuotationUUID(UUID sourcingProjectQuotationUUID) Constraints: Not nullablevoidsetSrcgProjQtnAllowedCurrency(String srcgProjQtnAllowedCurrency) Constraints: Not nullable, Maximum length: 3voidsetSrcgProjQtnAllowedCurrencyUUID(UUID srcgProjQtnAllowedCurrencyUUID) (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 SrcgProjQtnAllowedCurrency. -
SRCG_PROJ_QTN_ALLOWED_CURRENCY_UUID
public static final SimpleProperty.Guid<SrcgProjQtnAllowedCurrency> SRCG_PROJ_QTN_ALLOWED_CURRENCY_UUID -
SOURCING_PROJECT_QUOTATION_UUID
-
SRCG_PROJ_QTN_ALLOWED_CURRENCY
public static final SimpleProperty.String<SrcgProjQtnAllowedCurrency> SRCG_PROJ_QTN_ALLOWED_CURRENCY -
TO__SOURCING_PROJECT_QUOTATION
public static final NavigationProperty.Single<SrcgProjQtnAllowedCurrency,SourcingProjectQuotation> TO__SOURCING_PROJECT_QUOTATIONUse with available request builders to apply the _SourcingProjectQuotation navigation property to query operations.
-
-
Constructor Details
-
SrcgProjQtnAllowedCurrency
public SrcgProjQtnAllowedCurrency() -
SrcgProjQtnAllowedCurrency
public SrcgProjQtnAllowedCurrency(@Nullable UUID srcgProjQtnAllowedCurrencyUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable String srcgProjQtnAllowedCurrency, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjQtnAllowedCurrency>
-
setSrcgProjQtnAllowedCurrencyUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnAllowedCurrencyUUID
- Parameters:
srcgProjQtnAllowedCurrencyUUID- Allowed Currency in Supplier Quotation (Sourcing Proj.)UUID
-
setSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Parameters:
sourcingProjectQuotationUUID- Supplier Quotation UUID
-
setSrcgProjQtnAllowedCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SrcgProjQtnAllowedCurrency
- Parameters:
srcgProjQtnAllowedCurrency- Allowed Currency in Supplier Quotation (Sourcing Projects)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjQtnAllowedCurrency>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjQtnAllowedCurrency>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjQtnAllowedCurrency>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjQtnAllowedCurrency>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjQtnAllowedCurrency>
-
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 SrcgProjQtnAllowedCurrency 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
-
getSrcgProjQtnAllowedCurrencyUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnAllowedCurrencyUUID
- Returns:
- Allowed Currency in Supplier Quotation (Sourcing Proj.)UUID
-
getSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Returns:
- Supplier Quotation UUID
-
getSrcgProjQtnAllowedCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SrcgProjQtnAllowedCurrency
- Returns:
- Allowed Currency in Supplier Quotation (Sourcing Projects)
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjQtnAllowedCurrency>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjQtnAllowedCurrency>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjQtnAllowedCurrency>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjQtnAllowedCurrency>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjQtnAllowedCurrency>
-