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