Class RESpaceGrpEnableUseType
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: RESpaceGrpEnableUseType_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of RESpaceGrpEnableUseType instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<RESpaceGrpEnableUseType>Selector for all available fields of RESpaceGrpEnableUseType.static final SimpleProperty.String<RESpaceGrpEnableUseType>static final SimpleProperty.String<RESpaceGrpEnableUseType>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
ConstructorsConstructorDescriptionRESpaceGrpEnableUseType(String rESpaceGrpEnableUseType, String rESpaceGrpEnableUseTypeText, List<RESpaceGrpEnableUseTypeText> to_Text) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddText(RESpaceGrpEnableUseTypeText... entity) Adds elements to the list of associated RESpaceGrpEnableUseTypeText entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<List<RESpaceGrpEnableUseTypeText>>Retrieval of associated RESpaceGrpEnableUseTypeText entities (one to many).getType()inthashCode()voidsetRESpaceGrpEnableUseType(String rESpaceGrpEnableUseType) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetRESpaceGrpEnableUseTypeText(String rESpaceGrpEnableUseTypeText) Constraints: Not nullable, Maximum length: 60voidsetText(List<RESpaceGrpEnableUseTypeText> value) Overwrites the list of associated RESpaceGrpEnableUseTypeText 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 RESpaceGrpEnableUseType. -
RE_SPACE_GRP_ENABLE_USE_TYPE
-
RE_SPACE_GRP_ENABLE_USE_TYPE_TEXT
public static final SimpleProperty.String<RESpaceGrpEnableUseType> RE_SPACE_GRP_ENABLE_USE_TYPE_TEXT -
TO__TEXT
public static final NavigationProperty.Collection<RESpaceGrpEnableUseType,RESpaceGrpEnableUseTypeText> TO__TEXTUse with available request builders to apply the _Text navigation property to query operations.
-
-
Constructor Details
-
RESpaceGrpEnableUseType
public RESpaceGrpEnableUseType() -
RESpaceGrpEnableUseType
public RESpaceGrpEnableUseType(@Nullable String rESpaceGrpEnableUseType, @Nullable String rESpaceGrpEnableUseTypeText, List<RESpaceGrpEnableUseTypeText> to_Text)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<RESpaceGrpEnableUseType>
-
setRESpaceGrpEnableUseType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: RESpaceGrpEnableUseType
- Parameters:
rESpaceGrpEnableUseType- Usage Enablement Type
-
setRESpaceGrpEnableUseTypeText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: RESpaceGrpEnableUseTypeText
- Parameters:
rESpaceGrpEnableUseTypeText- Description Usage Enablement Type
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<RESpaceGrpEnableUseType>
-
getKey
- Overrides:
getKeyin classVdmObject<RESpaceGrpEnableUseType>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<RESpaceGrpEnableUseType>
-
fromMap
- Overrides:
fromMapin classVdmObject<RESpaceGrpEnableUseType>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<RESpaceGrpEnableUseType>
-
getTextIfPresent
Retrieval of associated RESpaceGrpEnableUseTypeText entities (one to many). This corresponds to the OData navigation property _Text.If the navigation property for an entity RESpaceGrpEnableUseType 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
RESpaceGrpEnableUseTypeText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated RESpaceGrpEnableUseTypeText entities for the loaded navigation property _Text.If the navigation property _Text of a queried RESpaceGrpEnableUseType 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 RESpaceGrpEnableUseTypeText entities.
-
addText
Adds elements to the list of associated RESpaceGrpEnableUseTypeText entities. This corresponds to the OData navigation property _Text.If the navigation property _Text of a queried RESpaceGrpEnableUseType 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 RESpaceGrpEnableUseTypeText entities.
-
builder
-
getRESpaceGrpEnableUseType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: RESpaceGrpEnableUseType
- Returns:
- Usage Enablement Type
-
getRESpaceGrpEnableUseTypeText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: RESpaceGrpEnableUseTypeText
- Returns:
- Description Usage Enablement Type
-
toString
- Overrides:
toStringin classVdmObject<RESpaceGrpEnableUseType>
-
equals
- Overrides:
equalsin classVdmEntity<RESpaceGrpEnableUseType>
-
canEqual
- Overrides:
canEqualin classVdmEntity<RESpaceGrpEnableUseType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<RESpaceGrpEnableUseType>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<RESpaceGrpEnableUseType>
-