public class EntTeamMemberEntitlement extends VdmEntity<EntTeamMemberEntitlement>
Original entity name from the Odata EDM: A_EntTeamMemberEntitlementType
Modifier and Type | Class and Description |
---|---|
static class |
EntTeamMemberEntitlement.EntTeamMemberEntitlementBuilder
Helper class to allow for fluent creation of EntTeamMemberEntitlement instances.
|
Modifier and Type | Field and Description |
---|---|
static EntTeamMemberEntitlementSelectable |
ALL_FIELDS
Selector for all available fields of EntTeamMemberEntitlement.
|
static EntTeamMemberEntitlementField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static EntTeamMemberEntitlementField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static EntTeamMemberEntitlementField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static EntTeamMemberEntitlementField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static EntTeamMemberEntitlementField<UUID> |
PROJECT_ENTITLEMENT_UUID
Use with available fluent helpers to apply the ProjectEntitlementUUID field to query operations.
|
static EntTeamMemberEntitlementField<String> |
PROJECT_ROLE_TYPE
Use with available fluent helpers to apply the ProjectRoleType field to query operations.
|
static EntTeamMemberEntitlementField<UUID> |
PROJECT_ROLE_UUID
Use with available fluent helpers to apply the ProjectRoleUUID field to query operations.
|
static EntTeamMemberEntitlementField<UUID> |
PROJECT_UUID
Use with available fluent helpers to apply the ProjectUUID field to query operations.
|
static EntTeamMemberEntitlementField<ZonedDateTime> |
PROJECTLASTCHANGEDDATETIME
Use with available fluent helpers to apply the PROJECTLASTCHANGEDDATETIME field to query operations.
|
static EntTeamMemberEntitlementField<UUID> |
TEAM_MEMBER_UUID
Use with available fluent helpers to apply the TeamMemberUUID field to query operations.
|
static EntTeamMemberEntitlementOneToOneLink<EnterpriseProject> |
TO_ENTERPRISE_PROJECT
Use with available fluent helpers to apply the to_EnterpriseProject navigation property to query
operations.
|
static EntTeamMemberEntitlementOneToOneLink<EnterpriseProjectRole> |
TO_ROLE
Use with available fluent helpers to apply the to_Role navigation property to query operations.
|
static EntTeamMemberEntitlementOneToOneLink<EnterpriseProjectTeamMember> |
TO_TEAM_MEMBER
Use with available fluent helpers to apply the to_TeamMember navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
EntTeamMemberEntitlement() |
EntTeamMemberEntitlement(UUID projectEntitlementUUID,
UUID projectUUID,
UUID projectRoleUUID,
UUID teamMemberUUID,
String projectRoleType,
String createdByUser,
ZonedDateTime creationDateTime,
String lastChangedByUser,
ZonedDateTime lastChangeDateTime,
ZonedDateTime pROJECTLASTCHANGEDDATETIME,
EnterpriseProject toEnterpriseProject,
EnterpriseProjectRole toRole,
EnterpriseProjectTeamMember toTeamMember) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static EntTeamMemberEntitlement.EntTeamMemberEntitlementBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
EnterpriseProject |
fetchEnterpriseProject()
Fetches the EnterpriseProject entity (one to one) associated with this entity.
|
EnterpriseProjectRole |
fetchRole()
Fetches the EnterpriseProjectRole entity (one to one) associated with this entity.
|
EnterpriseProjectTeamMember |
fetchTeamMember()
Fetches the EnterpriseProjectTeamMember entity (one to one) associated with this entity.
|
static <T> EntTeamMemberEntitlementField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
io.vavr.control.Option<EnterpriseProject> |
getEnterpriseProjectIfPresent()
Retrieval of associated EnterpriseProject entity (one to one).
|
EnterpriseProject |
getEnterpriseProjectOrFetch()
Retrieval of associated EnterpriseProject entity (one to one).
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
UUID |
getProjectEntitlementUUID()
(Key Field) Constraints: Not nullable
|
ZonedDateTime |
getPROJECTLASTCHANGEDDATETIME()
Constraints: Not nullable, Precision: 0
|
String |
getProjectRoleType()
Constraints: Not nullable, Maximum length: 15
|
UUID |
getProjectRoleUUID()
Constraints: none
|
UUID |
getProjectUUID()
Constraints: none
|
io.vavr.control.Option<EnterpriseProjectRole> |
getRoleIfPresent()
Retrieval of associated EnterpriseProjectRole entity (one to one).
|
EnterpriseProjectRole |
getRoleOrFetch()
Retrieval of associated EnterpriseProjectRole entity (one to one).
|
io.vavr.control.Option<EnterpriseProjectTeamMember> |
getTeamMemberIfPresent()
Retrieval of associated EnterpriseProjectTeamMember entity (one to one).
|
EnterpriseProjectTeamMember |
getTeamMemberOrFetch()
Retrieval of associated EnterpriseProjectTeamMember entity (one to one).
|
UUID |
getTeamMemberUUID()
Constraints: none
|
Class<EntTeamMemberEntitlement> |
getType() |
int |
hashCode() |
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setEnterpriseProject(EnterpriseProject value)
Overwrites the associated EnterpriseProject entity for the loaded navigation property
to_EnterpriseProject.
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setProjectEntitlementUUID(UUID projectEntitlementUUID)
(Key Field) Constraints: Not nullable
|
void |
setPROJECTLASTCHANGEDDATETIME(ZonedDateTime pROJECTLASTCHANGEDDATETIME)
Constraints: Not nullable, Precision: 0
|
void |
setProjectRoleType(String projectRoleType)
Constraints: Not nullable, Maximum length: 15
|
void |
setProjectRoleUUID(UUID projectRoleUUID)
Constraints: none
|
void |
setProjectUUID(UUID projectUUID)
Constraints: none
|
void |
setRole(EnterpriseProjectRole value)
Overwrites the associated EnterpriseProjectRole entity for the loaded navigation property to_Role.
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setTeamMember(EnterpriseProjectTeamMember value)
Overwrites the associated EnterpriseProjectTeamMember entity for the loaded navigation property
to_TeamMember.
|
void |
setTeamMemberUUID(UUID teamMemberUUID)
Constraints: none
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final EntTeamMemberEntitlementSelectable ALL_FIELDS
public static final EntTeamMemberEntitlementField<UUID> PROJECT_ENTITLEMENT_UUID
public static final EntTeamMemberEntitlementField<UUID> PROJECT_UUID
public static final EntTeamMemberEntitlementField<UUID> PROJECT_ROLE_UUID
public static final EntTeamMemberEntitlementField<UUID> TEAM_MEMBER_UUID
public static final EntTeamMemberEntitlementField<String> PROJECT_ROLE_TYPE
public static final EntTeamMemberEntitlementField<String> CREATED_BY_USER
public static final EntTeamMemberEntitlementField<ZonedDateTime> CREATION_DATE_TIME
public static final EntTeamMemberEntitlementField<String> LAST_CHANGED_BY_USER
public static final EntTeamMemberEntitlementField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final EntTeamMemberEntitlementField<ZonedDateTime> PROJECTLASTCHANGEDDATETIME
public static final EntTeamMemberEntitlementOneToOneLink<EnterpriseProject> TO_ENTERPRISE_PROJECT
public static final EntTeamMemberEntitlementOneToOneLink<EnterpriseProjectRole> TO_ROLE
public static final EntTeamMemberEntitlementOneToOneLink<EnterpriseProjectTeamMember> TO_TEAM_MEMBER
public EntTeamMemberEntitlement()
public EntTeamMemberEntitlement(@Nullable UUID projectEntitlementUUID, @Nullable UUID projectUUID, @Nullable UUID projectRoleUUID, @Nullable UUID teamMemberUUID, @Nullable String projectRoleType, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable ZonedDateTime lastChangeDateTime, @Nullable ZonedDateTime pROJECTLASTCHANGEDDATETIME, @Nullable EnterpriseProject toEnterpriseProject, @Nullable EnterpriseProjectRole toRole, @Nullable EnterpriseProjectTeamMember toTeamMember)
@Nonnull public Class<EntTeamMemberEntitlement> getType()
getType
in class VdmObject<EntTeamMemberEntitlement>
public void setProjectEntitlementUUID(@Nullable UUID projectEntitlementUUID)
Original property name from the Odata EDM: ProjectEntitlementUUID
projectEntitlementUUID
- Entitlement Guidpublic void setProjectUUID(@Nullable UUID projectUUID)
Original property name from the Odata EDM: ProjectUUID
projectUUID
- Project GUIDpublic void setProjectRoleUUID(@Nullable UUID projectRoleUUID)
Original property name from the Odata EDM: ProjectRoleUUID
projectRoleUUID
- Role GUIDpublic void setTeamMemberUUID(@Nullable UUID teamMemberUUID)
Original property name from the Odata EDM: TeamMemberUUID
teamMemberUUID
- Team Member GUIDpublic void setProjectRoleType(@Nullable String projectRoleType)
Original property name from the Odata EDM: ProjectRoleType
projectRoleType
- Role Typepublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Name of Person Who Created Objectpublic void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
creationDateTime
- Timestamp of Object Creationpublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Name of Person Who Changed Objectpublic void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Timestamp of Last Object Changepublic void setPROJECTLASTCHANGEDDATETIME(@Nullable ZonedDateTime pROJECTLASTCHANGEDDATETIME)
Original property name from the Odata EDM: PROJECTLASTCHANGEDDATETIME
pROJECTLASTCHANGEDDATETIME
- Timestamp on which project data was changed lastprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<EntTeamMemberEntitlement>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<EntTeamMemberEntitlement>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<EntTeamMemberEntitlement>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<EntTeamMemberEntitlement>
@Nonnull public static <T> EntTeamMemberEntitlementField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> EntTeamMemberEntitlementField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<EntTeamMemberEntitlement>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<EntTeamMemberEntitlement>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<EntTeamMemberEntitlement>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<EntTeamMemberEntitlement>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<EntTeamMemberEntitlement>
@Nullable public EnterpriseProject fetchEnterpriseProject() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nullable public EnterpriseProject getEnterpriseProjectOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_EnterpriseProject of a queried EntTeamMemberEntitlement 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.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<EnterpriseProject> getEnterpriseProjectIfPresent()
If the navigation property for an entity EntTeamMemberEntitlement 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 setEnterpriseProject(EnterpriseProject value)
value
- New EnterpriseProject entity.@Nullable public EnterpriseProjectRole fetchRole() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nullable public EnterpriseProjectRole getRoleOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Role of a queried EntTeamMemberEntitlement 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.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<EnterpriseProjectRole> getRoleIfPresent()
If the navigation property for an entity EntTeamMemberEntitlement 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 setRole(EnterpriseProjectRole value)
value
- New EnterpriseProjectRole entity.@Nullable public EnterpriseProjectTeamMember fetchTeamMember() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nullable public EnterpriseProjectTeamMember getTeamMemberOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_TeamMember of a queried EntTeamMemberEntitlement 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.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<EnterpriseProjectTeamMember> getTeamMemberIfPresent()
If the navigation property for an entity EntTeamMemberEntitlement 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 setTeamMember(EnterpriseProjectTeamMember value)
value
- New EnterpriseProjectTeamMember entity.@Nonnull public static EntTeamMemberEntitlement.EntTeamMemberEntitlementBuilder builder()
@Nullable public UUID getProjectEntitlementUUID()
Original property name from the Odata EDM: ProjectEntitlementUUID
@Nullable public UUID getProjectUUID()
Original property name from the Odata EDM: ProjectUUID
@Nullable public UUID getProjectRoleUUID()
Original property name from the Odata EDM: ProjectRoleUUID
@Nullable public UUID getTeamMemberUUID()
Original property name from the Odata EDM: TeamMemberUUID
@Nullable public String getProjectRoleType()
Original property name from the Odata EDM: ProjectRoleType
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public ZonedDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public ZonedDateTime getPROJECTLASTCHANGEDDATETIME()
Original property name from the Odata EDM: PROJECTLASTCHANGEDDATETIME
@Nonnull public String toString()
toString
in class VdmObject<EntTeamMemberEntitlement>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<EntTeamMemberEntitlement>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<EntTeamMemberEntitlement>
public int hashCode()
hashCode
in class VdmObject<EntTeamMemberEntitlement>
Copyright © 2021 SAP SE. All rights reserved.