Class SalesPricingAccessSequence
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SalesPricingAccessSequenceType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SalesPricingAccessSequence instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty.String<SalesPricingAccessSequence>static final SimpleProperty<SalesPricingAccessSequence>Selector for all available fields of SalesPricingAccessSequence.static final SimpleProperty.String<SalesPricingAccessSequence>static final SimpleProperty.String<SalesPricingAccessSequence>Use with available request builders to apply the _SalesPricingAccess 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
ConstructorsConstructorDescriptionSalesPricingAccessSequence(String conditionUsage, String conditionApplication, String accessSequence, List<SalesPricingAccess> to_SalesPricingAccess, List<SlsPricingAccessSequenceText> to_Text) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSalesPricingAccess(SalesPricingAccess... entity) Adds elements to the list of associated SalesPricingAccess entities.voidaddText(SlsPricingAccessSequenceText... entity) Adds elements to the list of associated SlsPricingAccessSequenceText entities.builder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 1protected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<List<SalesPricingAccess>>Retrieval of associated SalesPricingAccess entities (one to many).io.vavr.control.Option<List<SlsPricingAccessSequenceText>>Retrieval of associated SlsPricingAccessSequenceText entities (one to many).getType()inthashCode()voidsetAccessSequence(String accessSequence) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetConditionApplication(String conditionApplication) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetConditionUsage(String conditionUsage) (Key Field) Constraints: Not nullable, Maximum length: 1voidOverwrites the list of associated SalesPricingAccess entities for the loaded navigation property _SalesPricingAccess.voidsetText(List<SlsPricingAccessSequenceText> value) Overwrites the list of associated SlsPricingAccessSequenceText 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 SalesPricingAccessSequence. -
CONDITION_USAGE
-
CONDITION_APPLICATION
-
ACCESS_SEQUENCE
-
TO__SALES_PRICING_ACCESS
public static final NavigationProperty.Collection<SalesPricingAccessSequence,SalesPricingAccess> TO__SALES_PRICING_ACCESSUse with available request builders to apply the _SalesPricingAccess navigation property to query operations. -
TO__TEXT
public static final NavigationProperty.Collection<SalesPricingAccessSequence,SlsPricingAccessSequenceText> TO__TEXTUse with available request builders to apply the _Text navigation property to query operations.
-
-
Constructor Details
-
SalesPricingAccessSequence
public SalesPricingAccessSequence() -
SalesPricingAccessSequence
public SalesPricingAccessSequence(@Nullable String conditionUsage, @Nullable String conditionApplication, @Nullable String accessSequence, List<SalesPricingAccess> to_SalesPricingAccess, List<SlsPricingAccessSequenceText> to_Text)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SalesPricingAccessSequence>
-
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
-
setAccessSequence
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AccessSequence
- Parameters:
accessSequence- Access sequence
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SalesPricingAccessSequence>
-
getKey
- Overrides:
getKeyin classVdmObject<SalesPricingAccessSequence>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SalesPricingAccessSequence>
-
fromMap
- Overrides:
fromMapin classVdmObject<SalesPricingAccessSequence>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SalesPricingAccessSequence>
-
getSalesPricingAccessIfPresent
Retrieval of associated SalesPricingAccess entities (one to many). This corresponds to the OData navigation property _SalesPricingAccess.If the navigation property for an entity SalesPricingAccessSequence 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 _SalesPricingAccess is already loaded, the result will
contain the SalesPricingAccess entities. If not, an
Optionwith result stateemptyis returned.
-
setSalesPricingAccess
Overwrites the list of associated SalesPricingAccess entities for the loaded navigation property _SalesPricingAccess.If the navigation property _SalesPricingAccess of a queried SalesPricingAccessSequence 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 SalesPricingAccess entities.
-
addSalesPricingAccess
Adds elements to the list of associated SalesPricingAccess entities. This corresponds to the OData navigation property _SalesPricingAccess.If the navigation property _SalesPricingAccess of a queried SalesPricingAccessSequence 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 SalesPricingAccess entities.
-
getTextIfPresent
Retrieval of associated SlsPricingAccessSequenceText entities (one to many). This corresponds to the OData navigation property _Text.If the navigation property for an entity SalesPricingAccessSequence 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
SlsPricingAccessSequenceText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated SlsPricingAccessSequenceText entities for the loaded navigation property _Text.If the navigation property _Text of a queried SalesPricingAccessSequence 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 SlsPricingAccessSequenceText entities.
-
addText
Adds elements to the list of associated SlsPricingAccessSequenceText entities. This corresponds to the OData navigation property _Text.If the navigation property _Text of a queried SalesPricingAccessSequence 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 SlsPricingAccessSequenceText 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
-
getAccessSequence
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AccessSequence
- Returns:
- Access sequence
-
toString
- Overrides:
toStringin classVdmObject<SalesPricingAccessSequence>
-
equals
- Overrides:
equalsin classVdmEntity<SalesPricingAccessSequence>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SalesPricingAccessSequence>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SalesPricingAccessSequence>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SalesPricingAccessSequence>
-