Class RespyMgmtTeamCategory
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: RespyMgmtTeamCategory_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of RespyMgmtTeamCategory instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<RespyMgmtTeamCategory>Selector for all available fields of RespyMgmtTeamCategory.static final SimpleProperty.String<RespyMgmtTeamCategory>Use with available request builders to apply the _TeamCategoryTexts navigation property to query operations.Use with available request builders to apply the _TeamTypes 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
ConstructorsConstructorDescriptionRespyMgmtTeamCategory(String respyMgmtTeamCategory, List<RespyMgmtTeamCategoryText> to_TeamCategoryTexts, List<RespyMgmtTeamType> to_TeamTypes) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTeamCategoryTexts(RespyMgmtTeamCategoryText... entity) Adds elements to the list of associated RespyMgmtTeamCategoryText entities.voidaddTeamTypes(RespyMgmtTeamType... entity) Adds elements to the list of associated RespyMgmtTeamType entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<List<RespyMgmtTeamCategoryText>>Retrieval of associated RespyMgmtTeamCategoryText entities (one to many).io.vavr.control.Option<List<RespyMgmtTeamType>>Retrieval of associated RespyMgmtTeamType entities (one to many).getType()inthashCode()voidsetRespyMgmtTeamCategory(String respyMgmtTeamCategory) (Key Field) Constraints: Not nullable, Maximum length: 30voidOverwrites the list of associated RespyMgmtTeamCategoryText entities for the loaded navigation property _TeamCategoryTexts.voidsetTeamTypes(List<RespyMgmtTeamType> value) Overwrites the list of associated RespyMgmtTeamType entities for the loaded navigation property _TeamTypes.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 RespyMgmtTeamCategory. -
RESPY_MGMT_TEAM_CATEGORY
-
TO__TEAM_CATEGORY_TEXTS
public static final NavigationProperty.Collection<RespyMgmtTeamCategory,RespyMgmtTeamCategoryText> TO__TEAM_CATEGORY_TEXTSUse with available request builders to apply the _TeamCategoryTexts navigation property to query operations. -
TO__TEAM_TYPES
public static final NavigationProperty.Collection<RespyMgmtTeamCategory,RespyMgmtTeamType> TO__TEAM_TYPESUse with available request builders to apply the _TeamTypes navigation property to query operations.
-
-
Constructor Details
-
RespyMgmtTeamCategory
public RespyMgmtTeamCategory() -
RespyMgmtTeamCategory
public RespyMgmtTeamCategory(@Nullable String respyMgmtTeamCategory, List<RespyMgmtTeamCategoryText> to_TeamCategoryTexts, List<RespyMgmtTeamType> to_TeamTypes)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<RespyMgmtTeamCategory>
-
setRespyMgmtTeamCategory
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: RespyMgmtTeamCategory
- Parameters:
respyMgmtTeamCategory- Team Category
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<RespyMgmtTeamCategory>
-
getKey
- Overrides:
getKeyin classVdmObject<RespyMgmtTeamCategory>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<RespyMgmtTeamCategory>
-
fromMap
- Overrides:
fromMapin classVdmObject<RespyMgmtTeamCategory>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<RespyMgmtTeamCategory>
-
getTeamCategoryTextsIfPresent
@Nonnull public io.vavr.control.Option<List<RespyMgmtTeamCategoryText>> getTeamCategoryTextsIfPresent()Retrieval of associated RespyMgmtTeamCategoryText entities (one to many). This corresponds to the OData navigation property _TeamCategoryTexts.If the navigation property for an entity RespyMgmtTeamCategory 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 _TeamCategoryTexts is already loaded, the result will
contain the RespyMgmtTeamCategoryText entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamCategoryTexts
Overwrites the list of associated RespyMgmtTeamCategoryText entities for the loaded navigation property _TeamCategoryTexts.If the navigation property _TeamCategoryTexts of a queried RespyMgmtTeamCategory 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 RespyMgmtTeamCategoryText entities.
-
addTeamCategoryTexts
Adds elements to the list of associated RespyMgmtTeamCategoryText entities. This corresponds to the OData navigation property _TeamCategoryTexts.If the navigation property _TeamCategoryTexts of a queried RespyMgmtTeamCategory 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 RespyMgmtTeamCategoryText entities.
-
getTeamTypesIfPresent
Retrieval of associated RespyMgmtTeamType entities (one to many). This corresponds to the OData navigation property _TeamTypes.If the navigation property for an entity RespyMgmtTeamCategory 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 _TeamTypes is already loaded, the result will contain
the RespyMgmtTeamType entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamTypes
Overwrites the list of associated RespyMgmtTeamType entities for the loaded navigation property _TeamTypes.If the navigation property _TeamTypes of a queried RespyMgmtTeamCategory 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 RespyMgmtTeamType entities.
-
addTeamTypes
Adds elements to the list of associated RespyMgmtTeamType entities. This corresponds to the OData navigation property _TeamTypes.If the navigation property _TeamTypes of a queried RespyMgmtTeamCategory 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 RespyMgmtTeamType entities.
-
builder
-
getRespyMgmtTeamCategory
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: RespyMgmtTeamCategory
- Returns:
- Team Category
-
toString
- Overrides:
toStringin classVdmObject<RespyMgmtTeamCategory>
-
equals
- Overrides:
equalsin classVdmEntity<RespyMgmtTeamCategory>
-
canEqual
- Overrides:
canEqualin classVdmEntity<RespyMgmtTeamCategory>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<RespyMgmtTeamCategory>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<RespyMgmtTeamCategory>
-