Class PurgPrcgCndnRecordScale
Original entity name from the Odata EDM: A_PurgPrcgCndnRecordScaleType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PurgPrcgCndnRecordScale instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PurgPrcgCndnRecordScaleSelectableSelector for all available fields of PurgPrcgCndnRecordScale.static final PurgPrcgCndnRecordScaleField<BigDecimal>Use with available fluent helpers to apply the ConditionRateValue field to query operations.static final PurgPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionRateValueUnit field to query operations.static final PurgPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionRecord field to query operations.static final PurgPrcgCndnRecordScaleField<BigDecimal>Use with available fluent helpers to apply the ConditionScaleAmount field to query operations.static final PurgPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionScaleAmountCurrency field to query operations.static final PurgPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionScaleLine field to query operations.static final PurgPrcgCndnRecordScaleField<BigDecimal>Use with available fluent helpers to apply the ConditionScaleQuantity field to query operations.static final PurgPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionScaleQuantityUnit field to query operations.static final PurgPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionSequentialNumber field to query operations.static final PurgPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ETag field to query operations.static final PurgPrcgCndnRecordScaleOneToOneLink<PurgPrcgCndnRecdSuplmnt>Use with available fluent helpers to apply the to_PurgPrcgCndnRecdSuplmnt navigation property to query operations.static final PurgPrcgCndnRecordScaleOneToOneLink<PurgPrcgConditionRecord>Use with available fluent helpers to apply the to_PurgPrcgConditionRecord navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionPurgPrcgCndnRecordScale(String conditionRecord, String conditionSequentialNumber, String conditionScaleLine, BigDecimal conditionScaleQuantity, String conditionScaleQuantityUnit, BigDecimal conditionScaleAmount, String conditionScaleAmountCurrency, BigDecimal conditionRateValue, String conditionRateValueUnit, String eTag, PurgPrcgCndnRecdSuplmnt toPurgPrcgCndnRecdSuplmnt, PurgPrcgConditionRecord toPurgPrcgConditionRecord) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the PurgPrcgCndnRecdSuplmnt entity (one to one) associated with this entity.Fetches the PurgPrcgConditionRecord entity (one to one) associated with this entity.static <T,DomainT>
PurgPrcgCndnRecordScaleField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PurgPrcgCndnRecordScaleField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Maximum length: 5(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Precision: 16, Scale: 3Constraints: Not nullable, Maximum length: 5(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 2protected Stringprotected StringgetETag()Constraints: Not nullable, Maximum length: 40getKey()io.vavr.control.Option<PurgPrcgCndnRecdSuplmnt>Retrieval of associated PurgPrcgCndnRecdSuplmnt entity (one to one).Retrieval of associated PurgPrcgCndnRecdSuplmnt entity (one to one).io.vavr.control.Option<PurgPrcgConditionRecord>Retrieval of associated PurgPrcgConditionRecord entity (one to one).Retrieval of associated PurgPrcgConditionRecord entity (one to one).getType()inthashCode()voidsetConditionRateValue(BigDecimal conditionRateValue) Constraints: Not nullable, Precision: 12, Scale: 3voidsetConditionRateValueUnit(String conditionRateValueUnit) Constraints: Not nullable, Maximum length: 5voidsetConditionRecord(String conditionRecord) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetConditionScaleAmount(BigDecimal conditionScaleAmount) Constraints: Not nullable, Precision: 16, Scale: 3voidsetConditionScaleAmountCurrency(String conditionScaleAmountCurrency) Constraints: Not nullable, Maximum length: 5voidsetConditionScaleLine(String conditionScaleLine) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetConditionScaleQuantity(BigDecimal conditionScaleQuantity) Constraints: Not nullable, Precision: 15, Scale: 3voidsetConditionScaleQuantityUnit(String conditionScaleQuantityUnit) Constraints: Not nullable, Maximum length: 3voidsetConditionSequentialNumber(String conditionSequentialNumber) (Key Field) Constraints: Not nullable, Maximum length: 2voidConstraints: Not nullable, Maximum length: 40voidOverwrites the associated PurgPrcgCndnRecdSuplmnt entity for the loaded navigation property to_PurgPrcgCndnRecdSuplmnt.voidOverwrites the associated PurgPrcgConditionRecord entity for the loaded navigation property to_PurgPrcgConditionRecord.protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
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 PurgPrcgCndnRecordScale. -
CONDITION_RECORD
Use with available fluent helpers to apply the ConditionRecord field to query operations. -
CONDITION_SEQUENTIAL_NUMBER
Use with available fluent helpers to apply the ConditionSequentialNumber field to query operations. -
CONDITION_SCALE_LINE
Use with available fluent helpers to apply the ConditionScaleLine field to query operations. -
CONDITION_SCALE_QUANTITY
Use with available fluent helpers to apply the ConditionScaleQuantity field to query operations. -
CONDITION_SCALE_QUANTITY_UNIT
Use with available fluent helpers to apply the ConditionScaleQuantityUnit field to query operations. -
CONDITION_SCALE_AMOUNT
Use with available fluent helpers to apply the ConditionScaleAmount field to query operations. -
CONDITION_SCALE_AMOUNT_CURRENCY
Use with available fluent helpers to apply the ConditionScaleAmountCurrency field to query operations. -
CONDITION_RATE_VALUE
Use with available fluent helpers to apply the ConditionRateValue field to query operations. -
CONDITION_RATE_VALUE_UNIT
Use with available fluent helpers to apply the ConditionRateValueUnit field to query operations. -
E_TAG
Use with available fluent helpers to apply the ETag field to query operations. -
TO_PURG_PRCG_CNDN_RECD_SUPLMNT
public static final PurgPrcgCndnRecordScaleOneToOneLink<PurgPrcgCndnRecdSuplmnt> TO_PURG_PRCG_CNDN_RECD_SUPLMNTUse with available fluent helpers to apply the to_PurgPrcgCndnRecdSuplmnt navigation property to query operations. -
TO_PURG_PRCG_CONDITION_RECORD
public static final PurgPrcgCndnRecordScaleOneToOneLink<PurgPrcgConditionRecord> TO_PURG_PRCG_CONDITION_RECORDUse with available fluent helpers to apply the to_PurgPrcgConditionRecord navigation property to query operations.
-
-
Constructor Details
-
PurgPrcgCndnRecordScale
public PurgPrcgCndnRecordScale() -
PurgPrcgCndnRecordScale
public PurgPrcgCndnRecordScale(@Nullable String conditionRecord, @Nullable String conditionSequentialNumber, @Nullable String conditionScaleLine, @Nullable BigDecimal conditionScaleQuantity, @Nullable String conditionScaleQuantityUnit, @Nullable BigDecimal conditionScaleAmount, @Nullable String conditionScaleAmountCurrency, @Nullable BigDecimal conditionRateValue, @Nullable String conditionRateValueUnit, @Nullable String eTag, @Nullable PurgPrcgCndnRecdSuplmnt toPurgPrcgCndnRecdSuplmnt, @Nullable PurgPrcgConditionRecord toPurgPrcgConditionRecord)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PurgPrcgCndnRecordScale>
-
setConditionRecord
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ConditionRecord
- Parameters:
conditionRecord- Number of Condition Record
-
setConditionSequentialNumber
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ConditionSequentialNumber
- Parameters:
conditionSequentialNumber- Sequential number of the condition
-
setConditionScaleLine
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionScaleLine
- Parameters:
conditionScaleLine- Current number of the line scale
-
setConditionScaleQuantity
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: ConditionScaleQuantity
- Parameters:
conditionScaleQuantity- Condition Scale Quantity
-
setConditionScaleQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionScaleQuantityUnit
- Parameters:
conditionScaleQuantityUnit- Condition Scale Unit of Measure
-
setConditionScaleAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: ConditionScaleAmount
- Parameters:
conditionScaleAmount- Scale Value
-
setConditionScaleAmountCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ConditionScaleAmountCurrency
- Parameters:
conditionScaleAmountCurrency- Scale Currency
-
setConditionRateValue
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: ConditionRateValue
- Parameters:
conditionRateValue- Condition Amount or Percentage
-
setConditionRateValueUnit
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ConditionRateValueUnit
- Parameters:
conditionRateValueUnit- Condition Unit (Currency or Percentage)
-
setETag
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ETag
- Parameters:
eTag- The eTag to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PurgPrcgCndnRecordScale>
-
getKey
- Overrides:
getKeyin classVdmObject<PurgPrcgCndnRecordScale>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PurgPrcgCndnRecordScale>
-
fromMap
- Overrides:
fromMapin classVdmObject<PurgPrcgCndnRecordScale>
-
field
@Nonnull public static <T> PurgPrcgCndnRecordScaleField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> PurgPrcgCndnRecordScaleField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<PurgPrcgCndnRecordScale>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<PurgPrcgCndnRecordScale>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<PurgPrcgCndnRecordScale>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PurgPrcgCndnRecordScale>
-
fetchPurgPrcgCndnRecdSuplmnt
Fetches the PurgPrcgCndnRecdSuplmnt entity (one to one) associated with this entity. This corresponds to the OData navigation property to_PurgPrcgCndnRecdSuplmnt.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated PurgPrcgCndnRecdSuplmnt entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgPrcgCndnRecdSuplmntOrFetch
Retrieval of associated PurgPrcgCndnRecdSuplmnt entity (one to one). This corresponds to the OData navigation property to_PurgPrcgCndnRecdSuplmnt.If the navigation property to_PurgPrcgCndnRecdSuplmnt of a queried PurgPrcgCndnRecordScale is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated PurgPrcgCndnRecdSuplmnt entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgPrcgCndnRecdSuplmntIfPresent
@Nonnull public io.vavr.control.Option<PurgPrcgCndnRecdSuplmnt> getPurgPrcgCndnRecdSuplmntIfPresent()Retrieval of associated PurgPrcgCndnRecdSuplmnt entity (one to one). This corresponds to the OData navigation property to_PurgPrcgCndnRecdSuplmnt.If the navigation property for an entity PurgPrcgCndnRecordScale 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 to_PurgPrcgCndnRecdSuplmnt is already loaded, the
result will contain the PurgPrcgCndnRecdSuplmnt entity. If not, an
Optionwith result stateemptyis returned.
-
setPurgPrcgCndnRecdSuplmnt
Overwrites the associated PurgPrcgCndnRecdSuplmnt entity for the loaded navigation property to_PurgPrcgCndnRecdSuplmnt.- Parameters:
value- New PurgPrcgCndnRecdSuplmnt entity.
-
fetchPurgPrcgConditionRecord
Fetches the PurgPrcgConditionRecord entity (one to one) associated with this entity. This corresponds to the OData navigation property to_PurgPrcgConditionRecord.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated PurgPrcgConditionRecord entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgPrcgConditionRecordOrFetch
Retrieval of associated PurgPrcgConditionRecord entity (one to one). This corresponds to the OData navigation property to_PurgPrcgConditionRecord.If the navigation property to_PurgPrcgConditionRecord of a queried PurgPrcgCndnRecordScale is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated PurgPrcgConditionRecord entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgPrcgConditionRecordIfPresent
@Nonnull public io.vavr.control.Option<PurgPrcgConditionRecord> getPurgPrcgConditionRecordIfPresent()Retrieval of associated PurgPrcgConditionRecord entity (one to one). This corresponds to the OData navigation property to_PurgPrcgConditionRecord.If the navigation property for an entity PurgPrcgCndnRecordScale 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 to_PurgPrcgConditionRecord is already loaded, the
result will contain the PurgPrcgConditionRecord entity. If not, an
Optionwith result stateemptyis returned.
-
setPurgPrcgConditionRecord
Overwrites the associated PurgPrcgConditionRecord entity for the loaded navigation property to_PurgPrcgConditionRecord.- Parameters:
value- New PurgPrcgConditionRecord entity.
-
builder
-
getConditionRecord
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ConditionRecord
- Returns:
- Number of Condition Record
-
getConditionSequentialNumber
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ConditionSequentialNumber
- Returns:
- Sequential number of the condition
-
getConditionScaleLine
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionScaleLine
- Returns:
- Current number of the line scale
-
getConditionScaleQuantity
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: ConditionScaleQuantity
- Returns:
- Condition Scale Quantity
-
getConditionScaleQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionScaleQuantityUnit
- Returns:
- Condition Scale Unit of Measure
-
getConditionScaleAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: ConditionScaleAmount
- Returns:
- Scale Value
-
getConditionScaleAmountCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ConditionScaleAmountCurrency
- Returns:
- Scale Currency
-
getConditionRateValue
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: ConditionRateValue
- Returns:
- Condition Amount or Percentage
-
getConditionRateValueUnit
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ConditionRateValueUnit
- Returns:
- Condition Unit (Currency or Percentage)
-
getETag
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ETag
- Returns:
- The eTag contained in this entity.
-
toString
- Overrides:
toStringin classVdmObject<PurgPrcgCndnRecordScale>
-
equals
- Overrides:
equalsin classVdmEntity<PurgPrcgCndnRecordScale>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PurgPrcgCndnRecordScale>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PurgPrcgCndnRecordScale>
-