Class SalesPricingAccess
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SalesPricingAccessType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SalesPricingAccess instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty.String<SalesPricingAccess>static final SimpleProperty.String<SalesPricingAccess>static final SimpleProperty<SalesPricingAccess>Selector for all available fields of SalesPricingAccess.static final SimpleProperty.String<SalesPricingAccess>static final SimpleProperty.String<SalesPricingAccess>static final SimpleProperty.String<SalesPricingAccess>static final SimpleProperty.String<SalesPricingAccess>static final SimpleProperty.Boolean<SalesPricingAccess>Use with available request builders to apply the _SalesPricingAccessField navigation property to query operations.Use with available request builders to apply the _SalesPricingAccessSequence 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
ConstructorsConstructorDescriptionSalesPricingAccess(String conditionUsage, String conditionApplication, String accessSequence, String accessNumberOfAccessSequence, String conditionTable, String conditionRequirement, Boolean prcgConditionAccessIsExclusive, List<SalesPricingAccessField> to_SalesPricingAccessField, SalesPricingAccessSequence to_SalesPricingAccessSequence) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SalesPricingAccessField entities.builder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 7Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 1protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullableio.vavr.control.Option<List<SalesPricingAccessField>>Retrieval of associated SalesPricingAccessField entities (one to many).io.vavr.control.Option<SalesPricingAccessSequence>Retrieval of associated SalesPricingAccessSequence entity (one to one).getType()inthashCode()voidsetAccessNumberOfAccessSequence(String accessNumberOfAccessSequence) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetAccessSequence(String accessSequence) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetConditionApplication(String conditionApplication) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetConditionRequirement(String conditionRequirement) Constraints: Not nullable, Maximum length: 7voidsetConditionTable(String conditionTable) Constraints: Not nullable, Maximum length: 3voidsetConditionUsage(String conditionUsage) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetPrcgConditionAccessIsExclusive(Boolean prcgConditionAccessIsExclusive) Constraints: Not nullablevoidOverwrites the list of associated SalesPricingAccessField entities for the loaded navigation property _SalesPricingAccessField.voidOverwrites the associated SalesPricingAccessSequence entity for the loaded navigation property _SalesPricingAccessSequence.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 SalesPricingAccess. -
CONDITION_USAGE
-
CONDITION_APPLICATION
-
ACCESS_SEQUENCE
-
ACCESS_NUMBER_OF_ACCESS_SEQUENCE
-
CONDITION_TABLE
-
CONDITION_REQUIREMENT
-
PRCG_CONDITION_ACCESS_IS_EXCLUSIVE
-
TO__SALES_PRICING_ACCESS_FIELD
public static final NavigationProperty.Collection<SalesPricingAccess,SalesPricingAccessField> TO__SALES_PRICING_ACCESS_FIELDUse with available request builders to apply the _SalesPricingAccessField navigation property to query operations. -
TO__SALES_PRICING_ACCESS_SEQUENCE
public static final NavigationProperty.Single<SalesPricingAccess,SalesPricingAccessSequence> TO__SALES_PRICING_ACCESS_SEQUENCEUse with available request builders to apply the _SalesPricingAccessSequence navigation property to query operations.
-
-
Constructor Details
-
SalesPricingAccess
public SalesPricingAccess() -
SalesPricingAccess
public SalesPricingAccess(@Nullable String conditionUsage, @Nullable String conditionApplication, @Nullable String accessSequence, @Nullable String accessNumberOfAccessSequence, @Nullable String conditionTable, @Nullable String conditionRequirement, @Nullable Boolean prcgConditionAccessIsExclusive, List<SalesPricingAccessField> to_SalesPricingAccessField, @Nullable SalesPricingAccessSequence to_SalesPricingAccessSequence)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SalesPricingAccess>
-
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
-
setAccessNumberOfAccessSequence
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: AccessNumberOfAccessSequence
- Parameters:
accessNumberOfAccessSequence- Access sequence - Access number
-
setConditionTable
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionTable
- Parameters:
conditionTable- Three-digit character field for IDocs
-
setConditionRequirement
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ConditionRequirement
- Parameters:
conditionRequirement- Requirement
-
setPrcgConditionAccessIsExclusive
Constraints: Not nullableOriginal property name from the Odata EDM: PrcgConditionAccessIsExclusive
- Parameters:
prcgConditionAccessIsExclusive- Indicator: Exclusive Condition Access
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SalesPricingAccess>
-
getKey
- Overrides:
getKeyin classVdmObject<SalesPricingAccess>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SalesPricingAccess>
-
fromMap
- Overrides:
fromMapin classVdmObject<SalesPricingAccess>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SalesPricingAccess>
-
getSalesPricingAccessFieldIfPresent
@Nonnull public io.vavr.control.Option<List<SalesPricingAccessField>> getSalesPricingAccessFieldIfPresent()Retrieval of associated SalesPricingAccessField entities (one to many). This corresponds to the OData navigation property _SalesPricingAccessField.If the navigation property for an entity SalesPricingAccess 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 _SalesPricingAccessField is already loaded, the result
will contain the SalesPricingAccessField entities. If not, an
Optionwith result stateemptyis returned.
-
setSalesPricingAccessField
Overwrites the list of associated SalesPricingAccessField entities for the loaded navigation property _SalesPricingAccessField.If the navigation property _SalesPricingAccessField of a queried SalesPricingAccess 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 SalesPricingAccessField entities.
-
addSalesPricingAccessField
Adds elements to the list of associated SalesPricingAccessField entities. This corresponds to the OData navigation property _SalesPricingAccessField.If the navigation property _SalesPricingAccessField of a queried SalesPricingAccess 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 SalesPricingAccessField entities.
-
getSalesPricingAccessSequenceIfPresent
@Nonnull public io.vavr.control.Option<SalesPricingAccessSequence> getSalesPricingAccessSequenceIfPresent()Retrieval of associated SalesPricingAccessSequence entity (one to one). This corresponds to the OData navigation property _SalesPricingAccessSequence.If the navigation property for an entity SalesPricingAccess 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 _SalesPricingAccessSequence is already loaded, the
result will contain the SalesPricingAccessSequence entity. If not, an
Optionwith result stateemptyis returned.
-
setSalesPricingAccessSequence
Overwrites the associated SalesPricingAccessSequence entity for the loaded navigation property _SalesPricingAccessSequence.- Parameters:
value- New SalesPricingAccessSequence entity.
-
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
-
getAccessNumberOfAccessSequence
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: AccessNumberOfAccessSequence
- Returns:
- Access sequence - Access number
-
getConditionTable
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionTable
- Returns:
- Three-digit character field for IDocs
-
getConditionRequirement
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ConditionRequirement
- Returns:
- Requirement
-
getPrcgConditionAccessIsExclusive
Constraints: Not nullableOriginal property name from the Odata EDM: PrcgConditionAccessIsExclusive
- Returns:
- Indicator: Exclusive Condition Access
-
toString
- Overrides:
toStringin classVdmObject<SalesPricingAccess>
-
equals
- Overrides:
equalsin classVdmEntity<SalesPricingAccess>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SalesPricingAccess>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SalesPricingAccess>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SalesPricingAccess>
-