Class TeamCategoryFunctions
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: TeamCategoryFunctionsType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of TeamCategoryFunctions instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<TeamCategoryFunctions>Selector for all available fields of TeamCategoryFunctions.static final SimpleProperty.String<TeamCategoryFunctions>static final SimpleProperty.String<TeamCategoryFunctions>Use with available request builders to apply the _FunctionTexts navigation property to query operations.static final NavigationProperty.Single<TeamCategoryFunctions,TeamCategories> Use with available request builders to apply the _TeamCategory 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
ConstructorsConstructorDescriptionTeamCategoryFunctions(String respyMgmtTeamCategory, String respyMgmtFunction, List<TeamCategoryFunctionTexts> to_FunctionTexts, TeamCategories to_TeamCategory) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFunctionTexts(TeamCategoryFunctionTexts... entity) Adds elements to the list of associated TeamCategoryFunctionTexts entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<List<TeamCategoryFunctionTexts>>Retrieval of associated TeamCategoryFunctionTexts entities (one to many).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<TeamCategories>Retrieval of associated TeamCategories entity (one to one).getType()inthashCode()voidOverwrites the list of associated TeamCategoryFunctionTexts entities for the loaded navigation property _FunctionTexts.voidsetRespyMgmtFunction(String respyMgmtFunction) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetRespyMgmtTeamCategory(String respyMgmtTeamCategory) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetTeamCategory(TeamCategories value) Overwrites the associated TeamCategories entity for the loaded navigation property _TeamCategory.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 TeamCategoryFunctions. -
RESPY_MGMT_TEAM_CATEGORY
-
RESPY_MGMT_FUNCTION
-
TO__FUNCTION_TEXTS
public static final NavigationProperty.Collection<TeamCategoryFunctions,TeamCategoryFunctionTexts> TO__FUNCTION_TEXTSUse with available request builders to apply the _FunctionTexts navigation property to query operations. -
TO__TEAM_CATEGORY
public static final NavigationProperty.Single<TeamCategoryFunctions,TeamCategories> TO__TEAM_CATEGORYUse with available request builders to apply the _TeamCategory navigation property to query operations.
-
-
Constructor Details
-
TeamCategoryFunctions
public TeamCategoryFunctions() -
TeamCategoryFunctions
public TeamCategoryFunctions(@Nullable String respyMgmtTeamCategory, @Nullable String respyMgmtFunction, List<TeamCategoryFunctionTexts> to_FunctionTexts, @Nullable TeamCategories to_TeamCategory)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<TeamCategoryFunctions>
-
setRespyMgmtTeamCategory
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: RespyMgmtTeamCategory
- Parameters:
respyMgmtTeamCategory- Team Category
-
setRespyMgmtFunction
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: RespyMgmtFunction
- Parameters:
respyMgmtFunction- Function
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<TeamCategoryFunctions>
-
getKey
- Overrides:
getKeyin classVdmObject<TeamCategoryFunctions>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<TeamCategoryFunctions>
-
fromMap
- Overrides:
fromMapin classVdmObject<TeamCategoryFunctions>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<TeamCategoryFunctions>
-
getFunctionTextsIfPresent
Retrieval of associated TeamCategoryFunctionTexts entities (one to many). This corresponds to the OData navigation property _FunctionTexts.If the navigation property for an entity TeamCategoryFunctions 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 _FunctionTexts is already loaded, the result will
contain the TeamCategoryFunctionTexts entities. If not, an
Optionwith result stateemptyis returned.
-
setFunctionTexts
Overwrites the list of associated TeamCategoryFunctionTexts entities for the loaded navigation property _FunctionTexts.If the navigation property _FunctionTexts of a queried TeamCategoryFunctions 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 TeamCategoryFunctionTexts entities.
-
addFunctionTexts
Adds elements to the list of associated TeamCategoryFunctionTexts entities. This corresponds to the OData navigation property _FunctionTexts.If the navigation property _FunctionTexts of a queried TeamCategoryFunctions 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 TeamCategoryFunctionTexts entities.
-
getTeamCategoryIfPresent
Retrieval of associated TeamCategories entity (one to one). This corresponds to the OData navigation property _TeamCategory.If the navigation property for an entity TeamCategoryFunctions 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 _TeamCategory is already loaded, the result will
contain the TeamCategories entity. If not, an
Optionwith result stateemptyis returned.
-
setTeamCategory
Overwrites the associated TeamCategories entity for the loaded navigation property _TeamCategory.- Parameters:
value- New TeamCategories entity.
-
builder
-
getRespyMgmtTeamCategory
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: RespyMgmtTeamCategory
- Returns:
- Team Category
-
getRespyMgmtFunction
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: RespyMgmtFunction
- Returns:
- Function
-
toString
- Overrides:
toStringin classVdmObject<TeamCategoryFunctions>
-
equals
- Overrides:
equalsin classVdmEntity<TeamCategoryFunctions>
-
canEqual
- Overrides:
canEqualin classVdmEntity<TeamCategoryFunctions>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<TeamCategoryFunctions>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<TeamCategoryFunctions>
-