Class SalesPricingConditionTable
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SalesPricingConditionTableType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SalesPricingConditionTable instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SalesPricingConditionTable>Selector for all available fields of SalesPricingConditionTable.static final SimpleProperty.String<SalesPricingConditionTable>static final SimpleProperty.String<SalesPricingConditionTable>static final SimpleProperty.String<SalesPricingConditionTable>static final SimpleProperty.Boolean<SalesPricingConditionTable>static final SimpleProperty.Boolean<SalesPricingConditionTable>Use with available request builders to apply the _SlsPrcgConditionTableField navigation property to query operations.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
ConstructorsConstructorDescriptionSalesPricingConditionTable(String conditionUsage, String conditionApplication, String conditionTable, Boolean prcgCndnTableHasValidityPeriod, Boolean prcgCndnTableHasReleaseStatus, List<SlsPrcgConditionTableField> to_SlsPrcgConditionTableField, List<SlsPricingConditionTableText> to_Text) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SlsPrcgConditionTableField entities.voidaddText(SlsPricingConditionTableText... entity) Adds elements to the list of associated SlsPricingConditionTableText entities.builder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 1protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullableConstraints: Not nullableio.vavr.control.Option<List<SlsPrcgConditionTableField>>Retrieval of associated SlsPrcgConditionTableField entities (one to many).io.vavr.control.Option<List<SlsPricingConditionTableText>>Retrieval of associated SlsPricingConditionTableText entities (one to many).getType()inthashCode()voidsetConditionApplication(String conditionApplication) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetConditionTable(String conditionTable) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetConditionUsage(String conditionUsage) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetPrcgCndnTableHasReleaseStatus(Boolean prcgCndnTableHasReleaseStatus) Constraints: Not nullablevoidsetPrcgCndnTableHasValidityPeriod(Boolean prcgCndnTableHasValidityPeriod) Constraints: Not nullablevoidOverwrites the list of associated SlsPrcgConditionTableField entities for the loaded navigation property _SlsPrcgConditionTableField.voidsetText(List<SlsPricingConditionTableText> value) Overwrites the list of associated SlsPricingConditionTableText 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 SalesPricingConditionTable. -
CONDITION_USAGE
-
CONDITION_APPLICATION
-
CONDITION_TABLE
-
PRCG_CNDN_TABLE_HAS_VALIDITY_PERIOD
public static final SimpleProperty.Boolean<SalesPricingConditionTable> PRCG_CNDN_TABLE_HAS_VALIDITY_PERIOD -
PRCG_CNDN_TABLE_HAS_RELEASE_STATUS
public static final SimpleProperty.Boolean<SalesPricingConditionTable> PRCG_CNDN_TABLE_HAS_RELEASE_STATUS -
TO__SLS_PRCG_CONDITION_TABLE_FIELD
public static final NavigationProperty.Collection<SalesPricingConditionTable,SlsPrcgConditionTableField> TO__SLS_PRCG_CONDITION_TABLE_FIELDUse with available request builders to apply the _SlsPrcgConditionTableField navigation property to query operations. -
TO__TEXT
public static final NavigationProperty.Collection<SalesPricingConditionTable,SlsPricingConditionTableText> TO__TEXTUse with available request builders to apply the _Text navigation property to query operations.
-
-
Constructor Details
-
SalesPricingConditionTable
public SalesPricingConditionTable() -
SalesPricingConditionTable
public SalesPricingConditionTable(@Nullable String conditionUsage, @Nullable String conditionApplication, @Nullable String conditionTable, @Nullable Boolean prcgCndnTableHasValidityPeriod, @Nullable Boolean prcgCndnTableHasReleaseStatus, List<SlsPrcgConditionTableField> to_SlsPrcgConditionTableField, List<SlsPricingConditionTableText> to_Text)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SalesPricingConditionTable>
-
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
-
setConditionTable
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionTable
- Parameters:
conditionTable- Three-digit character field for IDocs
-
setPrcgCndnTableHasValidityPeriod
Constraints: Not nullableOriginal property name from the Odata EDM: PrcgCndnTableHasValidityPeriod
- Parameters:
prcgCndnTableHasValidityPeriod- ID: Condition structure has validity period
-
setPrcgCndnTableHasReleaseStatus
Constraints: Not nullableOriginal property name from the Odata EDM: PrcgCndnTableHasReleaseStatus
- Parameters:
prcgCndnTableHasReleaseStatus- Indicator: Structure has release status
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SalesPricingConditionTable>
-
getKey
- Overrides:
getKeyin classVdmObject<SalesPricingConditionTable>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SalesPricingConditionTable>
-
fromMap
- Overrides:
fromMapin classVdmObject<SalesPricingConditionTable>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SalesPricingConditionTable>
-
getSlsPrcgConditionTableFieldIfPresent
@Nonnull public io.vavr.control.Option<List<SlsPrcgConditionTableField>> getSlsPrcgConditionTableFieldIfPresent()Retrieval of associated SlsPrcgConditionTableField entities (one to many). This corresponds to the OData navigation property _SlsPrcgConditionTableField.If the navigation property for an entity SalesPricingConditionTable 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 _SlsPrcgConditionTableField is already loaded, the
result will contain the SlsPrcgConditionTableField entities. If not, an
Optionwith result stateemptyis returned.
-
setSlsPrcgConditionTableField
Overwrites the list of associated SlsPrcgConditionTableField entities for the loaded navigation property _SlsPrcgConditionTableField.If the navigation property _SlsPrcgConditionTableField of a queried SalesPricingConditionTable 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 SlsPrcgConditionTableField entities.
-
addSlsPrcgConditionTableField
Adds elements to the list of associated SlsPrcgConditionTableField entities. This corresponds to the OData navigation property _SlsPrcgConditionTableField.If the navigation property _SlsPrcgConditionTableField of a queried SalesPricingConditionTable 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 SlsPrcgConditionTableField entities.
-
getTextIfPresent
Retrieval of associated SlsPricingConditionTableText entities (one to many). This corresponds to the OData navigation property _Text.If the navigation property for an entity SalesPricingConditionTable 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
SlsPricingConditionTableText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated SlsPricingConditionTableText entities for the loaded navigation property _Text.If the navigation property _Text of a queried SalesPricingConditionTable 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 SlsPricingConditionTableText entities.
-
addText
Adds elements to the list of associated SlsPricingConditionTableText entities. This corresponds to the OData navigation property _Text.If the navigation property _Text of a queried SalesPricingConditionTable 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 SlsPricingConditionTableText 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
-
getConditionTable
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionTable
- Returns:
- Three-digit character field for IDocs
-
getPrcgCndnTableHasValidityPeriod
Constraints: Not nullableOriginal property name from the Odata EDM: PrcgCndnTableHasValidityPeriod
- Returns:
- ID: Condition structure has validity period
-
getPrcgCndnTableHasReleaseStatus
Constraints: Not nullableOriginal property name from the Odata EDM: PrcgCndnTableHasReleaseStatus
- Returns:
- Indicator: Structure has release status
-
toString
- Overrides:
toStringin classVdmObject<SalesPricingConditionTable>
-
equals
- Overrides:
equalsin classVdmEntity<SalesPricingConditionTable>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SalesPricingConditionTable>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SalesPricingConditionTable>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SalesPricingConditionTable>
-