Class TeamTypes
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: TeamTypesType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of TeamTypes instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<TeamTypes>Selector for all available fields of TeamTypes.static final SimpleProperty.String<TeamTypes>static final SimpleProperty.String<TeamTypes>static final NavigationProperty.Single<TeamTypes,TeamCategories> Use with available request builders to apply the _TeamCategory navigation property to query operations.static final NavigationProperty.Collection<TeamTypes,TeamTypeTexts> Use with available request builders to apply the _TeamTypeTexts 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
ConstructorsConstructorDescriptionTeamTypes(String respyMgmtTeamType, String respyMgmtTeamCategory, TeamCategories to_TeamCategory, List<TeamTypeTexts> to_TeamTypeTexts) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTeamTypeTexts(TeamTypeTexts... entity) Adds elements to the list of associated TeamTypeTexts entities.static TeamTypes.TeamTypesBuilderbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<TeamCategories>Retrieval of associated TeamCategories entity (one to one).io.vavr.control.Option<List<TeamTypeTexts>>Retrieval of associated TeamTypeTexts entities (one to many).getType()inthashCode()voidsetRespyMgmtTeamCategory(String respyMgmtTeamCategory) Constraints: Not nullable, Maximum length: 10voidsetRespyMgmtTeamType(String respyMgmtTeamType) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetTeamCategory(TeamCategories value) Overwrites the associated TeamCategories entity for the loaded navigation property _TeamCategory.voidsetTeamTypeTexts(List<TeamTypeTexts> value) Overwrites the list of associated TeamTypeTexts entities for the loaded navigation property _TeamTypeTexts.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 TeamTypes. -
RESPY_MGMT_TEAM_TYPE
-
RESPY_MGMT_TEAM_CATEGORY
-
TO__TEAM_CATEGORY
Use with available request builders to apply the _TeamCategory navigation property to query operations. -
TO__TEAM_TYPE_TEXTS
Use with available request builders to apply the _TeamTypeTexts navigation property to query operations.
-
-
Constructor Details
-
TeamTypes
public TeamTypes() -
TeamTypes
public TeamTypes(@Nullable String respyMgmtTeamType, @Nullable String respyMgmtTeamCategory, @Nullable TeamCategories to_TeamCategory, List<TeamTypeTexts> to_TeamTypeTexts)
-
-
Method Details
-
getType
-
setRespyMgmtTeamType
(Key Field) 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<TeamTypes>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<TeamTypes>
-
fromMap
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<TeamTypes>
-
getTeamCategoryIfPresent
Retrieval of associated TeamCategories entity (one to one). This corresponds to the OData navigation property _TeamCategory.If the navigation property for an entity TeamTypes 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 _TeamCategory is already loaded, the result will
contain the TeamCategories entity. If not, an
Optionwith result stateemptyis returned.
-
setTeamCategory
Overwrites the associated TeamCategories entity for the loaded navigation property _TeamCategory.- Parameters:
value- New TeamCategories entity.
-
getTeamTypeTextsIfPresent
Retrieval of associated TeamTypeTexts entities (one to many). This corresponds to the OData navigation property _TeamTypeTexts.If the navigation property for an entity TeamTypes 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 _TeamTypeTexts is already loaded, the result will
contain the TeamTypeTexts entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamTypeTexts
Overwrites the list of associated TeamTypeTexts entities for the loaded navigation property _TeamTypeTexts.If the navigation property _TeamTypeTexts of a queried TeamTypes 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 TeamTypeTexts entities.
-
addTeamTypeTexts
Adds elements to the list of associated TeamTypeTexts entities. This corresponds to the OData navigation property _TeamTypeTexts.If the navigation property _TeamTypeTexts of a queried TeamTypes 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 TeamTypeTexts entities.
-
builder
-
getRespyMgmtTeamType
(Key Field) 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
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getOdataType
- Specified by:
getOdataTypein classVdmObject<TeamTypes>
-