public class TeamMembers extends VdmEntity<TeamMembers>
Original entity name from the Odata EDM: TeamMembersType
Modifier and Type | Class and Description |
---|---|
static class |
TeamMembers.TeamMembersBuilder
Helper class to allow for fluent creation of TeamMembers instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<TeamMembers> |
ALL_FIELDS
Selector for all available fields of TeamMembers.
|
static SimpleProperty.String<TeamMembers> |
RESPONSIBILITY_TEAM_MEMBER |
static SimpleProperty.String<TeamMembers> |
RESPY_MGMT_GLOBAL_TEAM_ID |
static SimpleProperty.String<TeamMembers> |
RESPY_MGMT_TEAM_MEMBER_TYPE |
static NavigationProperty.Single<TeamMembers,TeamHeaders> |
TO__TEAM_HEADER
Use with available request builders to apply the _TeamHeader navigation property to query operations.
|
static NavigationProperty.Collection<TeamMembers,TeamMemberFunctions> |
TO__TEAM_MEMBER_FUNCTIONS
Use with available request builders to apply the _TeamMemberFunctions navigation property to query
operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
TeamMembers() |
TeamMembers(String respyMgmtGlobalTeamID,
String respyMgmtTeamMemberType,
String responsibilityTeamMember,
TeamHeaders to_TeamHeader,
List<TeamMemberFunctions> to_TeamMemberFunctions) |
Modifier and Type | Method and Description |
---|---|
void |
addTeamMemberFunctions(TeamMemberFunctions... entity)
Adds elements to the list of associated TeamMemberFunctions entities.
|
static TeamMembers.TeamMembersBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
protected String |
getDefaultServicePath()
Used by request builders and navigation property methods to construct OData requests.
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
protected ODataEntityKey |
getKey() |
String |
getOdataType() |
String |
getResponsibilityTeamMember()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getRespyMgmtGlobalTeamID()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getRespyMgmtTeamMemberType()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
io.vavr.control.Option<TeamHeaders> |
getTeamHeaderIfPresent()
Retrieval of associated TeamHeaders entity (one to one).
|
io.vavr.control.Option<List<TeamMemberFunctions>> |
getTeamMemberFunctionsIfPresent()
Retrieval of associated TeamMemberFunctions entities (one to many).
|
Class<TeamMembers> |
getType() |
int |
hashCode() |
void |
setResponsibilityTeamMember(String responsibilityTeamMember)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setRespyMgmtGlobalTeamID(String respyMgmtGlobalTeamID)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setRespyMgmtTeamMemberType(String respyMgmtTeamMemberType)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setTeamHeader(TeamHeaders value)
Overwrites the associated TeamHeaders entity for the loaded navigation property _TeamHeader.
|
void |
setTeamMemberFunctions(List<TeamMemberFunctions> value)
Overwrites the list of associated TeamMemberFunctions entities for the loaded navigation property
_TeamMemberFunctions.
|
protected Map<String,Object> |
toMapOfFields()
Get all fields as map.
|
protected Map<String,Object> |
toMapOfNavigationProperties()
Get navigation properties as map.
|
String |
toString() |
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifier
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SimpleProperty<TeamMembers> ALL_FIELDS
public static final SimpleProperty.String<TeamMembers> RESPY_MGMT_GLOBAL_TEAM_ID
public static final SimpleProperty.String<TeamMembers> RESPY_MGMT_TEAM_MEMBER_TYPE
public static final SimpleProperty.String<TeamMembers> RESPONSIBILITY_TEAM_MEMBER
public static final NavigationProperty.Single<TeamMembers,TeamHeaders> TO__TEAM_HEADER
public static final NavigationProperty.Collection<TeamMembers,TeamMemberFunctions> TO__TEAM_MEMBER_FUNCTIONS
public TeamMembers()
public TeamMembers(@Nullable String respyMgmtGlobalTeamID, @Nullable String respyMgmtTeamMemberType, @Nullable String responsibilityTeamMember, @Nullable TeamHeaders to_TeamHeader, List<TeamMemberFunctions> to_TeamMemberFunctions)
@Nonnull public Class<TeamMembers> getType()
getType
in class VdmObject<TeamMembers>
public void setRespyMgmtGlobalTeamID(@Nullable String respyMgmtGlobalTeamID)
Original property name from the Odata EDM: RespyMgmtGlobalTeamID
respyMgmtGlobalTeamID
- Global Team ID in Responsibility Mgmt.public void setRespyMgmtTeamMemberType(@Nullable String respyMgmtTeamMemberType)
Original property name from the Odata EDM: RespyMgmtTeamMemberType
respyMgmtTeamMemberType
- Team Member Typepublic void setResponsibilityTeamMember(@Nullable String responsibilityTeamMember)
Original property name from the Odata EDM: ResponsibilityTeamMember
responsibilityTeamMember
- Business Partner Numberprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<TeamMembers>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<TeamMembers>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<TeamMembers>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<TeamMembers>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<TeamMembers>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<TeamMembers>
@Nonnull public io.vavr.control.Option<TeamHeaders> getTeamHeaderIfPresent()
If the navigation property for an entity TeamMembers has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state empty
is
returned.public void setTeamHeader(TeamHeaders value)
value
- New TeamHeaders entity.@Nonnull public io.vavr.control.Option<List<TeamMemberFunctions>> getTeamMemberFunctionsIfPresent()
If the navigation property for an entity TeamMembers has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setTeamMemberFunctions(@Nonnull List<TeamMemberFunctions> value)
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.
value
- List of TeamMemberFunctions entities.public void addTeamMemberFunctions(TeamMemberFunctions... entity)
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.
entity
- Array of TeamMemberFunctions entities.@Nonnull public static TeamMembers.TeamMembersBuilder builder()
@Nullable public String getRespyMgmtGlobalTeamID()
Original property name from the Odata EDM: RespyMgmtGlobalTeamID
@Nullable public String getRespyMgmtTeamMemberType()
Original property name from the Odata EDM: RespyMgmtTeamMemberType
@Nullable public String getResponsibilityTeamMember()
Original property name from the Odata EDM: ResponsibilityTeamMember
@Nonnull public String toString()
toString
in class VdmObject<TeamMembers>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<TeamMembers>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<TeamMembers>
public int hashCode()
hashCode
in class VdmEntity<TeamMembers>
public String getOdataType()
getOdataType
in class VdmObject<TeamMembers>
Copyright © 2021 SAP SE. All rights reserved.