Class UsageDecisionSelectedCode
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: UsageDecisionSelectedCode_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of UsageDecisionSelectedCode instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<UsageDecisionSelectedCode>Selector for all available fields of UsageDecisionSelectedCode.static final SimpleProperty.String<UsageDecisionSelectedCode>static final SimpleProperty.NumericInteger<UsageDecisionSelectedCode>static final SimpleProperty.String<UsageDecisionSelectedCode>static final SimpleProperty.String<UsageDecisionSelectedCode>Use with available request builders to apply the _SelectedCodeSet navigation property to query operations.static final NavigationProperty.Collection<UsageDecisionSelectedCode,UsageDecisionSelectedCodeGroupText> Use with available request builders to apply the _UsageDcsnSeldCodeGrpTxt navigation property to query operations.Use with available request builders to apply the _UsageDcsnSeldCodeTxt navigation property to query operations.static final SimpleProperty.String<UsageDecisionSelectedCode>static final SimpleProperty.String<UsageDecisionSelectedCode>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionUsageDecisionSelectedCode(String selectedCodeSetPlant, String selectedCodeSet, String usageDecisionCodeGroup, String usageDecisionCode, String inspLotUsageDecisionValuation, Integer inspectionLotQualityScore, UsageDecisionSelectedCodeSet to_SelectedCodeSet, List<UsageDecisionSelectedCodeGroupText> to_UsageDcsnSeldCodeGrpTxt, List<UsageDecisionSelectedCodeText> to_UsageDcsnSeldCodeTxt) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated UsageDecisionSelectedCodeGroupText entities.voidAdds elements to the list of associated UsageDecisionSelectedCodeText entities.builder()protected booleanbooleanprotected voidprotected Stringprotected StringConstraints: Not nullableConstraints: Not nullable, Maximum length: 1protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 8io.vavr.control.Option<UsageDecisionSelectedCodeSet>Retrieval of associated UsageDecisionSelectedCodeSet entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 4getType()io.vavr.control.Option<List<UsageDecisionSelectedCodeGroupText>>Retrieval of associated UsageDecisionSelectedCodeGroupText entities (one to many).io.vavr.control.Option<List<UsageDecisionSelectedCodeText>>Retrieval of associated UsageDecisionSelectedCodeText entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 8inthashCode()voidsetInspectionLotQualityScore(Integer inspectionLotQualityScore) Constraints: Not nullablevoidsetInspLotUsageDecisionValuation(String inspLotUsageDecisionValuation) Constraints: Not nullable, Maximum length: 1voidOverwrites the associated UsageDecisionSelectedCodeSet entity for the loaded navigation property _SelectedCodeSet.voidsetSelectedCodeSet(String selectedCodeSet) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetSelectedCodeSetPlant(String selectedCodeSetPlant) (Key Field) Constraints: Not nullable, Maximum length: 4voidOverwrites the list of associated UsageDecisionSelectedCodeGroupText entities for the loaded navigation property _UsageDcsnSeldCodeGrpTxt.voidOverwrites the list of associated UsageDecisionSelectedCodeText entities for the loaded navigation property _UsageDcsnSeldCodeTxt.voidsetUsageDecisionCode(String usageDecisionCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetUsageDecisionCodeGroup(String usageDecisionCodeGroup) (Key Field) Constraints: Not nullable, Maximum length: 8toString()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 UsageDecisionSelectedCode. -
SELECTED_CODE_SET_PLANT
-
SELECTED_CODE_SET
-
USAGE_DECISION_CODE_GROUP
-
USAGE_DECISION_CODE
-
INSP_LOT_USAGE_DECISION_VALUATION
public static final SimpleProperty.String<UsageDecisionSelectedCode> INSP_LOT_USAGE_DECISION_VALUATION -
INSPECTION_LOT_QUALITY_SCORE
public static final SimpleProperty.NumericInteger<UsageDecisionSelectedCode> INSPECTION_LOT_QUALITY_SCORE -
TO__SELECTED_CODE_SET
public static final NavigationProperty.Single<UsageDecisionSelectedCode,UsageDecisionSelectedCodeSet> TO__SELECTED_CODE_SETUse with available request builders to apply the _SelectedCodeSet navigation property to query operations. -
TO__USAGE_DCSN_SELD_CODE_GRP_TXT
public static final NavigationProperty.Collection<UsageDecisionSelectedCode,UsageDecisionSelectedCodeGroupText> TO__USAGE_DCSN_SELD_CODE_GRP_TXTUse with available request builders to apply the _UsageDcsnSeldCodeGrpTxt navigation property to query operations. -
TO__USAGE_DCSN_SELD_CODE_TXT
public static final NavigationProperty.Collection<UsageDecisionSelectedCode,UsageDecisionSelectedCodeText> TO__USAGE_DCSN_SELD_CODE_TXTUse with available request builders to apply the _UsageDcsnSeldCodeTxt navigation property to query operations.
-
-
Constructor Details
-
UsageDecisionSelectedCode
public UsageDecisionSelectedCode() -
UsageDecisionSelectedCode
public UsageDecisionSelectedCode(@Nullable String selectedCodeSetPlant, @Nullable String selectedCodeSet, @Nullable String usageDecisionCodeGroup, @Nullable String usageDecisionCode, @Nullable String inspLotUsageDecisionValuation, @Nullable Integer inspectionLotQualityScore, @Nullable UsageDecisionSelectedCodeSet to_SelectedCodeSet, List<UsageDecisionSelectedCodeGroupText> to_UsageDcsnSeldCodeGrpTxt, List<UsageDecisionSelectedCodeText> to_UsageDcsnSeldCodeTxt)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<UsageDecisionSelectedCode>
-
setSelectedCodeSetPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SelectedCodeSetPlant
- Parameters:
selectedCodeSetPlant- Plant
-
setSelectedCodeSet
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: SelectedCodeSet
- Parameters:
selectedCodeSet- Selected Set
-
setUsageDecisionCodeGroup
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: UsageDecisionCodeGroup
- Parameters:
usageDecisionCodeGroup- Code Group
-
setUsageDecisionCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: UsageDecisionCode
- Parameters:
usageDecisionCode- Code
-
setInspLotUsageDecisionValuation
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: InspLotUsageDecisionValuation
- Parameters:
inspLotUsageDecisionValuation- Code Valuation
-
setInspectionLotQualityScore
Constraints: Not nullableOriginal property name from the Odata EDM: InspectionLotQualityScore
- Parameters:
inspectionLotQualityScore- Quality Score
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<UsageDecisionSelectedCode>
-
getKey
- Overrides:
getKeyin classVdmObject<UsageDecisionSelectedCode>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<UsageDecisionSelectedCode>
-
fromMap
- Overrides:
fromMapin classVdmObject<UsageDecisionSelectedCode>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<UsageDecisionSelectedCode>
-
getSelectedCodeSetIfPresent
Retrieval of associated UsageDecisionSelectedCodeSet entity (one to one). This corresponds to the OData navigation property _SelectedCodeSet.If the navigation property for an entity UsageDecisionSelectedCode 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 _SelectedCodeSet is already loaded, the result will
contain the UsageDecisionSelectedCodeSet entity. If not, an
Optionwith result stateemptyis returned.
-
setSelectedCodeSet
Overwrites the associated UsageDecisionSelectedCodeSet entity for the loaded navigation property _SelectedCodeSet.- Parameters:
value- New UsageDecisionSelectedCodeSet entity.
-
getUsageDcsnSeldCodeGrpTxtIfPresent
@Nonnull public io.vavr.control.Option<List<UsageDecisionSelectedCodeGroupText>> getUsageDcsnSeldCodeGrpTxtIfPresent()Retrieval of associated UsageDecisionSelectedCodeGroupText entities (one to many). This corresponds to the OData navigation property _UsageDcsnSeldCodeGrpTxt.If the navigation property for an entity UsageDecisionSelectedCode 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 _UsageDcsnSeldCodeGrpTxt is already loaded, the result
will contain the UsageDecisionSelectedCodeGroupText entities. If not, an
Optionwith result stateemptyis returned.
-
setUsageDcsnSeldCodeGrpTxt
Overwrites the list of associated UsageDecisionSelectedCodeGroupText entities for the loaded navigation property _UsageDcsnSeldCodeGrpTxt.If the navigation property _UsageDcsnSeldCodeGrpTxt of a queried UsageDecisionSelectedCode 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 UsageDecisionSelectedCodeGroupText entities.
-
addUsageDcsnSeldCodeGrpTxt
Adds elements to the list of associated UsageDecisionSelectedCodeGroupText entities. This corresponds to the OData navigation property _UsageDcsnSeldCodeGrpTxt.If the navigation property _UsageDcsnSeldCodeGrpTxt of a queried UsageDecisionSelectedCode 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 UsageDecisionSelectedCodeGroupText entities.
-
getUsageDcsnSeldCodeTxtIfPresent
@Nonnull public io.vavr.control.Option<List<UsageDecisionSelectedCodeText>> getUsageDcsnSeldCodeTxtIfPresent()Retrieval of associated UsageDecisionSelectedCodeText entities (one to many). This corresponds to the OData navigation property _UsageDcsnSeldCodeTxt.If the navigation property for an entity UsageDecisionSelectedCode 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 _UsageDcsnSeldCodeTxt is already loaded, the result
will contain the UsageDecisionSelectedCodeText entities. If not, an
Optionwith result stateemptyis returned.
-
setUsageDcsnSeldCodeTxt
Overwrites the list of associated UsageDecisionSelectedCodeText entities for the loaded navigation property _UsageDcsnSeldCodeTxt.If the navigation property _UsageDcsnSeldCodeTxt of a queried UsageDecisionSelectedCode 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 UsageDecisionSelectedCodeText entities.
-
addUsageDcsnSeldCodeTxt
Adds elements to the list of associated UsageDecisionSelectedCodeText entities. This corresponds to the OData navigation property _UsageDcsnSeldCodeTxt.If the navigation property _UsageDcsnSeldCodeTxt of a queried UsageDecisionSelectedCode 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 UsageDecisionSelectedCodeText entities.
-
builder
-
getSelectedCodeSetPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SelectedCodeSetPlant
- Returns:
- Plant
-
getSelectedCodeSet
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: SelectedCodeSet
- Returns:
- Selected Set
-
getUsageDecisionCodeGroup
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: UsageDecisionCodeGroup
- Returns:
- Code Group
-
getUsageDecisionCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: UsageDecisionCode
- Returns:
- Code
-
getInspLotUsageDecisionValuation
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: InspLotUsageDecisionValuation
- Returns:
- Code Valuation
-
getInspectionLotQualityScore
Constraints: Not nullableOriginal property name from the Odata EDM: InspectionLotQualityScore
- Returns:
- Quality Score
-
toString
- Overrides:
toStringin classVdmObject<UsageDecisionSelectedCode>
-
equals
- Overrides:
equalsin classVdmEntity<UsageDecisionSelectedCode>
-
canEqual
- Overrides:
canEqualin classVdmEntity<UsageDecisionSelectedCode>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<UsageDecisionSelectedCode>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<UsageDecisionSelectedCode>
-