Class RespyMgmtTeamHeader
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: RespyMgmtTeamHeader_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of RespyMgmtTeamHeader instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<RespyMgmtTeamHeader>Selector for all available fields of RespyMgmtTeamHeader.static final SimpleProperty.String<RespyMgmtTeamHeader>static final SimpleProperty.String<RespyMgmtTeamHeader>static final SimpleProperty.String<RespyMgmtTeamHeader>static final SimpleProperty.String<RespyMgmtTeamHeader>static final SimpleProperty.String<RespyMgmtTeamHeader>Use with available request builders to apply the _TeamAttributes navigation property to query operations.Use with available request builders to apply the _TeamMembers navigation property to query operations.Use with available request builders to apply the _TeamOwners navigation property to query operations.static final NavigationProperty.Collection<RespyMgmtTeamHeader,TeamStatusTexts> Use with available request builders to apply the _TeamStatusTexts navigation property to query operations.static final NavigationProperty.Single<RespyMgmtTeamHeader,RespyMgmtTeamType> 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
ConstructorsConstructorDescriptionRespyMgmtTeamHeader(String respyMgmtGlobalTeamID, String respyMgmtTeamName, String respyMgmtTeamStatus, String respyMgmtTeamType, String respyMgmtTeamCategory, List<RespyMgmtTeamAttribute> to_TeamAttributes, List<RespyMgmtTeamMember> to_TeamMembers, List<RespyMgmtTeamOwner> to_TeamOwners, List<TeamStatusTexts> to_TeamStatusTexts, RespyMgmtTeamType to_TeamType) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTeamAttributes(RespyMgmtTeamAttribute... entity) Adds elements to the list of associated RespyMgmtTeamAttribute entities.voidaddTeamMembers(RespyMgmtTeamMember... entity) Adds elements to the list of associated RespyMgmtTeamMember entities.voidaddTeamOwners(RespyMgmtTeamOwner... entity) Adds elements to the list of associated RespyMgmtTeamOwner 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: 30Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<List<RespyMgmtTeamAttribute>>Retrieval of associated RespyMgmtTeamAttribute entities (one to many).io.vavr.control.Option<List<RespyMgmtTeamMember>>Retrieval of associated RespyMgmtTeamMember entities (one to many).io.vavr.control.Option<List<RespyMgmtTeamOwner>>Retrieval of associated RespyMgmtTeamOwner entities (one to many).io.vavr.control.Option<List<TeamStatusTexts>>Retrieval of associated TeamStatusTexts entities (one to many).io.vavr.control.Option<RespyMgmtTeamType>Retrieval of associated RespyMgmtTeamType entity (one to one).getType()inthashCode()voidsetRespyMgmtGlobalTeamID(String respyMgmtGlobalTeamID) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetRespyMgmtTeamCategory(String respyMgmtTeamCategory) Constraints: Not nullable, Maximum length: 30voidsetRespyMgmtTeamName(String respyMgmtTeamName) Constraints: Not nullable, Maximum length: 40voidsetRespyMgmtTeamStatus(String respyMgmtTeamStatus) Constraints: Not nullable, Maximum length: 2voidsetRespyMgmtTeamType(String respyMgmtTeamType) Constraints: Not nullable, Maximum length: 30voidOverwrites the list of associated RespyMgmtTeamAttribute entities for the loaded navigation property _TeamAttributes.voidsetTeamMembers(List<RespyMgmtTeamMember> value) Overwrites the list of associated RespyMgmtTeamMember entities for the loaded navigation property _TeamMembers.voidsetTeamOwners(List<RespyMgmtTeamOwner> value) Overwrites the list of associated RespyMgmtTeamOwner 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(RespyMgmtTeamType value) Overwrites the associated RespyMgmtTeamType 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 RespyMgmtTeamHeader. -
RESPY_MGMT_GLOBAL_TEAM_ID
-
RESPY_MGMT_TEAM_NAME
-
RESPY_MGMT_TEAM_STATUS
-
RESPY_MGMT_TEAM_TYPE
-
RESPY_MGMT_TEAM_CATEGORY
-
TO__TEAM_ATTRIBUTES
public static final NavigationProperty.Collection<RespyMgmtTeamHeader,RespyMgmtTeamAttribute> TO__TEAM_ATTRIBUTESUse with available request builders to apply the _TeamAttributes navigation property to query operations. -
TO__TEAM_MEMBERS
public static final NavigationProperty.Collection<RespyMgmtTeamHeader,RespyMgmtTeamMember> TO__TEAM_MEMBERSUse with available request builders to apply the _TeamMembers navigation property to query operations. -
TO__TEAM_OWNERS
public static final NavigationProperty.Collection<RespyMgmtTeamHeader,RespyMgmtTeamOwner> TO__TEAM_OWNERSUse with available request builders to apply the _TeamOwners navigation property to query operations. -
TO__TEAM_STATUS_TEXTS
public static final NavigationProperty.Collection<RespyMgmtTeamHeader,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
-
RespyMgmtTeamHeader
public RespyMgmtTeamHeader() -
RespyMgmtTeamHeader
public RespyMgmtTeamHeader(@Nullable String respyMgmtGlobalTeamID, @Nullable String respyMgmtTeamName, @Nullable String respyMgmtTeamStatus, @Nullable String respyMgmtTeamType, @Nullable String respyMgmtTeamCategory, List<RespyMgmtTeamAttribute> to_TeamAttributes, List<RespyMgmtTeamMember> to_TeamMembers, List<RespyMgmtTeamOwner> to_TeamOwners, List<TeamStatusTexts> to_TeamStatusTexts, @Nullable RespyMgmtTeamType to_TeamType)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<RespyMgmtTeamHeader>
-
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: 30Original property name from the Odata EDM: RespyMgmtTeamType
- Parameters:
respyMgmtTeamType- Team Type
-
setRespyMgmtTeamCategory
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: RespyMgmtTeamCategory
- Parameters:
respyMgmtTeamCategory- Team Category
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<RespyMgmtTeamHeader>
-
getKey
- Overrides:
getKeyin classVdmObject<RespyMgmtTeamHeader>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<RespyMgmtTeamHeader>
-
fromMap
- Overrides:
fromMapin classVdmObject<RespyMgmtTeamHeader>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<RespyMgmtTeamHeader>
-
getTeamAttributesIfPresent
Retrieval of associated RespyMgmtTeamAttribute entities (one to many). This corresponds to the OData navigation property _TeamAttributes.If the navigation property for an entity RespyMgmtTeamHeader 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 RespyMgmtTeamAttribute entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamAttributes
Overwrites the list of associated RespyMgmtTeamAttribute entities for the loaded navigation property _TeamAttributes.If the navigation property _TeamAttributes of a queried RespyMgmtTeamHeader 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 RespyMgmtTeamAttribute entities.
-
addTeamAttributes
Adds elements to the list of associated RespyMgmtTeamAttribute entities. This corresponds to the OData navigation property _TeamAttributes.If the navigation property _TeamAttributes of a queried RespyMgmtTeamHeader 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 RespyMgmtTeamAttribute entities.
-
getTeamMembersIfPresent
Retrieval of associated RespyMgmtTeamMember entities (one to many). This corresponds to the OData navigation property _TeamMembers.If the navigation property for an entity RespyMgmtTeamHeader 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 RespyMgmtTeamMember entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamMembers
Overwrites the list of associated RespyMgmtTeamMember entities for the loaded navigation property _TeamMembers.If the navigation property _TeamMembers of a queried RespyMgmtTeamHeader 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 RespyMgmtTeamMember entities.
-
addTeamMembers
Adds elements to the list of associated RespyMgmtTeamMember entities. This corresponds to the OData navigation property _TeamMembers.If the navigation property _TeamMembers of a queried RespyMgmtTeamHeader 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 RespyMgmtTeamMember entities.
-
getTeamOwnersIfPresent
Retrieval of associated RespyMgmtTeamOwner entities (one to many). This corresponds to the OData navigation property _TeamOwners.If the navigation property for an entity RespyMgmtTeamHeader 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 RespyMgmtTeamOwner entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamOwners
Overwrites the list of associated RespyMgmtTeamOwner entities for the loaded navigation property _TeamOwners.If the navigation property _TeamOwners of a queried RespyMgmtTeamHeader 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 RespyMgmtTeamOwner entities.
-
addTeamOwners
Adds elements to the list of associated RespyMgmtTeamOwner entities. This corresponds to the OData navigation property _TeamOwners.If the navigation property _TeamOwners of a queried RespyMgmtTeamHeader 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 RespyMgmtTeamOwner 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 RespyMgmtTeamHeader 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 RespyMgmtTeamHeader 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 RespyMgmtTeamHeader 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 RespyMgmtTeamType entity (one to one). This corresponds to the OData navigation property _TeamType.If the navigation property for an entity RespyMgmtTeamHeader 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 RespyMgmtTeamType entity. If not, an
Optionwith result stateemptyis returned.
-
setTeamType
Overwrites the associated RespyMgmtTeamType entity for the loaded navigation property _TeamType.- Parameters:
value- New RespyMgmtTeamType 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: 30Original property name from the Odata EDM: RespyMgmtTeamType
- Returns:
- Team Type
-
getRespyMgmtTeamCategory
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: RespyMgmtTeamCategory
- Returns:
- Team Category
-
toString
- Overrides:
toStringin classVdmObject<RespyMgmtTeamHeader>
-
equals
- Overrides:
equalsin classVdmEntity<RespyMgmtTeamHeader>
-
canEqual
- Overrides:
canEqualin classVdmEntity<RespyMgmtTeamHeader>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<RespyMgmtTeamHeader>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<RespyMgmtTeamHeader>
-