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