public class TeamCategoryRespyAttributes extends VdmEntity<TeamCategoryRespyAttributes>
Original entity name from the Odata EDM: TeamCategoryRespyAttributesType
Modifier and Type | Class and Description |
---|---|
static class |
TeamCategoryRespyAttributes.TeamCategoryRespyAttributesBuilder
Helper class to allow for fluent creation of TeamCategoryRespyAttributes instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<TeamCategoryRespyAttributes> |
ALL_FIELDS
Selector for all available fields of TeamCategoryRespyAttributes.
|
static SimpleProperty.String<TeamCategoryRespyAttributes> |
RESPY_MGMT_ATTRIBUTE_NAME |
static SimpleProperty.String<TeamCategoryRespyAttributes> |
RESPY_MGMT_TEAM_CATEGORY |
static NavigationProperty.Collection<TeamCategoryRespyAttributes,TeamCategoryRespyAttributeTxts> |
TO__RESPONSIBILITY_ATTRIBUTE_TEXTS
Use with available request builders to apply the _ResponsibilityAttributeTexts navigation property to
query operations.
|
static NavigationProperty.Single<TeamCategoryRespyAttributes,TeamCategories> |
TO__TEAM_CATEGORY
Use with available request builders to apply the _TeamCategory navigation property to query operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
TeamCategoryRespyAttributes() |
TeamCategoryRespyAttributes(String respyMgmtTeamCategory,
String respyMgmtAttributeName,
List<TeamCategoryRespyAttributeTxts> to_ResponsibilityAttributeTexts,
TeamCategories to_TeamCategory) |
Modifier and Type | Method and Description |
---|---|
void |
addResponsibilityAttributeTexts(TeamCategoryRespyAttributeTxts... entity)
Adds elements to the list of associated TeamCategoryRespyAttributeTxts entities.
|
static TeamCategoryRespyAttributes.TeamCategoryRespyAttributesBuilder |
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() |
io.vavr.control.Option<List<TeamCategoryRespyAttributeTxts>> |
getResponsibilityAttributeTextsIfPresent()
Retrieval of associated TeamCategoryRespyAttributeTxts entities (one to many).
|
String |
getRespyMgmtAttributeName()
(Key Field) Constraints: Not nullable, Maximum length: 30
|
String |
getRespyMgmtTeamCategory()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<TeamCategories> |
getTeamCategoryIfPresent()
Retrieval of associated TeamCategories entity (one to one).
|
Class<TeamCategoryRespyAttributes> |
getType() |
int |
hashCode() |
void |
setResponsibilityAttributeTexts(List<TeamCategoryRespyAttributeTxts> value)
Overwrites the list of associated TeamCategoryRespyAttributeTxts entities for the loaded navigation
property _ResponsibilityAttributeTexts.
|
void |
setRespyMgmtAttributeName(String respyMgmtAttributeName)
(Key Field) Constraints: Not nullable, Maximum length: 30
|
void |
setRespyMgmtTeamCategory(String respyMgmtTeamCategory)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setTeamCategory(TeamCategories value)
Overwrites the associated TeamCategories entity for the loaded navigation property _TeamCategory.
|
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<TeamCategoryRespyAttributes> ALL_FIELDS
public static final SimpleProperty.String<TeamCategoryRespyAttributes> RESPY_MGMT_TEAM_CATEGORY
public static final SimpleProperty.String<TeamCategoryRespyAttributes> RESPY_MGMT_ATTRIBUTE_NAME
public static final NavigationProperty.Collection<TeamCategoryRespyAttributes,TeamCategoryRespyAttributeTxts> TO__RESPONSIBILITY_ATTRIBUTE_TEXTS
public static final NavigationProperty.Single<TeamCategoryRespyAttributes,TeamCategories> TO__TEAM_CATEGORY
public TeamCategoryRespyAttributes()
public TeamCategoryRespyAttributes(@Nullable String respyMgmtTeamCategory, @Nullable String respyMgmtAttributeName, List<TeamCategoryRespyAttributeTxts> to_ResponsibilityAttributeTexts, @Nullable TeamCategories to_TeamCategory)
@Nonnull public Class<TeamCategoryRespyAttributes> getType()
getType
in class VdmObject<TeamCategoryRespyAttributes>
public void setRespyMgmtTeamCategory(@Nullable String respyMgmtTeamCategory)
Original property name from the Odata EDM: RespyMgmtTeamCategory
respyMgmtTeamCategory
- Team Categorypublic void setRespyMgmtAttributeName(@Nullable String respyMgmtAttributeName)
Original property name from the Odata EDM: RespyMgmtAttributeName
respyMgmtAttributeName
- Responsibility Definition Nameprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<TeamCategoryRespyAttributes>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<TeamCategoryRespyAttributes>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<TeamCategoryRespyAttributes>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<TeamCategoryRespyAttributes>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<TeamCategoryRespyAttributes>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<TeamCategoryRespyAttributes>
@Nonnull public io.vavr.control.Option<List<TeamCategoryRespyAttributeTxts>> getResponsibilityAttributeTextsIfPresent()
If the navigation property for an entity TeamCategoryRespyAttributes 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 setResponsibilityAttributeTexts(@Nonnull List<TeamCategoryRespyAttributeTxts> value)
If the navigation property _ResponsibilityAttributeTexts of a queried TeamCategoryRespyAttributes 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 TeamCategoryRespyAttributeTxts entities.public void addResponsibilityAttributeTexts(TeamCategoryRespyAttributeTxts... entity)
If the navigation property _ResponsibilityAttributeTexts of a queried TeamCategoryRespyAttributes 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 TeamCategoryRespyAttributeTxts entities.@Nonnull public io.vavr.control.Option<TeamCategories> getTeamCategoryIfPresent()
If the navigation property for an entity TeamCategoryRespyAttributes 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 static TeamCategoryRespyAttributes.TeamCategoryRespyAttributesBuilder builder()
@Nullable public String getRespyMgmtTeamCategory()
Original property name from the Odata EDM: RespyMgmtTeamCategory
@Nullable public String getRespyMgmtAttributeName()
Original property name from the Odata EDM: RespyMgmtAttributeName
@Nonnull public String toString()
toString
in class VdmObject<TeamCategoryRespyAttributes>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<TeamCategoryRespyAttributes>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<TeamCategoryRespyAttributes>
public int hashCode()
hashCode
in class VdmEntity<TeamCategoryRespyAttributes>
public String getOdataType()
getOdataType
in class VdmObject<TeamCategoryRespyAttributes>
Copyright © 2021 SAP SE. All rights reserved.