Class RespyMgmtTeamMember
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: RespyMgmtTeamMember_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of RespyMgmtTeamMember instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<RespyMgmtTeamMember>Selector for all available fields of RespyMgmtTeamMember.static final SimpleProperty.String<RespyMgmtTeamMember>static final SimpleProperty.String<RespyMgmtTeamMember>static final SimpleProperty.String<RespyMgmtTeamMember>static final NavigationProperty.Single<RespyMgmtTeamMember,RespyMgmtTeamHeader> Use with available request builders to apply the _TeamHeader navigation property to query operations.Use with available request builders to apply the _TeamMemberFunctions 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
ConstructorsConstructorDescriptionRespyMgmtTeamMember(String respyMgmtGlobalTeamID, String respyMgmtTeamMemberType, String responsibilityTeamMember, RespyMgmtTeamHeader to_TeamHeader, List<RespyMTeamMemberFunction> to_TeamMemberFunctions) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTeamMemberFunctions(RespyMTeamMemberFunction... entity) Adds elements to the list of associated RespyMTeamMemberFunction entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<RespyMgmtTeamHeader>Retrieval of associated RespyMgmtTeamHeader entity (one to one).io.vavr.control.Option<List<RespyMTeamMemberFunction>>Retrieval of associated RespyMTeamMemberFunction entities (one to many).getType()inthashCode()voidsetResponsibilityTeamMember(String responsibilityTeamMember) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetRespyMgmtGlobalTeamID(String respyMgmtGlobalTeamID) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetRespyMgmtTeamMemberType(String respyMgmtTeamMemberType) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetTeamHeader(RespyMgmtTeamHeader value) Overwrites the associated RespyMgmtTeamHeader entity for the loaded navigation property _TeamHeader.voidOverwrites the list of associated RespyMTeamMemberFunction entities for the loaded navigation property _TeamMemberFunctions.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 RespyMgmtTeamMember. -
RESPY_MGMT_GLOBAL_TEAM_ID
-
RESPY_MGMT_TEAM_MEMBER_TYPE
-
RESPONSIBILITY_TEAM_MEMBER
-
TO__TEAM_HEADER
public static final NavigationProperty.Single<RespyMgmtTeamMember,RespyMgmtTeamHeader> TO__TEAM_HEADERUse with available request builders to apply the _TeamHeader navigation property to query operations. -
TO__TEAM_MEMBER_FUNCTIONS
public static final NavigationProperty.Collection<RespyMgmtTeamMember,RespyMTeamMemberFunction> TO__TEAM_MEMBER_FUNCTIONSUse with available request builders to apply the _TeamMemberFunctions navigation property to query operations.
-
-
Constructor Details
-
RespyMgmtTeamMember
public RespyMgmtTeamMember() -
RespyMgmtTeamMember
public RespyMgmtTeamMember(@Nullable String respyMgmtGlobalTeamID, @Nullable String respyMgmtTeamMemberType, @Nullable String responsibilityTeamMember, @Nullable RespyMgmtTeamHeader to_TeamHeader, List<RespyMTeamMemberFunction> to_TeamMemberFunctions)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<RespyMgmtTeamMember>
-
setRespyMgmtGlobalTeamID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: RespyMgmtGlobalTeamID
- Parameters:
respyMgmtGlobalTeamID- Global Team ID in Responsibility Mgmt.
-
setRespyMgmtTeamMemberType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: RespyMgmtTeamMemberType
- Parameters:
respyMgmtTeamMemberType- Team Member Type
-
setResponsibilityTeamMember
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ResponsibilityTeamMember
- Parameters:
responsibilityTeamMember- Business Partner Number
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<RespyMgmtTeamMember>
-
getKey
- Overrides:
getKeyin classVdmObject<RespyMgmtTeamMember>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<RespyMgmtTeamMember>
-
fromMap
- Overrides:
fromMapin classVdmObject<RespyMgmtTeamMember>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<RespyMgmtTeamMember>
-
getTeamHeaderIfPresent
Retrieval of associated RespyMgmtTeamHeader entity (one to one). This corresponds to the OData navigation property _TeamHeader.If the navigation property for an entity RespyMgmtTeamMember 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 _TeamHeader is already loaded, the result will contain
the RespyMgmtTeamHeader entity. If not, an
Optionwith result stateemptyis returned.
-
setTeamHeader
Overwrites the associated RespyMgmtTeamHeader entity for the loaded navigation property _TeamHeader.- Parameters:
value- New RespyMgmtTeamHeader entity.
-
getTeamMemberFunctionsIfPresent
@Nonnull public io.vavr.control.Option<List<RespyMTeamMemberFunction>> getTeamMemberFunctionsIfPresent()Retrieval of associated RespyMTeamMemberFunction entities (one to many). This corresponds to the OData navigation property _TeamMemberFunctions.If the navigation property for an entity RespyMgmtTeamMember 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 _TeamMemberFunctions is already loaded, the result will
contain the RespyMTeamMemberFunction entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamMemberFunctions
Overwrites the list of associated RespyMTeamMemberFunction entities for the loaded navigation property _TeamMemberFunctions.If the navigation property _TeamMemberFunctions of a queried RespyMgmtTeamMember 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 RespyMTeamMemberFunction entities.
-
addTeamMemberFunctions
Adds elements to the list of associated RespyMTeamMemberFunction entities. This corresponds to the OData navigation property _TeamMemberFunctions.If the navigation property _TeamMemberFunctions of a queried RespyMgmtTeamMember 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 RespyMTeamMemberFunction entities.
-
builder
-
getRespyMgmtGlobalTeamID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: RespyMgmtGlobalTeamID
- Returns:
- Global Team ID in Responsibility Mgmt.
-
getRespyMgmtTeamMemberType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: RespyMgmtTeamMemberType
- Returns:
- Team Member Type
-
getResponsibilityTeamMember
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ResponsibilityTeamMember
- Returns:
- Business Partner Number
-
toString
- Overrides:
toStringin classVdmObject<RespyMgmtTeamMember>
-
equals
- Overrides:
equalsin classVdmEntity<RespyMgmtTeamMember>
-
canEqual
- Overrides:
canEqualin classVdmEntity<RespyMgmtTeamMember>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<RespyMgmtTeamMember>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<RespyMgmtTeamMember>
-