Class SalesPricingConditionField
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SalesPricingConditionFieldType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SalesPricingConditionField instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SalesPricingConditionField>Selector for all available fields of SalesPricingConditionField.static final SimpleProperty.String<SalesPricingConditionField>static final SimpleProperty.String<SalesPricingConditionField>static final SimpleProperty.String<SalesPricingConditionField>static final SimpleProperty.String<SalesPricingConditionField>Use with available request builders to apply the _Text 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
ConstructorsConstructorDescriptionSalesPricingConditionField(String conditionUsage, String conditionApplication, String pricingConditionField, String prcgConditionGlobalFieldName, List<SlsPricingConditionFieldText> to_Text) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddText(SlsPricingConditionFieldText... entity) Adds elements to the list of associated SlsPricingConditionFieldText entities.builder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 1protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 30(Key Field) Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<List<SlsPricingConditionFieldText>>Retrieval of associated SlsPricingConditionFieldText entities (one to many).getType()inthashCode()voidsetConditionApplication(String conditionApplication) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetConditionUsage(String conditionUsage) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetPrcgConditionGlobalFieldName(String prcgConditionGlobalFieldName) Constraints: Not nullable, Maximum length: 30voidsetPricingConditionField(String pricingConditionField) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetText(List<SlsPricingConditionFieldText> value) Overwrites the list of associated SlsPricingConditionFieldText entities for the loaded navigation property _Text.toString()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 SalesPricingConditionField. -
CONDITION_USAGE
-
CONDITION_APPLICATION
-
PRICING_CONDITION_FIELD
-
PRCG_CONDITION_GLOBAL_FIELD_NAME
public static final SimpleProperty.String<SalesPricingConditionField> PRCG_CONDITION_GLOBAL_FIELD_NAME -
TO__TEXT
public static final NavigationProperty.Collection<SalesPricingConditionField,SlsPricingConditionFieldText> TO__TEXTUse with available request builders to apply the _Text navigation property to query operations.
-
-
Constructor Details
-
SalesPricingConditionField
public SalesPricingConditionField() -
SalesPricingConditionField
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SalesPricingConditionField>
-
setConditionUsage
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ConditionUsage
- Parameters:
conditionUsage- Usage of the condition table
-
setConditionApplication
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ConditionApplication
- Parameters:
conditionApplication- Application
-
setPricingConditionField
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: PricingConditionField
- Parameters:
pricingConditionField- Name of the condition field
-
setPrcgConditionGlobalFieldName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: PrcgConditionGlobalFieldName
- Parameters:
prcgConditionGlobalFieldName- DD: Field Name Original Spelling
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SalesPricingConditionField>
-
getKey
- Overrides:
getKeyin classVdmObject<SalesPricingConditionField>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SalesPricingConditionField>
-
fromMap
- Overrides:
fromMapin classVdmObject<SalesPricingConditionField>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SalesPricingConditionField>
-
getTextIfPresent
Retrieval of associated SlsPricingConditionFieldText entities (one to many). This corresponds to the OData navigation property _Text.If the navigation property for an entity SalesPricingConditionField 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 _Text is already loaded, the result will contain the
SlsPricingConditionFieldText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated SlsPricingConditionFieldText entities for the loaded navigation property _Text.If the navigation property _Text of a queried SalesPricingConditionField 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.
- Parameters:
value- List of SlsPricingConditionFieldText entities.
-
addText
Adds elements to the list of associated SlsPricingConditionFieldText entities. This corresponds to the OData navigation property _Text.If the navigation property _Text of a queried SalesPricingConditionField 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.
- Parameters:
entity- Array of SlsPricingConditionFieldText entities.
-
builder
-
getConditionUsage
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ConditionUsage
- Returns:
- Usage of the condition table
-
getConditionApplication
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ConditionApplication
- Returns:
- Application
-
getPricingConditionField
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: PricingConditionField
- Returns:
- Name of the condition field
-
getPrcgConditionGlobalFieldName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: PrcgConditionGlobalFieldName
- Returns:
- DD: Field Name Original Spelling
-
toString
- Overrides:
toStringin classVdmObject<SalesPricingConditionField>
-
equals
- Overrides:
equalsin classVdmEntity<SalesPricingConditionField>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SalesPricingConditionField>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SalesPricingConditionField>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SalesPricingConditionField>
-