Class SlsCndnExclsnForPrcgProced
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SlsCndnExclsnForPrcgProced_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SlsCndnExclsnForPrcgProced instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SlsCndnExclsnForPrcgProced>Selector for all available fields of SlsCndnExclsnForPrcgProced.static final SimpleProperty.String<SlsCndnExclsnForPrcgProced>static final SimpleProperty.String<SlsCndnExclsnForPrcgProced>static final SimpleProperty.String<SlsCndnExclsnForPrcgProced>static final SimpleProperty.String<SlsCndnExclsnForPrcgProced>static final SimpleProperty.String<SlsCndnExclsnForPrcgProced>static final SimpleProperty.String<SlsCndnExclsnForPrcgProced>static final SimpleProperty.String<SlsCndnExclsnForPrcgProced>Use with available request builders to apply the _SlsPrcgCndnExclusionGroup 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
ConstructorsConstructorDescriptionSlsCndnExclsnForPrcgProced(String conditionUsage, String conditionApplication, String pricingProcedure, String cndnExclusionSequentialNumber, String conditionExclusionProcedure, String conditionExclusionGroup1, String conditionExclusionGroup2, List<SlsPrcgCndnExclusionGroup> to_SlsPrcgCndnExclusionGroup) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SlsPrcgCndnExclusionGroup entities.builder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 1protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 6io.vavr.control.Option<List<SlsPrcgCndnExclusionGroup>>Retrieval of associated SlsPrcgCndnExclusionGroup entities (one to many).getType()inthashCode()voidsetCndnExclusionSequentialNumber(String cndnExclusionSequentialNumber) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetConditionApplication(String conditionApplication) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetConditionExclusionGroup1(String conditionExclusionGroup1) Constraints: Not nullable, Maximum length: 4voidsetConditionExclusionGroup2(String conditionExclusionGroup2) Constraints: Not nullable, Maximum length: 4voidsetConditionExclusionProcedure(String conditionExclusionProcedure) Constraints: Not nullable, Maximum length: 1voidsetConditionUsage(String conditionUsage) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetPricingProcedure(String pricingProcedure) (Key Field) Constraints: Not nullable, Maximum length: 6voidOverwrites the list of associated SlsPrcgCndnExclusionGroup entities for the loaded navigation property _SlsPrcgCndnExclusionGroup.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 SlsCndnExclsnForPrcgProced. -
CONDITION_USAGE
-
CONDITION_APPLICATION
-
PRICING_PROCEDURE
-
CNDN_EXCLUSION_SEQUENTIAL_NUMBER
public static final SimpleProperty.String<SlsCndnExclsnForPrcgProced> CNDN_EXCLUSION_SEQUENTIAL_NUMBER -
CONDITION_EXCLUSION_PROCEDURE
-
CONDITION_EXCLUSION_GROUP1
-
CONDITION_EXCLUSION_GROUP2
-
TO__SLS_PRCG_CNDN_EXCLUSION_GROUP
public static final NavigationProperty.Collection<SlsCndnExclsnForPrcgProced,SlsPrcgCndnExclusionGroup> TO__SLS_PRCG_CNDN_EXCLUSION_GROUPUse with available request builders to apply the _SlsPrcgCndnExclusionGroup navigation property to query operations.
-
-
Constructor Details
-
SlsCndnExclsnForPrcgProced
public SlsCndnExclsnForPrcgProced() -
SlsCndnExclsnForPrcgProced
public SlsCndnExclsnForPrcgProced(@Nullable String conditionUsage, @Nullable String conditionApplication, @Nullable String pricingProcedure, @Nullable String cndnExclusionSequentialNumber, @Nullable String conditionExclusionProcedure, @Nullable String conditionExclusionGroup1, @Nullable String conditionExclusionGroup2, List<SlsPrcgCndnExclusionGroup> to_SlsPrcgCndnExclusionGroup)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SlsCndnExclsnForPrcgProced>
-
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
-
setPricingProcedure
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PricingProcedure
- Parameters:
pricingProcedure- Procedure (Pricing, Output Control, Acct. Det., Costing,...)
-
setCndnExclusionSequentialNumber
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CndnExclusionSequentialNumber
- Parameters:
cndnExclusionSequentialNumber- Sequential Number for Condition Exclusion
-
setConditionExclusionProcedure
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ConditionExclusionProcedure
- Parameters:
conditionExclusionProcedure- Condition Exclusion Procedure
-
setConditionExclusionGroup1
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionExclusionGroup1
- Parameters:
conditionExclusionGroup1- Condition exclusion group1
-
setConditionExclusionGroup2
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionExclusionGroup2
- Parameters:
conditionExclusionGroup2- Condition exclusion group 2
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SlsCndnExclsnForPrcgProced>
-
getKey
- Overrides:
getKeyin classVdmObject<SlsCndnExclsnForPrcgProced>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SlsCndnExclsnForPrcgProced>
-
fromMap
- Overrides:
fromMapin classVdmObject<SlsCndnExclsnForPrcgProced>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SlsCndnExclsnForPrcgProced>
-
getSlsPrcgCndnExclusionGroupIfPresent
@Nonnull public io.vavr.control.Option<List<SlsPrcgCndnExclusionGroup>> getSlsPrcgCndnExclusionGroupIfPresent()Retrieval of associated SlsPrcgCndnExclusionGroup entities (one to many). This corresponds to the OData navigation property _SlsPrcgCndnExclusionGroup.If the navigation property for an entity SlsCndnExclsnForPrcgProced 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 _SlsPrcgCndnExclusionGroup is already loaded, the
result will contain the SlsPrcgCndnExclusionGroup entities. If not, an
Optionwith result stateemptyis returned.
-
setSlsPrcgCndnExclusionGroup
Overwrites the list of associated SlsPrcgCndnExclusionGroup entities for the loaded navigation property _SlsPrcgCndnExclusionGroup.If the navigation property _SlsPrcgCndnExclusionGroup of a queried SlsCndnExclsnForPrcgProced 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 SlsPrcgCndnExclusionGroup entities.
-
addSlsPrcgCndnExclusionGroup
Adds elements to the list of associated SlsPrcgCndnExclusionGroup entities. This corresponds to the OData navigation property _SlsPrcgCndnExclusionGroup.If the navigation property _SlsPrcgCndnExclusionGroup of a queried SlsCndnExclsnForPrcgProced 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 SlsPrcgCndnExclusionGroup 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
-
getPricingProcedure
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PricingProcedure
- Returns:
- Procedure (Pricing, Output Control, Acct. Det., Costing,...)
-
getCndnExclusionSequentialNumber
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CndnExclusionSequentialNumber
- Returns:
- Sequential Number for Condition Exclusion
-
getConditionExclusionProcedure
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ConditionExclusionProcedure
- Returns:
- Condition Exclusion Procedure
-
getConditionExclusionGroup1
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionExclusionGroup1
- Returns:
- Condition exclusion group1
-
getConditionExclusionGroup2
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionExclusionGroup2
- Returns:
- Condition exclusion group 2
-
toString
- Overrides:
toStringin classVdmObject<SlsCndnExclsnForPrcgProced>
-
equals
- Overrides:
equalsin classVdmEntity<SlsCndnExclsnForPrcgProced>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SlsCndnExclsnForPrcgProced>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SlsCndnExclsnForPrcgProced>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SlsCndnExclsnForPrcgProced>
-