public class TeamHeaders extends VdmEntity<TeamHeaders>
Original entity name from the Odata EDM: TeamHeadersType
Modifier and Type | Class and Description |
---|---|
static class |
TeamHeaders.TeamHeadersBuilder
Helper class to allow for fluent creation of TeamHeaders instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<TeamHeaders> |
ALL_FIELDS
Selector for all available fields of TeamHeaders.
|
static SimpleProperty.String<TeamHeaders> |
RESPY_MGMT_GLOBAL_TEAM_ID |
static SimpleProperty.String<TeamHeaders> |
RESPY_MGMT_TEAM_CATEGORY |
static SimpleProperty.String<TeamHeaders> |
RESPY_MGMT_TEAM_NAME |
static SimpleProperty.String<TeamHeaders> |
RESPY_MGMT_TEAM_STATUS |
static SimpleProperty.String<TeamHeaders> |
RESPY_MGMT_TEAM_TYPE |
static NavigationProperty.Collection<TeamHeaders,TeamAttributes> |
TO__TEAM_ATTRIBUTES
Use with available request builders to apply the _TeamAttributes navigation property to query operations.
|
static NavigationProperty.Collection<TeamHeaders,TeamMembers> |
TO__TEAM_MEMBERS
Use with available request builders to apply the _TeamMembers navigation property to query operations.
|
static NavigationProperty.Collection<TeamHeaders,TeamOwners> |
TO__TEAM_OWNERS
Use with available request builders to apply the _TeamOwners navigation property to query operations.
|
static NavigationProperty.Collection<TeamHeaders,TeamStatusTexts> |
TO__TEAM_STATUS_TEXTS
Use with available request builders to apply the _TeamStatusTexts navigation property to query operations.
|
static NavigationProperty.Single<TeamHeaders,TeamTypes> |
TO__TEAM_TYPE
Use with available request builders to apply the _TeamType navigation property to query operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
TeamHeaders() |
TeamHeaders(String respyMgmtGlobalTeamID,
String respyMgmtTeamName,
String respyMgmtTeamStatus,
String respyMgmtTeamType,
String respyMgmtTeamCategory,
List<TeamAttributes> to_TeamAttributes,
List<TeamMembers> to_TeamMembers,
List<TeamOwners> to_TeamOwners,
List<TeamStatusTexts> to_TeamStatusTexts,
TeamTypes to_TeamType) |
Modifier and Type | Method and Description |
---|---|
void |
addTeamAttributes(TeamAttributes... entity)
Adds elements to the list of associated TeamAttributes entities.
|
void |
addTeamMembers(TeamMembers... entity)
Adds elements to the list of associated TeamMembers entities.
|
void |
addTeamOwners(TeamOwners... entity)
Adds elements to the list of associated TeamOwners entities.
|
void |
addTeamStatusTexts(TeamStatusTexts... entity)
Adds elements to the list of associated TeamStatusTexts entities.
|
static TeamHeaders.TeamHeadersBuilder |
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 |
getRespyMgmtGlobalTeamID()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getRespyMgmtTeamCategory()
Constraints: Not nullable, Maximum length: 10
|
String |
getRespyMgmtTeamName()
Constraints: Not nullable, Maximum length: 40
|
String |
getRespyMgmtTeamStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getRespyMgmtTeamType()
Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<List<TeamAttributes>> |
getTeamAttributesIfPresent()
Retrieval of associated TeamAttributes entities (one to many).
|
io.vavr.control.Option<List<TeamMembers>> |
getTeamMembersIfPresent()
Retrieval of associated TeamMembers entities (one to many).
|
io.vavr.control.Option<List<TeamOwners>> |
getTeamOwnersIfPresent()
Retrieval of associated TeamOwners entities (one to many).
|
io.vavr.control.Option<List<TeamStatusTexts>> |
getTeamStatusTextsIfPresent()
Retrieval of associated TeamStatusTexts entities (one to many).
|
io.vavr.control.Option<TeamTypes> |
getTeamTypeIfPresent()
Retrieval of associated TeamTypes entity (one to one).
|
Class<TeamHeaders> |
getType() |
int |
hashCode() |
void |
setRespyMgmtGlobalTeamID(String respyMgmtGlobalTeamID)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setRespyMgmtTeamCategory(String respyMgmtTeamCategory)
Constraints: Not nullable, Maximum length: 10
|
void |
setRespyMgmtTeamName(String respyMgmtTeamName)
Constraints: Not nullable, Maximum length: 40
|
void |
setRespyMgmtTeamStatus(String respyMgmtTeamStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setRespyMgmtTeamType(String respyMgmtTeamType)
Constraints: Not nullable, Maximum length: 10
|
void |
setTeamAttributes(List<TeamAttributes> value)
Overwrites the list of associated TeamAttributes entities for the loaded navigation property
_TeamAttributes.
|
void |
setTeamMembers(List<TeamMembers> value)
Overwrites the list of associated TeamMembers entities for the loaded navigation property
_TeamMembers.
|
void |
setTeamOwners(List<TeamOwners> value)
Overwrites the list of associated TeamOwners entities for the loaded navigation property
_TeamOwners.
|
void |
setTeamStatusTexts(List<TeamStatusTexts> value)
Overwrites the list of associated TeamStatusTexts entities for the loaded navigation property
_TeamStatusTexts.
|
void |
setTeamType(TeamTypes value)
Overwrites the associated TeamTypes entity for the loaded navigation property _TeamType.
|
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<TeamHeaders> ALL_FIELDS
public static final SimpleProperty.String<TeamHeaders> RESPY_MGMT_GLOBAL_TEAM_ID
public static final SimpleProperty.String<TeamHeaders> RESPY_MGMT_TEAM_NAME
public static final SimpleProperty.String<TeamHeaders> RESPY_MGMT_TEAM_STATUS
public static final SimpleProperty.String<TeamHeaders> RESPY_MGMT_TEAM_TYPE
public static final SimpleProperty.String<TeamHeaders> RESPY_MGMT_TEAM_CATEGORY
public static final NavigationProperty.Collection<TeamHeaders,TeamAttributes> TO__TEAM_ATTRIBUTES
public static final NavigationProperty.Collection<TeamHeaders,TeamMembers> TO__TEAM_MEMBERS
public static final NavigationProperty.Collection<TeamHeaders,TeamOwners> TO__TEAM_OWNERS
public static final NavigationProperty.Collection<TeamHeaders,TeamStatusTexts> TO__TEAM_STATUS_TEXTS
public static final NavigationProperty.Single<TeamHeaders,TeamTypes> TO__TEAM_TYPE
public TeamHeaders()
public TeamHeaders(@Nullable String respyMgmtGlobalTeamID, @Nullable String respyMgmtTeamName, @Nullable String respyMgmtTeamStatus, @Nullable String respyMgmtTeamType, @Nullable String respyMgmtTeamCategory, List<TeamAttributes> to_TeamAttributes, List<TeamMembers> to_TeamMembers, List<TeamOwners> to_TeamOwners, List<TeamStatusTexts> to_TeamStatusTexts, @Nullable TeamTypes to_TeamType)
@Nonnull public Class<TeamHeaders> getType()
getType
in class VdmObject<TeamHeaders>
public void setRespyMgmtGlobalTeamID(@Nullable String respyMgmtGlobalTeamID)
Original property name from the Odata EDM: RespyMgmtGlobalTeamID
respyMgmtGlobalTeamID
- Global Team ID in Responsibility Mgmt.public void setRespyMgmtTeamName(@Nullable String respyMgmtTeamName)
Original property name from the Odata EDM: RespyMgmtTeamName
respyMgmtTeamName
- Namepublic void setRespyMgmtTeamStatus(@Nullable String respyMgmtTeamStatus)
Original property name from the Odata EDM: RespyMgmtTeamStatus
respyMgmtTeamStatus
- Team Statuspublic void setRespyMgmtTeamType(@Nullable String respyMgmtTeamType)
Original property name from the Odata EDM: RespyMgmtTeamType
respyMgmtTeamType
- Team Typepublic void setRespyMgmtTeamCategory(@Nullable String respyMgmtTeamCategory)
Original property name from the Odata EDM: RespyMgmtTeamCategory
respyMgmtTeamCategory
- Custom Team Categoryprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<TeamHeaders>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<TeamHeaders>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<TeamHeaders>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<TeamHeaders>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<TeamHeaders>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<TeamHeaders>
@Nonnull public io.vavr.control.Option<List<TeamAttributes>> getTeamAttributesIfPresent()
If the navigation property for an entity TeamHeaders 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 setTeamAttributes(@Nonnull List<TeamAttributes> value)
If the navigation property _TeamAttributes of a queried TeamHeaders 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 TeamAttributes entities.public void addTeamAttributes(TeamAttributes... entity)
If the navigation property _TeamAttributes of a queried TeamHeaders 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 TeamAttributes entities.@Nonnull public io.vavr.control.Option<List<TeamMembers>> getTeamMembersIfPresent()
If the navigation property for an entity TeamHeaders 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 setTeamMembers(@Nonnull List<TeamMembers> value)
If the navigation property _TeamMembers of a queried TeamHeaders 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 TeamMembers entities.public void addTeamMembers(TeamMembers... entity)
If the navigation property _TeamMembers of a queried TeamHeaders 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 TeamMembers entities.@Nonnull public io.vavr.control.Option<List<TeamOwners>> getTeamOwnersIfPresent()
If the navigation property for an entity TeamHeaders 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 setTeamOwners(@Nonnull List<TeamOwners> value)
If the navigation property _TeamOwners of a queried TeamHeaders 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 TeamOwners entities.public void addTeamOwners(TeamOwners... entity)
If the navigation property _TeamOwners of a queried TeamHeaders 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 TeamOwners entities.@Nonnull public io.vavr.control.Option<List<TeamStatusTexts>> getTeamStatusTextsIfPresent()
If the navigation property for an entity TeamHeaders 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 setTeamStatusTexts(@Nonnull List<TeamStatusTexts> value)
If the navigation property _TeamStatusTexts of a queried TeamHeaders 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 TeamStatusTexts entities.public void addTeamStatusTexts(TeamStatusTexts... entity)
If the navigation property _TeamStatusTexts of a queried TeamHeaders 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 TeamStatusTexts entities.@Nonnull public io.vavr.control.Option<TeamTypes> getTeamTypeIfPresent()
If the navigation property for an entity TeamHeaders 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 setTeamType(TeamTypes value)
value
- New TeamTypes entity.@Nonnull public static TeamHeaders.TeamHeadersBuilder builder()
@Nullable public String getRespyMgmtGlobalTeamID()
Original property name from the Odata EDM: RespyMgmtGlobalTeamID
@Nullable public String getRespyMgmtTeamName()
Original property name from the Odata EDM: RespyMgmtTeamName
@Nullable public String getRespyMgmtTeamStatus()
Original property name from the Odata EDM: RespyMgmtTeamStatus
@Nullable public String getRespyMgmtTeamType()
Original property name from the Odata EDM: RespyMgmtTeamType
@Nullable public String getRespyMgmtTeamCategory()
Original property name from the Odata EDM: RespyMgmtTeamCategory
@Nonnull public String toString()
toString
in class VdmObject<TeamHeaders>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<TeamHeaders>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<TeamHeaders>
public int hashCode()
hashCode
in class VdmEntity<TeamHeaders>
public String getOdataType()
getOdataType
in class VdmObject<TeamHeaders>
Copyright © 2021 SAP SE. All rights reserved.