Modifier and Type | Class and Description |
---|---|
static class |
TeamTypes.TeamTypesBuilder
Helper class to allow for fluent creation of TeamTypes instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<TeamTypes> |
ALL_FIELDS
Selector for all available fields of TeamTypes.
|
static SimpleProperty.String<TeamTypes> |
RESPY_MGMT_TEAM_CATEGORY |
static SimpleProperty.String<TeamTypes> |
RESPY_MGMT_TEAM_TYPE |
static NavigationProperty.Single<TeamTypes,TeamCategories> |
TO__TEAM_CATEGORY
Use with available request builders to apply the _TeamCategory navigation property to query operations.
|
static NavigationProperty.Collection<TeamTypes,TeamTypeTexts> |
TO__TEAM_TYPE_TEXTS
Use with available request builders to apply the _TeamTypeTexts navigation property to query operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
TeamTypes() |
TeamTypes(String respyMgmtTeamType,
String respyMgmtTeamCategory,
TeamCategories to_TeamCategory,
List<TeamTypeTexts> to_TeamTypeTexts) |
Modifier and Type | Method and Description |
---|---|
void |
addTeamTypeTexts(TeamTypeTexts... entity)
Adds elements to the list of associated TeamTypeTexts entities.
|
static TeamTypes.TeamTypesBuilder |
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()
Constraints: Not nullable, Maximum length: 10
|
String |
getRespyMgmtTeamType()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<TeamCategories> |
getTeamCategoryIfPresent()
Retrieval of associated TeamCategories entity (one to one).
|
io.vavr.control.Option<List<TeamTypeTexts>> |
getTeamTypeTextsIfPresent()
Retrieval of associated TeamTypeTexts entities (one to many).
|
Class<TeamTypes> |
getType() |
int |
hashCode() |
void |
setRespyMgmtTeamCategory(String respyMgmtTeamCategory)
Constraints: Not nullable, Maximum length: 10
|
void |
setRespyMgmtTeamType(String respyMgmtTeamType)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setTeamCategory(TeamCategories value)
Overwrites the associated TeamCategories entity for the loaded navigation property _TeamCategory.
|
void |
setTeamTypeTexts(List<TeamTypeTexts> value)
Overwrites the list of associated TeamTypeTexts entities for the loaded navigation property
_TeamTypeTexts.
|
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<TeamTypes> ALL_FIELDS
public static final SimpleProperty.String<TeamTypes> RESPY_MGMT_TEAM_TYPE
public static final SimpleProperty.String<TeamTypes> RESPY_MGMT_TEAM_CATEGORY
public static final NavigationProperty.Single<TeamTypes,TeamCategories> TO__TEAM_CATEGORY
public static final NavigationProperty.Collection<TeamTypes,TeamTypeTexts> TO__TEAM_TYPE_TEXTS
public TeamTypes()
public TeamTypes(@Nullable String respyMgmtTeamType, @Nullable String respyMgmtTeamCategory, @Nullable TeamCategories to_TeamCategory, List<TeamTypeTexts> to_TeamTypeTexts)
public void setRespyMgmtTeamType(@Nullable String respyMgmtTeamType)
Original property name from the Odata EDM: RespyMgmtTeamType
respyMgmtTeamType
- Team Typepublic void setRespyMgmtTeamCategory(@Nullable String respyMgmtTeamCategory)
Original property name from the Odata EDM: RespyMgmtTeamCategory
respyMgmtTeamCategory
- Custom Team Categoryprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<TeamTypes>
@Nonnull protected ODataEntityKey getKey()
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<TeamTypes>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<TeamTypes>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<TeamTypes>
@Nonnull public io.vavr.control.Option<TeamCategories> getTeamCategoryIfPresent()
If the navigation property for an entity TeamTypes 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 setTeamCategory(TeamCategories value)
value
- New TeamCategories entity.@Nonnull public io.vavr.control.Option<List<TeamTypeTexts>> getTeamTypeTextsIfPresent()
If the navigation property for an entity TeamTypes 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 setTeamTypeTexts(@Nonnull List<TeamTypeTexts> value)
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.
value
- List of TeamTypeTexts entities.public void addTeamTypeTexts(TeamTypeTexts... entity)
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.
entity
- Array of TeamTypeTexts entities.@Nonnull public static TeamTypes.TeamTypesBuilder builder()
@Nullable public String getRespyMgmtTeamType()
Original property name from the Odata EDM: RespyMgmtTeamType
@Nullable public String getRespyMgmtTeamCategory()
Original property name from the Odata EDM: RespyMgmtTeamCategory
public String getOdataType()
getOdataType
in class VdmObject<TeamTypes>
Copyright © 2021 SAP SE. All rights reserved.