Class TeamHeaders
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: TeamHeadersType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of TeamHeaders instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<TeamHeaders>Selector for all available fields of TeamHeaders.static final SimpleProperty.String<TeamHeaders>static final SimpleProperty.String<TeamHeaders>static final SimpleProperty.String<TeamHeaders>static final SimpleProperty.String<TeamHeaders>static final SimpleProperty.String<TeamHeaders>static final NavigationProperty.Collection<TeamHeaders,TeamAttributes> Use with available request builders to apply the _TeamAttributes navigation property to query operations.static final NavigationProperty.Collection<TeamHeaders,TeamMembers> Use with available request builders to apply the _TeamMembers navigation property to query operations.static final NavigationProperty.Collection<TeamHeaders,TeamOwners> Use with available request builders to apply the _TeamOwners navigation property to query operations.static final NavigationProperty.Collection<TeamHeaders,TeamStatusTexts> Use with available request builders to apply the _TeamStatusTexts navigation property to query operations.static final NavigationProperty.Single<TeamHeaders,TeamTypes> 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
ConstructorsConstructorDescriptionTeamHeaders(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) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTeamAttributes(TeamAttributes... entity) Adds elements to the list of associated TeamAttributes entities.voidaddTeamMembers(TeamMembers... entity) Adds elements to the list of associated TeamMembers entities.voidaddTeamOwners(TeamOwners... entity) Adds elements to the list of associated TeamOwners entities.voidaddTeamStatusTexts(TeamStatusTexts... entity) Adds elements to the list of associated TeamStatusTexts entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<List<TeamAttributes>>Retrieval of associated TeamAttributes entities (one to many).io.vavr.control.Option<List<TeamMembers>>Retrieval of associated TeamMembers entities (one to many).io.vavr.control.Option<List<TeamOwners>>Retrieval of associated TeamOwners entities (one to many).io.vavr.control.Option<List<TeamStatusTexts>>Retrieval of associated TeamStatusTexts entities (one to many).io.vavr.control.Option<TeamTypes>Retrieval of associated TeamTypes entity (one to one).getType()inthashCode()voidsetRespyMgmtGlobalTeamID(String respyMgmtGlobalTeamID) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetRespyMgmtTeamCategory(String respyMgmtTeamCategory) Constraints: Not nullable, Maximum length: 10voidsetRespyMgmtTeamName(String respyMgmtTeamName) Constraints: Not nullable, Maximum length: 40voidsetRespyMgmtTeamStatus(String respyMgmtTeamStatus) Constraints: Not nullable, Maximum length: 2voidsetRespyMgmtTeamType(String respyMgmtTeamType) Constraints: Not nullable, Maximum length: 10voidsetTeamAttributes(List<TeamAttributes> value) Overwrites the list of associated TeamAttributes entities for the loaded navigation property _TeamAttributes.voidsetTeamMembers(List<TeamMembers> value) Overwrites the list of associated TeamMembers entities for the loaded navigation property _TeamMembers.voidsetTeamOwners(List<TeamOwners> value) Overwrites the list of associated TeamOwners entities for the loaded navigation property _TeamOwners.voidsetTeamStatusTexts(List<TeamStatusTexts> value) Overwrites the list of associated TeamStatusTexts entities for the loaded navigation property _TeamStatusTexts.voidsetTeamType(TeamTypes value) Overwrites the associated TeamTypes 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 TeamHeaders. -
RESPY_MGMT_GLOBAL_TEAM_ID
-
RESPY_MGMT_TEAM_NAME
-
RESPY_MGMT_TEAM_STATUS
-
RESPY_MGMT_TEAM_TYPE
-
RESPY_MGMT_TEAM_CATEGORY
-
TO__TEAM_ATTRIBUTES
Use with available request builders to apply the _TeamAttributes navigation property to query operations. -
TO__TEAM_MEMBERS
Use with available request builders to apply the _TeamMembers navigation property to query operations. -
TO__TEAM_OWNERS
Use with available request builders to apply the _TeamOwners navigation property to query operations. -
TO__TEAM_STATUS_TEXTS
public static final NavigationProperty.Collection<TeamHeaders,TeamStatusTexts> TO__TEAM_STATUS_TEXTSUse with available request builders to apply the _TeamStatusTexts navigation property to query operations. -
TO__TEAM_TYPE
Use with available request builders to apply the _TeamType navigation property to query operations.
-
-
Constructor Details
-
TeamHeaders
public TeamHeaders() -
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)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<TeamHeaders>
-
setRespyMgmtGlobalTeamID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: RespyMgmtGlobalTeamID
- Parameters:
respyMgmtGlobalTeamID- Global Team ID in Responsibility Mgmt.
-
setRespyMgmtTeamName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: RespyMgmtTeamName
- Parameters:
respyMgmtTeamName- Name
-
setRespyMgmtTeamStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: RespyMgmtTeamStatus
- Parameters:
respyMgmtTeamStatus- Team Status
-
setRespyMgmtTeamType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: RespyMgmtTeamType
- Parameters:
respyMgmtTeamType- Team Type
-
setRespyMgmtTeamCategory
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: RespyMgmtTeamCategory
- Parameters:
respyMgmtTeamCategory- Team Category
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<TeamHeaders>
-
getKey
- Overrides:
getKeyin classVdmObject<TeamHeaders>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<TeamHeaders>
-
fromMap
- Overrides:
fromMapin classVdmObject<TeamHeaders>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<TeamHeaders>
-
getTeamAttributesIfPresent
Retrieval of associated TeamAttributes entities (one to many). This corresponds to the OData navigation property _TeamAttributes.If the navigation property for an entity TeamHeaders 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 _TeamAttributes is already loaded, the result will
contain the TeamAttributes entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamAttributes
Overwrites the list of associated TeamAttributes entities for the loaded navigation property _TeamAttributes.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.
- Parameters:
value- List of TeamAttributes entities.
-
addTeamAttributes
Adds elements to the list of associated TeamAttributes entities. This corresponds to the OData navigation property _TeamAttributes.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.
- Parameters:
entity- Array of TeamAttributes entities.
-
getTeamMembersIfPresent
Retrieval of associated TeamMembers entities (one to many). This corresponds to the OData navigation property _TeamMembers.If the navigation property for an entity TeamHeaders 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 _TeamMembers is already loaded, the result will contain
the TeamMembers entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamMembers
Overwrites the list of associated TeamMembers entities for the loaded navigation property _TeamMembers.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.
- Parameters:
value- List of TeamMembers entities.
-
addTeamMembers
Adds elements to the list of associated TeamMembers entities. This corresponds to the OData navigation property _TeamMembers.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.
- Parameters:
entity- Array of TeamMembers entities.
-
getTeamOwnersIfPresent
Retrieval of associated TeamOwners entities (one to many). This corresponds to the OData navigation property _TeamOwners.If the navigation property for an entity TeamHeaders 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 _TeamOwners is already loaded, the result will contain
the TeamOwners entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamOwners
Overwrites the list of associated TeamOwners entities for the loaded navigation property _TeamOwners.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.
- Parameters:
value- List of TeamOwners entities.
-
addTeamOwners
Adds elements to the list of associated TeamOwners entities. This corresponds to the OData navigation property _TeamOwners.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.
- Parameters:
entity- Array of TeamOwners entities.
-
getTeamStatusTextsIfPresent
Retrieval of associated TeamStatusTexts entities (one to many). This corresponds to the OData navigation property _TeamStatusTexts.If the navigation property for an entity TeamHeaders 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 _TeamStatusTexts is already loaded, the result will
contain the TeamStatusTexts entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamStatusTexts
Overwrites the list of associated TeamStatusTexts entities for the loaded navigation property _TeamStatusTexts.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.
- Parameters:
value- List of TeamStatusTexts entities.
-
addTeamStatusTexts
Adds elements to the list of associated TeamStatusTexts entities. This corresponds to the OData navigation property _TeamStatusTexts.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.
- Parameters:
entity- Array of TeamStatusTexts entities.
-
getTeamTypeIfPresent
Retrieval of associated TeamTypes entity (one to one). This corresponds to the OData navigation property _TeamType.If the navigation property for an entity TeamHeaders 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 TeamTypes entity. If not, an
Optionwith result stateemptyis returned.
-
setTeamType
Overwrites the associated TeamTypes entity for the loaded navigation property _TeamType.- Parameters:
value- New TeamTypes entity.
-
builder
-
getRespyMgmtGlobalTeamID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: RespyMgmtGlobalTeamID
- Returns:
- Global Team ID in Responsibility Mgmt.
-
getRespyMgmtTeamName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: RespyMgmtTeamName
- Returns:
- Name
-
getRespyMgmtTeamStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: RespyMgmtTeamStatus
- Returns:
- Team Status
-
getRespyMgmtTeamType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: RespyMgmtTeamType
- Returns:
- Team Type
-
getRespyMgmtTeamCategory
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: RespyMgmtTeamCategory
- Returns:
- Team Category
-
toString
- Overrides:
toStringin classVdmObject<TeamHeaders>
-
equals
- Overrides:
equalsin classVdmEntity<TeamHeaders>
-
canEqual
- Overrides:
canEqualin classVdmEntity<TeamHeaders>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<TeamHeaders>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<TeamHeaders>
-