Class ProjectRole
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProjectRole>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialprojectdetail.ProjectRole
Project Roles
Original entity name from the Odata EDM: ProjectRole
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProjectRoleSelectableSelector for all available fields of ProjectRole.static final ProjectRoleField<String>Use with available fluent helpers to apply the BusinessPartnerID field to query operations.static final ProjectRoleField<String>Use with available fluent helpers to apply the BusinessPartnerName field to query operations.static final ProjectRoleField<String>Use with available fluent helpers to apply the ProjectID field to query operations.static final ProjectRoleField<String>Use with available fluent helpers to apply the ProjectRoleID field to query operations.static final ProjectRoleField<String>Use with available fluent helpers to apply the ProjectRoleName field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ProjectRoleField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProjectRoleField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 80protected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 15Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetBusinessPartnerID(String businessPartnerID) Constraints: Not nullable, Maximum length: 10voidsetBusinessPartnerName(String businessPartnerName) Constraints: Not nullable, Maximum length: 80voidsetProjectID(String projectID) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetProjectRoleID(String projectRoleID) (Key Field) Constraints: Not nullable, Maximum length: 15voidsetProjectRoleName(String projectRoleName) Constraints: Not nullable, Maximum length: 40protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProjectRole. -
PROJECT_ID
Use with available fluent helpers to apply the ProjectID field to query operations. -
PROJECT_ROLE_ID
Use with available fluent helpers to apply the ProjectRoleID field to query operations. -
PROJECT_ROLE_NAME
Use with available fluent helpers to apply the ProjectRoleName field to query operations. -
BUSINESS_PARTNER_ID
Use with available fluent helpers to apply the BusinessPartnerID field to query operations. -
BUSINESS_PARTNER_NAME
Use with available fluent helpers to apply the BusinessPartnerName field to query operations.
-
-
Constructor Details
-
ProjectRole
public ProjectRole() -
ProjectRole
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjectRole>
-
setProjectID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectID
- Parameters:
projectID- Project ID
-
setProjectRoleID
(Key Field) Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: ProjectRoleID
- Parameters:
projectRoleID- Project Role ID
-
setProjectRoleName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectRoleName
- Parameters:
projectRoleName- Project Role Name
-
setBusinessPartnerID
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartnerID
- Parameters:
businessPartnerID- Business Partner ID
-
setBusinessPartnerName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: BusinessPartnerName
- Parameters:
businessPartnerName- Business Partner Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjectRole>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjectRole>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjectRole>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjectRole>
-
field
@Nonnull public static <T> ProjectRoleField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> ProjectRoleField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<ProjectRole>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProjectRole>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProjectRole>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjectRole>
-
builder
-
getProjectID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectID
- Returns:
- Project ID
-
getProjectRoleID
(Key Field) Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: ProjectRoleID
- Returns:
- Project Role ID
-
getProjectRoleName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectRoleName
- Returns:
- Project Role Name
-
getBusinessPartnerID
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartnerID
- Returns:
- Business Partner ID
-
getBusinessPartnerName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: BusinessPartnerName
- Returns:
- Business Partner Name
-
toString
- Overrides:
toStringin classVdmObject<ProjectRole>
-
equals
- Overrides:
equalsin classVdmEntity<ProjectRole>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjectRole>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjectRole>
-