public class EnterpriseProjectRole extends VdmEntity<EnterpriseProjectRole>
Original entity name from the Odata EDM: A_EnterpriseProjectRoleType
Modifier and Type | Class and Description |
---|---|
static class |
EnterpriseProjectRole.EnterpriseProjectRoleBuilder |
Modifier and Type | Field and Description |
---|---|
static EnterpriseProjectRoleSelectable |
ALL_FIELDS
Selector for all available fields of EnterpriseProjectRole.
|
static EnterpriseProjectRoleField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static EnterpriseProjectRoleField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static EnterpriseProjectRoleField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static EnterpriseProjectRoleField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static EnterpriseProjectRoleField<String> |
PROJECT_ROLE_CATEGORY
Use with available fluent helpers to apply the ProjectRoleCategory field to query operations.
|
static EnterpriseProjectRoleField<String> |
PROJECT_ROLE_NAME
Use with available fluent helpers to apply the ProjectRoleName field to query operations.
|
static EnterpriseProjectRoleField<String> |
PROJECT_ROLE_TYPE
Use with available fluent helpers to apply the ProjectRoleType field to query operations.
|
static EnterpriseProjectRoleField<UUID> |
PROJECT_ROLE_UUID
Use with available fluent helpers to apply the ProjectRoleUUID field to query operations.
|
static EnterpriseProjectRoleField<UUID> |
PROJECT_UUID
Use with available fluent helpers to apply the ProjectUUID field to query operations.
|
static EnterpriseProjectRoleField<ZonedDateTime> |
PROJECTLASTCHANGEDDATETIME
Use with available fluent helpers to apply the PROJECTLASTCHANGEDDATETIME field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
EnterpriseProjectRole() |
EnterpriseProjectRole(UUID projectRoleUUID,
UUID projectUUID,
String projectRoleType,
String projectRoleCategory,
String projectRoleName,
String createdByUser,
ZonedDateTime creationDateTime,
String lastChangedByUser,
ZonedDateTime lastChangeDateTime,
ZonedDateTime pROJECTLASTCHANGEDDATETIME) |
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 EnterpriseProjectRole.EnterpriseProjectRoleBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> EnterpriseProjectRoleField<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.
|
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
|
ZonedDateTime |
getPROJECTLASTCHANGEDDATETIME()
Constraints: Not nullable, Precision: 0
|
String |
getProjectRoleCategory()
Constraints: Not nullable, Maximum length: 3
|
String |
getProjectRoleName()
Constraints: Not nullable, Maximum length: 40
|
String |
getProjectRoleType()
Constraints: Not nullable, Maximum length: 15
|
UUID |
getProjectRoleUUID()
(Key Field) Constraints: Not nullable
|
UUID |
getProjectUUID()
Constraints: none
|
Class<EnterpriseProjectRole> |
getType() |
int |
hashCode() |
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 0
|
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 |
setProjectRoleCategory(String projectRoleCategory)
Constraints: Not nullable, Maximum length: 3
|
void |
setProjectRoleName(String projectRoleName)
Constraints: Not nullable, Maximum length: 40
|
void |
setProjectRoleType(String projectRoleType)
Constraints: Not nullable, Maximum length: 15
|
void |
setProjectRoleUUID(UUID projectRoleUUID)
(Key Field) Constraints: Not nullable
|
void |
setProjectUUID(UUID projectUUID)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final EnterpriseProjectRoleSelectable ALL_FIELDS
public static final EnterpriseProjectRoleField<UUID> PROJECT_ROLE_UUID
public static final EnterpriseProjectRoleField<UUID> PROJECT_UUID
public static final EnterpriseProjectRoleField<String> PROJECT_ROLE_TYPE
public static final EnterpriseProjectRoleField<String> PROJECT_ROLE_CATEGORY
public static final EnterpriseProjectRoleField<String> PROJECT_ROLE_NAME
public static final EnterpriseProjectRoleField<String> CREATED_BY_USER
public static final EnterpriseProjectRoleField<ZonedDateTime> CREATION_DATE_TIME
public static final EnterpriseProjectRoleField<String> LAST_CHANGED_BY_USER
public static final EnterpriseProjectRoleField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final EnterpriseProjectRoleField<ZonedDateTime> PROJECTLASTCHANGEDDATETIME
public EnterpriseProjectRole()
public EnterpriseProjectRole(@Nullable UUID projectRoleUUID, @Nullable UUID projectUUID, @Nullable String projectRoleType, @Nullable String projectRoleCategory, @Nullable String projectRoleName, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable ZonedDateTime lastChangeDateTime, @Nullable ZonedDateTime pROJECTLASTCHANGEDDATETIME)
@Nonnull public Class<EnterpriseProjectRole> getType()
getType
in class VdmObject<EnterpriseProjectRole>
public void setProjectRoleUUID(@Nullable UUID projectRoleUUID)
Original property name from the Odata EDM: ProjectRoleUUID
projectRoleUUID
- Role GUIDpublic void setProjectUUID(@Nullable UUID projectUUID)
Original property name from the Odata EDM: ProjectUUID
projectUUID
- Project GUIDpublic void setProjectRoleType(@Nullable String projectRoleType)
Original property name from the Odata EDM: ProjectRoleType
projectRoleType
- Role Typepublic void setProjectRoleCategory(@Nullable String projectRoleCategory)
Original property name from the Odata EDM: ProjectRoleCategory
projectRoleCategory
- Role Categorypublic void setProjectRoleName(@Nullable String projectRoleName)
Original property name from the Odata EDM: ProjectRoleName
projectRoleName
- Role Namepublic 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<EnterpriseProjectRole>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<EnterpriseProjectRole>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<EnterpriseProjectRole>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<EnterpriseProjectRole>
@Nonnull public static <T> EnterpriseProjectRoleField<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> EnterpriseProjectRoleField<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<EnterpriseProjectRole>
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<EnterpriseProjectRole>
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<EnterpriseProjectRole>
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<EnterpriseProjectRole>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static EnterpriseProjectRole.EnterpriseProjectRoleBuilder builder()
@Nullable public UUID getProjectRoleUUID()
Original property name from the Odata EDM: ProjectRoleUUID
@Nullable public UUID getProjectUUID()
Original property name from the Odata EDM: ProjectUUID
@Nullable public String getProjectRoleType()
Original property name from the Odata EDM: ProjectRoleType
@Nullable public String getProjectRoleCategory()
Original property name from the Odata EDM: ProjectRoleCategory
@Nullable public String getProjectRoleName()
Original property name from the Odata EDM: ProjectRoleName
@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<EnterpriseProjectRole>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<EnterpriseProjectRole>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<EnterpriseProjectRole>
public int hashCode()
hashCode
in class VdmObject<EnterpriseProjectRole>
Copyright © 2021 SAP SE. All rights reserved.