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