public class EnterpriseProjectTeamMember extends VdmEntity<EnterpriseProjectTeamMember>
Original entity name from the Odata EDM: A_EnterpriseProjectTeamMemberType
Modifier and Type | Class and Description |
---|---|
static class |
EnterpriseProjectTeamMember.EnterpriseProjectTeamMemberBuilder
Helper class to allow for fluent creation of EnterpriseProjectTeamMember instances.
|
Modifier and Type | Field and Description |
---|---|
static EnterpriseProjectTeamMemberSelectable |
ALL_FIELDS
Selector for all available fields of EnterpriseProjectTeamMember.
|
static EnterpriseProjectTeamMemberField<UUID> |
BUSINESS_PARTNER_UUID
Use with available fluent helpers to apply the BusinessPartnerUUID field to query operations.
|
static EnterpriseProjectTeamMemberField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static EnterpriseProjectTeamMemberField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static EnterpriseProjectTeamMemberField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static EnterpriseProjectTeamMemberField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static EnterpriseProjectTeamMemberField<UUID> |
PROJECT_UUID
Use with available fluent helpers to apply the ProjectUUID field to query operations.
|
static EnterpriseProjectTeamMemberField<ZonedDateTime> |
PROJECTLASTCHANGEDDATETIME
Use with available fluent helpers to apply the PROJECTLASTCHANGEDDATETIME field to query operations.
|
static EnterpriseProjectTeamMemberField<UUID> |
TEAM_MEMBER_UUID
Use with available fluent helpers to apply the TeamMemberUUID field to query operations.
|
static EnterpriseProjectTeamMemberLink<EntTeamMemberEntitlement> |
TO_ENT_PROJ_ENTITLEMENT
Use with available fluent helpers to apply the to_EntProjEntitlement navigation property to query
operations.
|
static EnterpriseProjectTeamMemberOneToOneLink<EnterpriseProject> |
TO_ENTERPRISE_PROJECT
Use with available fluent helpers to apply the to_EnterpriseProject navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
EnterpriseProjectTeamMember() |
EnterpriseProjectTeamMember(UUID teamMemberUUID,
UUID businessPartnerUUID,
UUID projectUUID,
String createdByUser,
ZonedDateTime creationDateTime,
String lastChangedByUser,
ZonedDateTime lastChangeDateTime,
ZonedDateTime pROJECTLASTCHANGEDDATETIME,
EnterpriseProject toEnterpriseProject,
List<EntTeamMemberEntitlement> toEntProjEntitlement) |
Modifier and Type | Method and Description |
---|---|
void |
addEntProjEntitlement(EntTeamMemberEntitlement... entity)
Adds elements to the list of associated EntTeamMemberEntitlement entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static EnterpriseProjectTeamMember.EnterpriseProjectTeamMemberBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
EnterpriseProject |
fetchEnterpriseProject()
Fetches the EnterpriseProject entity (one to one) associated with this entity.
|
List<EntTeamMemberEntitlement> |
fetchEntProjEntitlement()
Fetches the EntTeamMemberEntitlement entities (one to many) associated with this entity.
|
static <T> EnterpriseProjectTeamMemberField<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) |
UUID |
getBusinessPartnerUUID()
Constraints: none
|
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.
|
io.vavr.control.Option<List<EntTeamMemberEntitlement>> |
getEntProjEntitlementIfPresent()
Retrieval of associated EntTeamMemberEntitlement entities (one to many).
|
List<EntTeamMemberEntitlement> |
getEntProjEntitlementOrFetch()
Retrieval of associated EntTeamMemberEntitlement entities (one to many).
|
protected Map<String,Object> |
getKey() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getPROJECTLASTCHANGEDDATETIME()
Constraints: Not nullable, Precision: 0
|
UUID |
getProjectUUID()
Constraints: none
|
UUID |
getTeamMemberUUID()
(Key Field) Constraints: Not nullable
|
Class<EnterpriseProjectTeamMember> |
getType() |
int |
hashCode() |
void |
setBusinessPartnerUUID(UUID businessPartnerUUID)
Constraints: none
|
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 |
setEntProjEntitlement(List<EntTeamMemberEntitlement> value)
Overwrites the list of associated EntTeamMemberEntitlement entities for the loaded navigation property
to_EntProjEntitlement.
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setPROJECTLASTCHANGEDDATETIME(ZonedDateTime pROJECTLASTCHANGEDDATETIME)
Constraints: Not nullable, Precision: 0
|
void |
setProjectUUID(UUID projectUUID)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setTeamMemberUUID(UUID teamMemberUUID)
(Key Field) Constraints: Not nullable
|
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 EnterpriseProjectTeamMemberSelectable ALL_FIELDS
public static final EnterpriseProjectTeamMemberField<UUID> TEAM_MEMBER_UUID
public static final EnterpriseProjectTeamMemberField<UUID> BUSINESS_PARTNER_UUID
public static final EnterpriseProjectTeamMemberField<UUID> PROJECT_UUID
public static final EnterpriseProjectTeamMemberField<String> CREATED_BY_USER
public static final EnterpriseProjectTeamMemberField<ZonedDateTime> CREATION_DATE_TIME
public static final EnterpriseProjectTeamMemberField<String> LAST_CHANGED_BY_USER
public static final EnterpriseProjectTeamMemberField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final EnterpriseProjectTeamMemberField<ZonedDateTime> PROJECTLASTCHANGEDDATETIME
public static final EnterpriseProjectTeamMemberOneToOneLink<EnterpriseProject> TO_ENTERPRISE_PROJECT
public static final EnterpriseProjectTeamMemberLink<EntTeamMemberEntitlement> TO_ENT_PROJ_ENTITLEMENT
public EnterpriseProjectTeamMember()
public EnterpriseProjectTeamMember(@Nullable UUID teamMemberUUID, @Nullable UUID businessPartnerUUID, @Nullable UUID projectUUID, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable ZonedDateTime lastChangeDateTime, @Nullable ZonedDateTime pROJECTLASTCHANGEDDATETIME, @Nullable EnterpriseProject toEnterpriseProject, List<EntTeamMemberEntitlement> toEntProjEntitlement)
@Nonnull public Class<EnterpriseProjectTeamMember> getType()
getType
in class VdmObject<EnterpriseProjectTeamMember>
public void setTeamMemberUUID(@Nullable UUID teamMemberUUID)
Original property name from the Odata EDM: TeamMemberUUID
teamMemberUUID
- Entity Guidpublic void setBusinessPartnerUUID(@Nullable UUID businessPartnerUUID)
Original property name from the Odata EDM: BusinessPartnerUUID
businessPartnerUUID
- Business Partner GUIDpublic void setProjectUUID(@Nullable UUID projectUUID)
Original property name from the Odata EDM: ProjectUUID
projectUUID
- Entity Guidpublic 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<EnterpriseProjectTeamMember>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<EnterpriseProjectTeamMember>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<EnterpriseProjectTeamMember>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<EnterpriseProjectTeamMember>
@Nonnull public static <T> EnterpriseProjectTeamMemberField<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> EnterpriseProjectTeamMemberField<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<EnterpriseProjectTeamMember>
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<EnterpriseProjectTeamMember>
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<EnterpriseProjectTeamMember>
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<EnterpriseProjectTeamMember>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<EnterpriseProjectTeamMember>
@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 EnterpriseProjectTeamMember 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 EnterpriseProjectTeamMember 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.@Nonnull public List<EntTeamMemberEntitlement> fetchEntProjEntitlement() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
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 List<EntTeamMemberEntitlement> getEntProjEntitlementOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_EntProjEntitlement of a queried EnterpriseProjectTeamMember 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<List<EntTeamMemberEntitlement>> getEntProjEntitlementIfPresent()
If the navigation property for an entity EnterpriseProjectTeamMember 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 setEntProjEntitlement(@Nonnull List<EntTeamMemberEntitlement> value)
If the navigation property to_EntProjEntitlement of a queried EnterpriseProjectTeamMember 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 EntTeamMemberEntitlement entities.public void addEntProjEntitlement(EntTeamMemberEntitlement... entity)
If the navigation property to_EntProjEntitlement of a queried EnterpriseProjectTeamMember 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 EntTeamMemberEntitlement entities.@Nonnull public static EnterpriseProjectTeamMember.EnterpriseProjectTeamMemberBuilder builder()
@Nullable public UUID getTeamMemberUUID()
Original property name from the Odata EDM: TeamMemberUUID
@Nullable public UUID getBusinessPartnerUUID()
Original property name from the Odata EDM: BusinessPartnerUUID
@Nullable public UUID getProjectUUID()
Original property name from the Odata EDM: ProjectUUID
@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<EnterpriseProjectTeamMember>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<EnterpriseProjectTeamMember>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<EnterpriseProjectTeamMember>
public int hashCode()
hashCode
in class VdmObject<EnterpriseProjectTeamMember>
Copyright © 2021 SAP SE. All rights reserved.