public class ProjectRole extends VdmEntity<ProjectRole>
Original entity name from the Odata EDM: ProjectRole
Modifier and Type | Class and Description |
---|---|
static class |
ProjectRole.ProjectRoleBuilder |
Modifier and Type | Field and Description |
---|---|
static ProjectRoleSelectable |
ALL_FIELDS
Selector for all available fields of ProjectRole.
|
static ProjectRoleField<String> |
BUSINESS_PARTNER_ID
Use with available fluent helpers to apply the BusinessPartnerID field to query operations.
|
static ProjectRoleField<String> |
BUSINESS_PARTNER_NAME
Use with available fluent helpers to apply the BusinessPartnerName field to query operations.
|
static ProjectRoleField<String> |
PROJECT_ID
Use with available fluent helpers to apply the ProjectID field to query operations.
|
static ProjectRoleField<String> |
PROJECT_ROLE_ID
Use with available fluent helpers to apply the ProjectRoleID field to query operations.
|
static ProjectRoleField<String> |
PROJECT_ROLE_NAME
Use with available fluent helpers to apply the ProjectRoleName field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProjectRole() |
ProjectRole(String projectID,
String projectRoleID,
String projectRoleName,
String businessPartnerID,
String businessPartnerName) |
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 ProjectRole.ProjectRoleBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProjectRoleField<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 |
getBusinessPartnerID()
Constraints: Not nullable, Maximum length: 10
|
String |
getBusinessPartnerName()
Constraints: Not nullable, Maximum length: 80
|
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() |
String |
getProjectID()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getProjectRoleID()
(Key Field) Constraints: Not nullable, Maximum length: 15
|
String |
getProjectRoleName()
Constraints: Not nullable, Maximum length: 40
|
Class<ProjectRole> |
getType() |
int |
hashCode() |
void |
setBusinessPartnerID(String businessPartnerID)
Constraints: Not nullable, Maximum length: 10
|
void |
setBusinessPartnerName(String businessPartnerName)
Constraints: Not nullable, Maximum length: 80
|
void |
setProjectID(String projectID)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setProjectRoleID(String projectRoleID)
(Key Field) Constraints: Not nullable, Maximum length: 15
|
void |
setProjectRoleName(String projectRoleName)
Constraints: Not nullable, Maximum length: 40
|
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 ProjectRoleSelectable ALL_FIELDS
public static final ProjectRoleField<String> PROJECT_ID
public static final ProjectRoleField<String> PROJECT_ROLE_ID
public static final ProjectRoleField<String> PROJECT_ROLE_NAME
public static final ProjectRoleField<String> BUSINESS_PARTNER_ID
public static final ProjectRoleField<String> BUSINESS_PARTNER_NAME
@Nonnull public Class<ProjectRole> getType()
getType
in class VdmObject<ProjectRole>
public void setProjectID(@Nullable String projectID)
Original property name from the Odata EDM: ProjectID
projectID
- Identifies a customer or internal project.public void setProjectRoleID(@Nullable String projectRoleID)
Original property name from the Odata EDM: ProjectRoleID
By assigning role types, you define the responsibilities within a project. You can then assign a business partner to a role type to specify the individual responsible for related tasks and activities.Key users can define role types for customer and internal projects using the Manage Your Solution app > Professional Services application area > Customer and Internal Project Management > Define Role Types.
projectRoleID
- Uniquely identifies a role type for assignment to a customer or internal project.public void setProjectRoleName(@Nullable String projectRoleName)
Original property name from the Odata EDM: ProjectRoleName
projectRoleName
- Role Description: Text Table of the Role Masterpublic void setBusinessPartnerID(@Nullable String businessPartnerID)
Original property name from the Odata EDM: BusinessPartnerID
businessPartnerID
- Key identifying a business partner in the SAP system. The key is unique within a client.public void setBusinessPartnerName(@Nullable String businessPartnerName)
Original property name from the Odata EDM: BusinessPartnerName
The complete name is generally generated and saved by the Business Address Services (BAS) according to country-specific rules from the individual name components (without the form of address).If, during the formatting of an address, you want to use an alternative name, you can manually format the alternative name here.
businessPartnerName
- States the complete name of a person.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProjectRole>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProjectRole>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProjectRole>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProjectRole>
@Nonnull public static <T> ProjectRoleField<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> ProjectRoleField<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<ProjectRole>
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<ProjectRole>
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<ProjectRole>
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<ProjectRole>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProjectRole.ProjectRoleBuilder builder()
@Nullable public String getProjectID()
Original property name from the Odata EDM: ProjectID
@Nullable public String getProjectRoleID()
Original property name from the Odata EDM: ProjectRoleID
By assigning role types, you define the responsibilities within a project. You can then assign a business partner to a role type to specify the individual responsible for related tasks and activities.Key users can define role types for customer and internal projects using the Manage Your Solution app > Professional Services application area > Customer and Internal Project Management > Define Role Types.
@Nullable public String getProjectRoleName()
Original property name from the Odata EDM: ProjectRoleName
@Nullable public String getBusinessPartnerID()
Original property name from the Odata EDM: BusinessPartnerID
@Nullable public String getBusinessPartnerName()
Original property name from the Odata EDM: BusinessPartnerName
The complete name is generally generated and saved by the Business Address Services (BAS) according to country-specific rules from the individual name components (without the form of address).If, during the formatting of an address, you want to use an alternative name, you can manually format the alternative name here.
@Nonnull public String toString()
toString
in class VdmObject<ProjectRole>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProjectRole>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProjectRole>
public int hashCode()
hashCode
in class VdmObject<ProjectRole>
Copyright © 2021 SAP SE. All rights reserved.