Class RESpaceGroupType
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: RESpaceGroupType_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of RESpaceGroupType instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<RESpaceGroupType>Selector for all available fields of RESpaceGroupType.static final SimpleProperty.String<RESpaceGroupType>static final SimpleProperty.String<RESpaceGroupType>static final SimpleProperty.String<RESpaceGroupType>static final SimpleProperty.String<RESpaceGroupType>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
ConstructorsConstructorDescriptionRESpaceGroupType(String rEIntegObjSpaceGroupType, String rEIntegObjectCategory, String rESpaceGroupDirection, String rEIntegObjSpaceGroupTypeText, List<RESpaceGroupTypeText> to_Text) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddText(RESpaceGroupTypeText... entity) Adds elements to the list of associated RESpaceGroupTypeText entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<List<RESpaceGroupTypeText>>Retrieval of associated RESpaceGroupTypeText entities (one to many).getType()inthashCode()voidsetREIntegObjectCategory(String rEIntegObjectCategory) Constraints: Not nullable, Maximum length: 1voidsetREIntegObjSpaceGroupType(String rEIntegObjSpaceGroupType) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetREIntegObjSpaceGroupTypeText(String rEIntegObjSpaceGroupTypeText) Constraints: Not nullable, Maximum length: 60voidsetRESpaceGroupDirection(String rESpaceGroupDirection) Constraints: Not nullable, Maximum length: 2voidsetText(List<RESpaceGroupTypeText> value) Overwrites the list of associated RESpaceGroupTypeText 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 RESpaceGroupType. -
RE_INTEG_OBJ_SPACE_GROUP_TYPE
-
RE_INTEG_OBJECT_CATEGORY
-
RE_SPACE_GROUP_DIRECTION
-
RE_INTEG_OBJ_SPACE_GROUP_TYPE_TEXT
-
TO__TEXT
Use with available request builders to apply the _Text navigation property to query operations.
-
-
Constructor Details
-
RESpaceGroupType
public RESpaceGroupType() -
RESpaceGroupType
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<RESpaceGroupType>
-
setREIntegObjSpaceGroupType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: REIntegObjSpaceGroupType
- Parameters:
rEIntegObjSpaceGroupType- Group Type
-
setREIntegObjectCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: REIntegObjectCategory
- Parameters:
rEIntegObjectCategory- Object Category
-
setRESpaceGroupDirection
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: RESpaceGroupDirection
- Parameters:
rESpaceGroupDirection- Group Direction
-
setREIntegObjSpaceGroupTypeText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: REIntegObjSpaceGroupTypeText
- Parameters:
rEIntegObjSpaceGroupTypeText- Description for Group Type
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<RESpaceGroupType>
-
getKey
- Overrides:
getKeyin classVdmObject<RESpaceGroupType>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<RESpaceGroupType>
-
fromMap
- Overrides:
fromMapin classVdmObject<RESpaceGroupType>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<RESpaceGroupType>
-
getTextIfPresent
Retrieval of associated RESpaceGroupTypeText entities (one to many). This corresponds to the OData navigation property _Text.If the navigation property for an entity RESpaceGroupType 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
RESpaceGroupTypeText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated RESpaceGroupTypeText entities for the loaded navigation property _Text.If the navigation property _Text of a queried RESpaceGroupType 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 RESpaceGroupTypeText entities.
-
addText
Adds elements to the list of associated RESpaceGroupTypeText entities. This corresponds to the OData navigation property _Text.If the navigation property _Text of a queried RESpaceGroupType 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 RESpaceGroupTypeText entities.
-
builder
-
getREIntegObjSpaceGroupType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: REIntegObjSpaceGroupType
- Returns:
- Group Type
-
getREIntegObjectCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: REIntegObjectCategory
- Returns:
- Object Category
-
getRESpaceGroupDirection
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: RESpaceGroupDirection
- Returns:
- Group Direction
-
getREIntegObjSpaceGroupTypeText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: REIntegObjSpaceGroupTypeText
- Returns:
- Description for Group Type
-
toString
- Overrides:
toStringin classVdmObject<RESpaceGroupType>
-
equals
- Overrides:
equalsin classVdmEntity<RESpaceGroupType>
-
canEqual
- Overrides:
canEqualin classVdmEntity<RESpaceGroupType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<RESpaceGroupType>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<RESpaceGroupType>
-