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