public class TeamCategories extends VdmEntity<TeamCategories>
Original entity name from the Odata EDM: TeamCategoriesType
Modifier and Type | Class and Description |
---|---|
static class |
TeamCategories.TeamCategoriesBuilder
Helper class to allow for fluent creation of TeamCategories instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<TeamCategories> |
ALL_FIELDS
Selector for all available fields of TeamCategories.
|
static SimpleProperty.String<TeamCategories> |
RESPY_MGMT_TEAM_CATEGORY |
static NavigationProperty.Collection<TeamCategories,TeamCategoryFunctions> |
TO__TEAM_CATEGORY_FUNCTIONS
Use with available request builders to apply the _TeamCategoryFunctions navigation property to query
operations.
|
static NavigationProperty.Collection<TeamCategories,TeamCategoryRespyAttributes> |
TO__TEAM_CATEGORY_RESPY_ATTRIBUTES
Use with available request builders to apply the _TeamCategoryRespyAttributes navigation property to query
operations.
|
static NavigationProperty.Collection<TeamCategories,TeamCategoryTexts> |
TO__TEAM_CATEGORY_TEXTS
Use with available request builders to apply the _TeamCategoryTexts navigation property to query
operations.
|
static NavigationProperty.Collection<TeamCategories,TeamTypes> |
TO__TEAM_TYPES
Use with available request builders to apply the _TeamTypes navigation property to query operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
TeamCategories() |
TeamCategories(String respyMgmtTeamCategory,
List<TeamCategoryFunctions> to_TeamCategoryFunctions,
List<TeamCategoryRespyAttributes> to_TeamCategoryRespyAttributes,
List<TeamCategoryTexts> to_TeamCategoryTexts,
List<TeamTypes> to_TeamTypes) |
Modifier and Type | Method and Description |
---|---|
void |
addTeamCategoryFunctions(TeamCategoryFunctions... entity)
Adds elements to the list of associated TeamCategoryFunctions entities.
|
void |
addTeamCategoryRespyAttributes(TeamCategoryRespyAttributes... entity)
Adds elements to the list of associated TeamCategoryRespyAttributes entities.
|
void |
addTeamCategoryTexts(TeamCategoryTexts... entity)
Adds elements to the list of associated TeamCategoryTexts entities.
|
void |
addTeamTypes(TeamTypes... entity)
Adds elements to the list of associated TeamTypes entities.
|
static TeamCategories.TeamCategoriesBuilder |
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 |
getRespyMgmtTeamCategory()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<List<TeamCategoryFunctions>> |
getTeamCategoryFunctionsIfPresent()
Retrieval of associated TeamCategoryFunctions entities (one to many).
|
io.vavr.control.Option<List<TeamCategoryRespyAttributes>> |
getTeamCategoryRespyAttributesIfPresent()
Retrieval of associated TeamCategoryRespyAttributes entities (one to many).
|
io.vavr.control.Option<List<TeamCategoryTexts>> |
getTeamCategoryTextsIfPresent()
Retrieval of associated TeamCategoryTexts entities (one to many).
|
io.vavr.control.Option<List<TeamTypes>> |
getTeamTypesIfPresent()
Retrieval of associated TeamTypes entities (one to many).
|
Class<TeamCategories> |
getType() |
int |
hashCode() |
void |
setRespyMgmtTeamCategory(String respyMgmtTeamCategory)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setTeamCategoryFunctions(List<TeamCategoryFunctions> value)
Overwrites the list of associated TeamCategoryFunctions entities for the loaded navigation property
_TeamCategoryFunctions.
|
void |
setTeamCategoryRespyAttributes(List<TeamCategoryRespyAttributes> value)
Overwrites the list of associated TeamCategoryRespyAttributes entities for the loaded navigation property
_TeamCategoryRespyAttributes.
|
void |
setTeamCategoryTexts(List<TeamCategoryTexts> value)
Overwrites the list of associated TeamCategoryTexts entities for the loaded navigation property
_TeamCategoryTexts.
|
void |
setTeamTypes(List<TeamTypes> value)
Overwrites the list of associated TeamTypes entities for the loaded navigation property _TeamTypes.
|
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<TeamCategories> ALL_FIELDS
public static final SimpleProperty.String<TeamCategories> RESPY_MGMT_TEAM_CATEGORY
public static final NavigationProperty.Collection<TeamCategories,TeamCategoryFunctions> TO__TEAM_CATEGORY_FUNCTIONS
public static final NavigationProperty.Collection<TeamCategories,TeamCategoryRespyAttributes> TO__TEAM_CATEGORY_RESPY_ATTRIBUTES
public static final NavigationProperty.Collection<TeamCategories,TeamCategoryTexts> TO__TEAM_CATEGORY_TEXTS
public static final NavigationProperty.Collection<TeamCategories,TeamTypes> TO__TEAM_TYPES
public TeamCategories()
public TeamCategories(@Nullable String respyMgmtTeamCategory, List<TeamCategoryFunctions> to_TeamCategoryFunctions, List<TeamCategoryRespyAttributes> to_TeamCategoryRespyAttributes, List<TeamCategoryTexts> to_TeamCategoryTexts, List<TeamTypes> to_TeamTypes)
@Nonnull public Class<TeamCategories> getType()
getType
in class VdmObject<TeamCategories>
public void setRespyMgmtTeamCategory(@Nullable String respyMgmtTeamCategory)
Original property name from the Odata EDM: RespyMgmtTeamCategory
respyMgmtTeamCategory
- Team Categoryprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<TeamCategories>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<TeamCategories>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<TeamCategories>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<TeamCategories>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<TeamCategories>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<TeamCategories>
@Nonnull public io.vavr.control.Option<List<TeamCategoryFunctions>> getTeamCategoryFunctionsIfPresent()
If the navigation property for an entity TeamCategories 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 setTeamCategoryFunctions(@Nonnull List<TeamCategoryFunctions> value)
If the navigation property _TeamCategoryFunctions of a queried TeamCategories 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 TeamCategoryFunctions entities.public void addTeamCategoryFunctions(TeamCategoryFunctions... entity)
If the navigation property _TeamCategoryFunctions of a queried TeamCategories 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 TeamCategoryFunctions entities.@Nonnull public io.vavr.control.Option<List<TeamCategoryRespyAttributes>> getTeamCategoryRespyAttributesIfPresent()
If the navigation property for an entity TeamCategories 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 setTeamCategoryRespyAttributes(@Nonnull List<TeamCategoryRespyAttributes> value)
If the navigation property _TeamCategoryRespyAttributes of a queried TeamCategories 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 TeamCategoryRespyAttributes entities.public void addTeamCategoryRespyAttributes(TeamCategoryRespyAttributes... entity)
If the navigation property _TeamCategoryRespyAttributes of a queried TeamCategories 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 TeamCategoryRespyAttributes entities.@Nonnull public io.vavr.control.Option<List<TeamCategoryTexts>> getTeamCategoryTextsIfPresent()
If the navigation property for an entity TeamCategories 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 setTeamCategoryTexts(@Nonnull List<TeamCategoryTexts> value)
If the navigation property _TeamCategoryTexts of a queried TeamCategories 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 TeamCategoryTexts entities.public void addTeamCategoryTexts(TeamCategoryTexts... entity)
If the navigation property _TeamCategoryTexts of a queried TeamCategories 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 TeamCategoryTexts entities.@Nonnull public io.vavr.control.Option<List<TeamTypes>> getTeamTypesIfPresent()
If the navigation property for an entity TeamCategories 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 setTeamTypes(@Nonnull List<TeamTypes> value)
If the navigation property _TeamTypes of a queried TeamCategories 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 TeamTypes entities.public void addTeamTypes(TeamTypes... entity)
If the navigation property _TeamTypes of a queried TeamCategories 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 TeamTypes entities.@Nonnull public static TeamCategories.TeamCategoriesBuilder builder()
@Nullable public String getRespyMgmtTeamCategory()
Original property name from the Odata EDM: RespyMgmtTeamCategory
@Nonnull public String toString()
toString
in class VdmObject<TeamCategories>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<TeamCategories>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<TeamCategories>
public int hashCode()
hashCode
in class VdmEntity<TeamCategories>
public String getOdataType()
getOdataType
in class VdmObject<TeamCategories>
Copyright © 2021 SAP SE. All rights reserved.