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,TeamTypeFunctions> Use with available request builders to apply the _TeamTypeFunctions navigation property to query operations.static final NavigationProperty.Collection<TeamTypes,TeamTypeRespyAttributes> Use with available request builders to apply the _TeamTypeRespyAttributes 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<TeamTypeFunctions> to_TeamTypeFunctions, List<TeamTypeRespyAttributes> to_TeamTypeRespyAttributes, List<TeamTypeTexts> to_TeamTypeTexts) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTeamTypeFunctions(TeamTypeFunctions... entity) Adds elements to the list of associated TeamTypeFunctions entities.voidAdds elements to the list of associated TeamTypeRespyAttributes entities.voidaddTeamTypeTexts(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<TeamTypeFunctions>>Retrieval of associated TeamTypeFunctions entities (one to many).io.vavr.control.Option<List<TeamTypeRespyAttributes>>Retrieval of associated TeamTypeRespyAttributes entities (one to many).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.voidOverwrites the list of associated TeamTypeFunctions entities for the loaded navigation property _TeamTypeFunctions.voidOverwrites the list of associated TeamTypeRespyAttributes entities for the loaded navigation property _TeamTypeRespyAttributes.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_FUNCTIONS
public static final NavigationProperty.Collection<TeamTypes,TeamTypeFunctions> TO__TEAM_TYPE_FUNCTIONSUse with available request builders to apply the _TeamTypeFunctions navigation property to query operations. -
TO__TEAM_TYPE_RESPY_ATTRIBUTES
public static final NavigationProperty.Collection<TeamTypes,TeamTypeRespyAttributes> TO__TEAM_TYPE_RESPY_ATTRIBUTESUse with available request builders to apply the _TeamTypeRespyAttributes 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<TeamTypeFunctions> to_TeamTypeFunctions, List<TeamTypeRespyAttributes> to_TeamTypeRespyAttributes, 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.
-
getTeamTypeFunctionsIfPresent
Retrieval of associated TeamTypeFunctions entities (one to many). This corresponds to the OData navigation property _TeamTypeFunctions.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 _TeamTypeFunctions is already loaded, the result will
contain the TeamTypeFunctions entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamTypeFunctions
Overwrites the list of associated TeamTypeFunctions entities for the loaded navigation property _TeamTypeFunctions.If the navigation property _TeamTypeFunctions 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 TeamTypeFunctions entities.
-
addTeamTypeFunctions
Adds elements to the list of associated TeamTypeFunctions entities. This corresponds to the OData navigation property _TeamTypeFunctions.If the navigation property _TeamTypeFunctions 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 TeamTypeFunctions entities.
-
getTeamTypeRespyAttributesIfPresent
@Nonnull public io.vavr.control.Option<List<TeamTypeRespyAttributes>> getTeamTypeRespyAttributesIfPresent()Retrieval of associated TeamTypeRespyAttributes entities (one to many). This corresponds to the OData navigation property _TeamTypeRespyAttributes.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 _TeamTypeRespyAttributes is already loaded, the result
will contain the TeamTypeRespyAttributes entities. If not, an
Optionwith result stateemptyis returned.
-
setTeamTypeRespyAttributes
Overwrites the list of associated TeamTypeRespyAttributes entities for the loaded navigation property _TeamTypeRespyAttributes.If the navigation property _TeamTypeRespyAttributes 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 TeamTypeRespyAttributes entities.
-
addTeamTypeRespyAttributes
Adds elements to the list of associated TeamTypeRespyAttributes entities. This corresponds to the OData navigation property _TeamTypeRespyAttributes.If the navigation property _TeamTypeRespyAttributes 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 TeamTypeRespyAttributes entities.
-
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>
-