Class TeamMembers
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: TeamMembersType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of TeamMembers instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<TeamMembers>Selector for all available fields of TeamMembers.static final SimpleProperty.String<TeamMembers>static final SimpleProperty.String<TeamMembers>static final SimpleProperty.String<TeamMembers>static final NavigationProperty.Single<TeamMembers,TeamHeaders> Use with available request builders to apply the _TeamHeader navigation property to query operations.static final NavigationProperty.Collection<TeamMembers,TeamMemberFunctions> 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
ConstructorsConstructorDescriptionTeamMembers(String respyMgmtGlobalTeamID, String respyMgmtTeamMemberType, String responsibilityTeamMember, TeamHeaders to_TeamHeader, List<TeamMemberFunctions> to_TeamMemberFunctions) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTeamMemberFunctions(TeamMemberFunctions... entity) Adds elements to the list of associated TeamMemberFunctions 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<TeamHeaders>Retrieval of associated TeamHeaders entity (one to one).io.vavr.control.Option<List<TeamMemberFunctions>>Retrieval of associated TeamMemberFunctions 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(TeamHeaders value) Overwrites the associated TeamHeaders entity for the loaded navigation property _TeamHeader.voidOverwrites the list of associated TeamMemberFunctions 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 TeamMembers. -
RESPY_MGMT_GLOBAL_TEAM_ID
-
RESPY_MGMT_TEAM_MEMBER_TYPE
-
RESPONSIBILITY_TEAM_MEMBER
-
TO__TEAM_HEADER
Use with available request builders to apply the _TeamHeader navigation property to query operations. -
TO__TEAM_MEMBER_FUNCTIONS
public static final NavigationProperty.Collection<TeamMembers,TeamMemberFunctions> TO__TEAM_MEMBER_FUNCTIONSUse with available request builders to apply the _TeamMemberFunctions navigation property to query operations.
-
-
Constructor Details
-
TeamMembers
public TeamMembers() -
TeamMembers
public TeamMembers(@Nullable String respyMgmtGlobalTeamID, @Nullable String respyMgmtTeamMemberType, @Nullable String responsibilityTeamMember, @Nullable TeamHeaders to_TeamHeader, List<TeamMemberFunctions> to_TeamMemberFunctions)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<TeamMembers>
-
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<TeamMembers>
-
getKey
- Overrides:
getKeyin classVdmObject<TeamMembers>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<TeamMembers>
-
fromMap
- Overrides:
fromMapin classVdmObject<TeamMembers>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<TeamMembers>
-
getTeamHeaderIfPresent
Retrieval of associated TeamHeaders entity (one to one). This corresponds to the OData navigation property _TeamHeader.If the navigation property for an entity TeamMembers 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 TeamHeaders entity. If not, an
Optionwith result stateemptyis returned.
-
setTeamHeader
Overwrites the associated TeamHeaders entity for the loaded navigation property _TeamHeader.- Parameters:
value- New TeamHeaders entity.
-
getTeamMemberFunctionsIfPresent
Retrieval of associated TeamMemberFunctions entities (one to many). This corresponds to the OData navigation property _TeamMemberFunctions.If the navigation property for an entity TeamMembers 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 TeamMemberFunctions entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamMemberFunctions
Overwrites the list of associated TeamMemberFunctions entities for the loaded navigation property _TeamMemberFunctions.If the navigation property _TeamMemberFunctions of a queried TeamMembers 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 TeamMemberFunctions entities.
-
addTeamMemberFunctions
Adds elements to the list of associated TeamMemberFunctions entities. This corresponds to the OData navigation property _TeamMemberFunctions.If the navigation property _TeamMemberFunctions of a queried TeamMembers 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 TeamMemberFunctions 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<TeamMembers>
-
equals
- Overrides:
equalsin classVdmEntity<TeamMembers>
-
canEqual
- Overrides:
canEqualin classVdmEntity<TeamMembers>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<TeamMembers>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<TeamMembers>
-