Class UsageDecisionSelectedCodeSet
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: UsageDecisionSelectedCodeSet_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of UsageDecisionSelectedCodeSet instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<UsageDecisionSelectedCodeSet>Selector for all available fields of UsageDecisionSelectedCodeSet.static final SimpleProperty.String<UsageDecisionSelectedCodeSet>static final SimpleProperty.String<UsageDecisionSelectedCodeSet>static final SimpleProperty.String<UsageDecisionSelectedCodeSet>static final SimpleProperty.String<UsageDecisionSelectedCodeSet>static final SimpleProperty.String<UsageDecisionSelectedCodeSet>static final NavigationProperty.Collection<UsageDecisionSelectedCodeSet,UsageDecisionSelectedCodeSetText> Use with available request builders to apply the _SelectedCodeSetText navigation property to query operations.Use with available request builders to apply the _SelectedSetCode 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
ConstructorsConstructorDescriptionUsageDecisionSelectedCodeSet(String selectedCodeSetPlant, String selectedCodeSet, String inspectionSelectedSetStatus, String selectedCodeSetDfltCodeGroup, String selectedCodeSetDefaultCode, List<UsageDecisionSelectedCodeSetText> to_SelectedCodeSetText, List<UsageDecisionSelectedCode> to_SelectedSetCode) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated UsageDecisionSelectedCodeSetText entities.voidaddSelectedSetCode(UsageDecisionSelectedCode... entity) Adds elements to the list of associated UsageDecisionSelectedCode entities.builder()protected booleanbooleanprotected voidprotected Stringprotected StringConstraints: Not nullable, Maximum length: 1protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 8(Key Field) Constraints: Not nullable, Maximum length: 4io.vavr.control.Option<List<UsageDecisionSelectedCodeSetText>>Retrieval of associated UsageDecisionSelectedCodeSetText entities (one to many).io.vavr.control.Option<List<UsageDecisionSelectedCode>>Retrieval of associated UsageDecisionSelectedCode entities (one to many).getType()inthashCode()voidsetInspectionSelectedSetStatus(String inspectionSelectedSetStatus) Constraints: Not nullable, Maximum length: 1voidsetSelectedCodeSet(String selectedCodeSet) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetSelectedCodeSetDefaultCode(String selectedCodeSetDefaultCode) Constraints: Not nullable, Maximum length: 4voidsetSelectedCodeSetDfltCodeGroup(String selectedCodeSetDfltCodeGroup) Constraints: Not nullable, Maximum length: 8voidsetSelectedCodeSetPlant(String selectedCodeSetPlant) (Key Field) Constraints: Not nullable, Maximum length: 4voidOverwrites the list of associated UsageDecisionSelectedCodeSetText entities for the loaded navigation property _SelectedCodeSetText.voidOverwrites the list of associated UsageDecisionSelectedCode entities for the loaded navigation property _SelectedSetCode.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 UsageDecisionSelectedCodeSet. -
SELECTED_CODE_SET_PLANT
-
SELECTED_CODE_SET
-
INSPECTION_SELECTED_SET_STATUS
public static final SimpleProperty.String<UsageDecisionSelectedCodeSet> INSPECTION_SELECTED_SET_STATUS -
SELECTED_CODE_SET_DFLT_CODE_GROUP
public static final SimpleProperty.String<UsageDecisionSelectedCodeSet> SELECTED_CODE_SET_DFLT_CODE_GROUP -
SELECTED_CODE_SET_DEFAULT_CODE
public static final SimpleProperty.String<UsageDecisionSelectedCodeSet> SELECTED_CODE_SET_DEFAULT_CODE -
TO__SELECTED_CODE_SET_TEXT
public static final NavigationProperty.Collection<UsageDecisionSelectedCodeSet,UsageDecisionSelectedCodeSetText> TO__SELECTED_CODE_SET_TEXTUse with available request builders to apply the _SelectedCodeSetText navigation property to query operations. -
TO__SELECTED_SET_CODE
public static final NavigationProperty.Collection<UsageDecisionSelectedCodeSet,UsageDecisionSelectedCode> TO__SELECTED_SET_CODEUse with available request builders to apply the _SelectedSetCode navigation property to query operations.
-
-
Constructor Details
-
UsageDecisionSelectedCodeSet
public UsageDecisionSelectedCodeSet() -
UsageDecisionSelectedCodeSet
public UsageDecisionSelectedCodeSet(@Nullable String selectedCodeSetPlant, @Nullable String selectedCodeSet, @Nullable String inspectionSelectedSetStatus, @Nullable String selectedCodeSetDfltCodeGroup, @Nullable String selectedCodeSetDefaultCode, List<UsageDecisionSelectedCodeSetText> to_SelectedCodeSetText, List<UsageDecisionSelectedCode> to_SelectedSetCode)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<UsageDecisionSelectedCodeSet>
-
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
-
setInspectionSelectedSetStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: InspectionSelectedSetStatus
- Parameters:
inspectionSelectedSetStatus- Status of Master Record
-
setSelectedCodeSetDfltCodeGroup
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: SelectedCodeSetDfltCodeGroup
- Parameters:
selectedCodeSetDfltCodeGroup- Default Code Group
-
setSelectedCodeSetDefaultCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SelectedCodeSetDefaultCode
- Parameters:
selectedCodeSetDefaultCode- Default Code
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<UsageDecisionSelectedCodeSet>
-
getKey
- Overrides:
getKeyin classVdmObject<UsageDecisionSelectedCodeSet>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<UsageDecisionSelectedCodeSet>
-
fromMap
- Overrides:
fromMapin classVdmObject<UsageDecisionSelectedCodeSet>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<UsageDecisionSelectedCodeSet>
-
getSelectedCodeSetTextIfPresent
@Nonnull public io.vavr.control.Option<List<UsageDecisionSelectedCodeSetText>> getSelectedCodeSetTextIfPresent()Retrieval of associated UsageDecisionSelectedCodeSetText entities (one to many). This corresponds to the OData navigation property _SelectedCodeSetText.If the navigation property for an entity UsageDecisionSelectedCodeSet 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 _SelectedCodeSetText is already loaded, the result will
contain the UsageDecisionSelectedCodeSetText entities. If not, an
Optionwith result stateemptyis returned.
-
setSelectedCodeSetText
Overwrites the list of associated UsageDecisionSelectedCodeSetText entities for the loaded navigation property _SelectedCodeSetText.If the navigation property _SelectedCodeSetText of a queried UsageDecisionSelectedCodeSet 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 UsageDecisionSelectedCodeSetText entities.
-
addSelectedCodeSetText
Adds elements to the list of associated UsageDecisionSelectedCodeSetText entities. This corresponds to the OData navigation property _SelectedCodeSetText.If the navigation property _SelectedCodeSetText of a queried UsageDecisionSelectedCodeSet 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 UsageDecisionSelectedCodeSetText entities.
-
getSelectedSetCodeIfPresent
@Nonnull public io.vavr.control.Option<List<UsageDecisionSelectedCode>> getSelectedSetCodeIfPresent()Retrieval of associated UsageDecisionSelectedCode entities (one to many). This corresponds to the OData navigation property _SelectedSetCode.If the navigation property for an entity UsageDecisionSelectedCodeSet 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 _SelectedSetCode is already loaded, the result will
contain the UsageDecisionSelectedCode entities. If not, an
Optionwith result stateemptyis returned.
-
setSelectedSetCode
Overwrites the list of associated UsageDecisionSelectedCode entities for the loaded navigation property _SelectedSetCode.If the navigation property _SelectedSetCode of a queried UsageDecisionSelectedCodeSet 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 UsageDecisionSelectedCode entities.
-
addSelectedSetCode
Adds elements to the list of associated UsageDecisionSelectedCode entities. This corresponds to the OData navigation property _SelectedSetCode.If the navigation property _SelectedSetCode of a queried UsageDecisionSelectedCodeSet 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 UsageDecisionSelectedCode 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
-
getInspectionSelectedSetStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: InspectionSelectedSetStatus
- Returns:
- Status of Master Record
-
getSelectedCodeSetDfltCodeGroup
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: SelectedCodeSetDfltCodeGroup
- Returns:
- Default Code Group
-
getSelectedCodeSetDefaultCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SelectedCodeSetDefaultCode
- Returns:
- Default Code
-
toString
- Overrides:
toStringin classVdmObject<UsageDecisionSelectedCodeSet>
-
equals
- Overrides:
equalsin classVdmEntity<UsageDecisionSelectedCodeSet>
-
canEqual
- Overrides:
canEqualin classVdmEntity<UsageDecisionSelectedCodeSet>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<UsageDecisionSelectedCodeSet>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<UsageDecisionSelectedCodeSet>
-