Class SlsPrcgCndnRecordScale
Original entity name from the Odata EDM: A_SlsPrcgCndnRecordScaleType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SlsPrcgCndnRecordScale instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SlsPrcgCndnRecordScaleSelectableSelector for all available fields of SlsPrcgCndnRecordScale.static final SlsPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionCurrency field to query operations.static final SlsPrcgCndnRecordScaleField<BigDecimal>Use with available fluent helpers to apply the ConditionRateAmount field to query operations.static final SlsPrcgCndnRecordScaleField<BigDecimal>Use with available fluent helpers to apply the ConditionRateRatio field to query operations.static final SlsPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionRateRatioUnit field to query operations.static final SlsPrcgCndnRecordScaleField<BigDecimal>Use with available fluent helpers to apply the ConditionRateValue field to query operations.static final SlsPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionRateValueUnit field to query operations.static final SlsPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionRecord field to query operations.static final SlsPrcgCndnRecordScaleField<BigDecimal>Use with available fluent helpers to apply the ConditionScaleAmount field to query operations.static final SlsPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionScaleAmountCurrency field to query operations.static final SlsPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionScaleLine field to query operations.static final SlsPrcgCndnRecordScaleField<BigDecimal>Use with available fluent helpers to apply the ConditionScaleQuantity field to query operations.static final SlsPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionScaleQuantityUnit field to query operations.static final SlsPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ConditionSequentialNumber field to query operations.static final SlsPrcgCndnRecordScaleField<String>Use with available fluent helpers to apply the ETag field to query operations.static final SlsPrcgCndnRecordScaleOneToOneLink<SlsPrcgCndnRecdSuplmnt>Use with available fluent helpers to apply the to_SlsPrcgCndnRecdSuplmnt navigation property to query operations.static final SlsPrcgCndnRecordScaleOneToOneLink<SlsPrcgConditionRecord>Use with available fluent helpers to apply the to_SlsPrcgConditionRecord navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSlsPrcgCndnRecordScale(String conditionRecord, String conditionSequentialNumber, String conditionScaleLine, BigDecimal conditionScaleQuantity, String conditionScaleQuantityUnit, BigDecimal conditionScaleAmount, String conditionScaleAmountCurrency, BigDecimal conditionRateValue, String conditionRateValueUnit, BigDecimal conditionRateRatio, String conditionRateRatioUnit, BigDecimal conditionRateAmount, String conditionCurrency, String eTag, SlsPrcgCndnRecdSuplmnt toSlsPrcgCndnRecdSuplmnt, SlsPrcgConditionRecord toSlsPrcgConditionRecord) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the SlsPrcgCndnRecdSuplmnt entity (one to one) associated with this entity.Fetches the SlsPrcgConditionRecord entity (one to one) associated with this entity.static <T,DomainT>
SlsPrcgCndnRecordScaleField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SlsPrcgCndnRecordScaleField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 5Constraints: Not nullable, Precision: 24, Scale: 9Constraints: Not nullable, Precision: 24, Scale: 9Constraints: Not nullable, Maximum length: 3Constraints: 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<SlsPrcgCndnRecdSuplmnt>Retrieval of associated SlsPrcgCndnRecdSuplmnt entity (one to one).Retrieval of associated SlsPrcgCndnRecdSuplmnt entity (one to one).io.vavr.control.Option<SlsPrcgConditionRecord>Retrieval of associated SlsPrcgConditionRecord entity (one to one).Retrieval of associated SlsPrcgConditionRecord entity (one to one).getType()inthashCode()voidsetConditionCurrency(String conditionCurrency) Constraints: Not nullable, Maximum length: 5voidsetConditionRateAmount(BigDecimal conditionRateAmount) Constraints: Not nullable, Precision: 24, Scale: 9voidsetConditionRateRatio(BigDecimal conditionRateRatio) Constraints: Not nullable, Precision: 24, Scale: 9voidsetConditionRateRatioUnit(String conditionRateRatioUnit) Constraints: Not nullable, Maximum length: 3voidsetConditionRateValue(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: 40protected voidsetServicePathForFetch(String servicePathForFetch) voidOverwrites the associated SlsPrcgCndnRecdSuplmnt entity for the loaded navigation property to_SlsPrcgCndnRecdSuplmnt.voidOverwrites the associated SlsPrcgConditionRecord entity for the loaded navigation property to_SlsPrcgConditionRecord.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 SlsPrcgCndnRecordScale. -
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. -
CONDITION_RATE_RATIO
Use with available fluent helpers to apply the ConditionRateRatio field to query operations. -
CONDITION_RATE_RATIO_UNIT
Use with available fluent helpers to apply the ConditionRateRatioUnit field to query operations. -
CONDITION_RATE_AMOUNT
Use with available fluent helpers to apply the ConditionRateAmount field to query operations. -
CONDITION_CURRENCY
Use with available fluent helpers to apply the ConditionCurrency field to query operations. -
E_TAG
Use with available fluent helpers to apply the ETag field to query operations. -
TO_SLS_PRCG_CNDN_RECD_SUPLMNT
public static final SlsPrcgCndnRecordScaleOneToOneLink<SlsPrcgCndnRecdSuplmnt> TO_SLS_PRCG_CNDN_RECD_SUPLMNTUse with available fluent helpers to apply the to_SlsPrcgCndnRecdSuplmnt navigation property to query operations. -
TO_SLS_PRCG_CONDITION_RECORD
public static final SlsPrcgCndnRecordScaleOneToOneLink<SlsPrcgConditionRecord> TO_SLS_PRCG_CONDITION_RECORDUse with available fluent helpers to apply the to_SlsPrcgConditionRecord navigation property to query operations.
-
-
Constructor Details
-
SlsPrcgCndnRecordScale
public SlsPrcgCndnRecordScale() -
SlsPrcgCndnRecordScale
public SlsPrcgCndnRecordScale(@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 BigDecimal conditionRateRatio, @Nullable String conditionRateRatioUnit, @Nullable BigDecimal conditionRateAmount, @Nullable String conditionCurrency, @Nullable String eTag, @Nullable SlsPrcgCndnRecdSuplmnt toSlsPrcgCndnRecdSuplmnt, @Nullable SlsPrcgConditionRecord toSlsPrcgConditionRecord)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SlsPrcgCndnRecordScale>
-
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)
-
setConditionRateRatio
Constraints: Not nullable, Precision: 24, Scale: 9Original property name from the Odata EDM: ConditionRateRatio
- Parameters:
conditionRateRatio- Condition Ratio (in Percent or Per Mille)
-
setConditionRateRatioUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionRateRatioUnit
- Parameters:
conditionRateRatioUnit- Unit of Measure
-
setConditionRateAmount
Constraints: Not nullable, Precision: 24, Scale: 9Original property name from the Odata EDM: ConditionRateAmount
- Parameters:
conditionRateAmount- Condition Amount or Percentage
-
setConditionCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ConditionCurrency
- Parameters:
conditionCurrency- 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<SlsPrcgCndnRecordScale>
-
getKey
- Overrides:
getKeyin classVdmObject<SlsPrcgCndnRecordScale>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SlsPrcgCndnRecordScale>
-
fromMap
- Overrides:
fromMapin classVdmObject<SlsPrcgCndnRecordScale>
-
field
@Nonnull public static <T> SlsPrcgCndnRecordScaleField<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> SlsPrcgCndnRecordScaleField<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<SlsPrcgCndnRecordScale>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SlsPrcgCndnRecordScale>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SlsPrcgCndnRecordScale>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SlsPrcgCndnRecordScale>
-
fetchSlsPrcgCndnRecdSuplmnt
Fetches the SlsPrcgCndnRecdSuplmnt entity (one to one) associated with this entity. This corresponds to the OData navigation property to_SlsPrcgCndnRecdSuplmnt.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated SlsPrcgCndnRecdSuplmnt 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.
-
getSlsPrcgCndnRecdSuplmntOrFetch
Retrieval of associated SlsPrcgCndnRecdSuplmnt entity (one to one). This corresponds to the OData navigation property to_SlsPrcgCndnRecdSuplmnt.If the navigation property to_SlsPrcgCndnRecdSuplmnt of a queried SlsPrcgCndnRecordScale 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 SlsPrcgCndnRecdSuplmnt 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.
-
getSlsPrcgCndnRecdSuplmntIfPresent
Retrieval of associated SlsPrcgCndnRecdSuplmnt entity (one to one). This corresponds to the OData navigation property to_SlsPrcgCndnRecdSuplmnt.If the navigation property for an entity SlsPrcgCndnRecordScale 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_SlsPrcgCndnRecdSuplmnt is already loaded, the result
will contain the SlsPrcgCndnRecdSuplmnt entity. If not, an
Optionwith result stateemptyis returned.
-
setSlsPrcgCndnRecdSuplmnt
Overwrites the associated SlsPrcgCndnRecdSuplmnt entity for the loaded navigation property to_SlsPrcgCndnRecdSuplmnt.- Parameters:
value- New SlsPrcgCndnRecdSuplmnt entity.
-
fetchSlsPrcgConditionRecord
Fetches the SlsPrcgConditionRecord entity (one to one) associated with this entity. This corresponds to the OData navigation property to_SlsPrcgConditionRecord.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated SlsPrcgConditionRecord 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.
-
getSlsPrcgConditionRecordOrFetch
Retrieval of associated SlsPrcgConditionRecord entity (one to one). This corresponds to the OData navigation property to_SlsPrcgConditionRecord.If the navigation property to_SlsPrcgConditionRecord of a queried SlsPrcgCndnRecordScale 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 SlsPrcgConditionRecord 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.
-
getSlsPrcgConditionRecordIfPresent
Retrieval of associated SlsPrcgConditionRecord entity (one to one). This corresponds to the OData navigation property to_SlsPrcgConditionRecord.If the navigation property for an entity SlsPrcgCndnRecordScale 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_SlsPrcgConditionRecord is already loaded, the result
will contain the SlsPrcgConditionRecord entity. If not, an
Optionwith result stateemptyis returned.
-
setSlsPrcgConditionRecord
Overwrites the associated SlsPrcgConditionRecord entity for the loaded navigation property to_SlsPrcgConditionRecord.- Parameters:
value- New SlsPrcgConditionRecord 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)
-
getConditionRateRatio
Constraints: Not nullable, Precision: 24, Scale: 9Original property name from the Odata EDM: ConditionRateRatio
- Returns:
- Condition Ratio (in Percent or Per Mille)
-
getConditionRateRatioUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionRateRatioUnit
- Returns:
- Unit of Measure
-
getConditionRateAmount
Constraints: Not nullable, Precision: 24, Scale: 9Original property name from the Odata EDM: ConditionRateAmount
- Returns:
- Condition Amount or Percentage
-
getConditionCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ConditionCurrency
- 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<SlsPrcgCndnRecordScale>
-
equals
- Overrides:
equalsin classVdmEntity<SlsPrcgCndnRecordScale>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SlsPrcgCndnRecordScale>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SlsPrcgCndnRecordScale>
-