Modifier and Type | Class and Description |
---|---|
static class |
Project.ProjectBuilder
Helper class to allow for fluent creation of Project instances.
|
Modifier and Type | Field and Description |
---|---|
static ProjectSelectable |
ALL_FIELDS
Selector for all available fields of Project.
|
static ProjectField<String> |
CHANGED_BY
Use with available fluent helpers to apply the ChangedBy field to query operations.
|
static ProjectField<ZonedDateTime> |
CHANGED_ON
Use with available fluent helpers to apply the ChangedOn field to query operations.
|
static ProjectField<String> |
CONFIDENTIAL
Use with available fluent helpers to apply the Confidential field to query operations.
|
static ProjectField<String> |
COST_CENTER
Use with available fluent helpers to apply the CostCenter field to query operations.
|
static ProjectField<String> |
COST_CENTER_NAME
Use with available fluent helpers to apply the CostCenterName field to query operations.
|
static ProjectField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static ProjectField<String> |
CURRENCYNAME
Use with available fluent helpers to apply the Currencyname field to query operations.
|
static ProjectField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations.
|
static ProjectField<String> |
CUSTOMER_NAME
Use with available fluent helpers to apply the CustomerName field to query operations.
|
static ProjectField<LocalDateTime> |
END_DATE
Use with available fluent helpers to apply the EndDate field to query operations.
|
static ProjectField<String> |
ORG_DESC
Use with available fluent helpers to apply the OrgDesc field to query operations.
|
static ProjectField<String> |
ORG_ID
Use with available fluent helpers to apply the OrgID field to query operations.
|
static ProjectField<String> |
PROFIT_CENTER
Use with available fluent helpers to apply the ProfitCenter field to query operations.
|
static ProjectField<String> |
PROFIT_CENTER_NAME
Use with available fluent helpers to apply the ProfitCenterName field to query operations.
|
static ProjectField<String> |
PROJ_ACCOUNTANT_ID
Use with available fluent helpers to apply the ProjAccountantId field to query operations.
|
static ProjectField<String> |
PROJ_ACCOUNTANT_NAME
Use with available fluent helpers to apply the ProjAccountantName field to query operations.
|
static ProjectField<String> |
PROJ_CONTROLLER_ID
Use with available fluent helpers to apply the ProjControllerId field to query operations.
|
static ProjectField<String> |
PROJ_CONTROLLER_NAME
Use with available fluent helpers to apply the ProjControllerName field to query operations.
|
static ProjectField<String> |
PROJ_MANAGER_ID
Use with available fluent helpers to apply the ProjManagerId field to query operations.
|
static ProjectField<String> |
PROJ_MANAGER_NAME
Use with available fluent helpers to apply the ProjManagerName field to query operations.
|
static ProjectField<String> |
PROJ_PARTNER_ID
Use with available fluent helpers to apply the ProjPartnerId field to query operations.
|
static ProjectField<String> |
PROJ_PARTNER_NAME
Use with available fluent helpers to apply the ProjPartnerName field to query operations.
|
static ProjectField<String> |
PROJECT_CATEGORY
Use with available fluent helpers to apply the ProjectCategory field to query operations.
|
static ProjectField<String> |
PROJECT_ID
Use with available fluent helpers to apply the ProjectID field to query operations.
|
static ProjectField<String> |
PROJECT_NAME
Use with available fluent helpers to apply the ProjectName field to query operations.
|
static ProjectField<String> |
PROJECT_STAGE
Use with available fluent helpers to apply the ProjectStage field to query operations.
|
static ProjectField<String> |
RESTRICT_TIME_POSTING
Use with available fluent helpers to apply the RestrictTimePosting field to query operations.
|
static ProjectField<String> |
STAGE_DESC
Use with available fluent helpers to apply the StageDesc field to query operations.
|
static ProjectField<LocalDateTime> |
START_DATE
Use with available fluent helpers to apply the StartDate field to query operations.
|
static ProjectLink<ProjectRole> |
TO_PROJECT_ROLE_SET
Use with available fluent helpers to apply the ProjectRoleSet navigation property to query operations.
|
static ProjectLink<Workpackage> |
TO_WORKPACKAGE_SET
Use with available fluent helpers to apply the WorkpackageSet navigation property to query operations.
|
static ProjectField<String> |
USE_PROJECT_BILLING
Use with available fluent helpers to apply the UseProjectBilling field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
Project() |
Project(String changedBy,
String useProjectBilling,
String restrictTimePosting,
String profitCenter,
ZonedDateTime changedOn,
String profitCenterName,
String projectID,
String projectName,
String projectStage,
String stageDesc,
LocalDateTime startDate,
LocalDateTime endDate,
String customer,
String customerName,
String projManagerId,
String projManagerName,
String projAccountantId,
String projAccountantName,
String projControllerId,
String projControllerName,
String projPartnerId,
String projPartnerName,
String costCenter,
String costCenterName,
String projectCategory,
String currency,
String currencyname,
String orgID,
String orgDesc,
String confidential,
List<ProjectRole> toProjectRoleSet,
List<Workpackage> toWorkpackageSet) |
Modifier and Type | Method and Description |
---|---|
void |
addProjectRoleSet(ProjectRole... entity)
Adds elements to the list of associated ProjectRole entities.
|
void |
addWorkpackageSet(Workpackage... entity)
Adds elements to the list of associated Workpackage entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static Project.ProjectBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ProjectRole> |
fetchProjectRoleSet()
Fetches the ProjectRole entities (one to many) associated with this entity.
|
List<Workpackage> |
fetchWorkpackageSet()
Fetches the Workpackage entities (one to many) associated with this entity.
|
static <T> ProjectField<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 |
getChangedBy()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getChangedOn()
Constraints: Not nullable, Precision: 7
|
String |
getConfidential()
Constraints: Not nullable, Maximum length: 1
|
String |
getCostCenter()
Constraints: Not nullable, Maximum length: 10
|
String |
getCostCenterName()
Constraints: Not nullable, Maximum length: 20
|
String |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
String |
getCurrencyname()
Constraints: Not nullable, Maximum length: 40
|
String |
getCustomer()
Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerName()
Constraints: Not nullable, Maximum length: 166
|
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.
|
LocalDateTime |
getEndDate()
Constraints: Not nullable, Precision: 7
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
String |
getOrgDesc()
Constraints: Not nullable, Maximum length: 40
|
String |
getOrgID()
Constraints: Not nullable, Maximum length: 5
|
String |
getProfitCenter()
Constraints: Not nullable, Maximum length: 10
|
String |
getProfitCenterName()
Constraints: Not nullable, Maximum length: 20
|
String |
getProjAccountantId()
Constraints: Not nullable, Maximum length: 8
|
String |
getProjAccountantName()
Constraints: Not nullable, Maximum length: 80
|
String |
getProjControllerId()
Constraints: Not nullable, Maximum length: 8
|
String |
getProjControllerName()
Constraints: Not nullable, Maximum length: 80
|
String |
getProjectCategory()
Constraints: Not nullable, Maximum length: 1
|
String |
getProjectID()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getProjectName()
Constraints: Not nullable, Maximum length: 40
|
io.vavr.control.Option<List<ProjectRole>> |
getProjectRoleSetIfPresent()
Retrieval of associated ProjectRole entities (one to many).
|
List<ProjectRole> |
getProjectRoleSetOrFetch()
Retrieval of associated ProjectRole entities (one to many).
|
String |
getProjectStage()
Constraints: Not nullable, Maximum length: 4
|
String |
getProjManagerId()
Constraints: Not nullable, Maximum length: 8
|
String |
getProjManagerName()
Constraints: Not nullable, Maximum length: 80
|
String |
getProjPartnerId()
Constraints: Not nullable, Maximum length: 8
|
String |
getProjPartnerName()
Constraints: Not nullable, Maximum length: 80
|
String |
getRestrictTimePosting()
Constraints: Not nullable, Maximum length: 1
|
String |
getStageDesc()
Constraints: Not nullable, Maximum length: 40
|
LocalDateTime |
getStartDate()
Constraints: Not nullable, Precision: 7
|
Class<Project> |
getType() |
String |
getUseProjectBilling()
Constraints: Not nullable, Maximum length: 1
|
io.vavr.control.Option<List<Workpackage>> |
getWorkpackageSetIfPresent()
Retrieval of associated Workpackage entities (one to many).
|
List<Workpackage> |
getWorkpackageSetOrFetch()
Retrieval of associated Workpackage entities (one to many).
|
int |
hashCode() |
void |
setChangedBy(String changedBy)
Constraints: Not nullable, Maximum length: 12
|
void |
setChangedOn(ZonedDateTime changedOn)
Constraints: Not nullable, Precision: 7
|
void |
setConfidential(String confidential)
Constraints: Not nullable, Maximum length: 1
|
void |
setCostCenter(String costCenter)
Constraints: Not nullable, Maximum length: 10
|
void |
setCostCenterName(String costCenterName)
Constraints: Not nullable, Maximum length: 20
|
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
void |
setCurrencyname(String currencyname)
Constraints: Not nullable, Maximum length: 40
|
void |
setCustomer(String customer)
Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerName(String customerName)
Constraints: Not nullable, Maximum length: 166
|
void |
setEndDate(LocalDateTime endDate)
Constraints: Not nullable, Precision: 7
|
void |
setOrgDesc(String orgDesc)
Constraints: Not nullable, Maximum length: 40
|
void |
setOrgID(String orgID)
Constraints: Not nullable, Maximum length: 5
|
void |
setProfitCenter(String profitCenter)
Constraints: Not nullable, Maximum length: 10
|
void |
setProfitCenterName(String profitCenterName)
Constraints: Not nullable, Maximum length: 20
|
void |
setProjAccountantId(String projAccountantId)
Constraints: Not nullable, Maximum length: 8
|
void |
setProjAccountantName(String projAccountantName)
Constraints: Not nullable, Maximum length: 80
|
void |
setProjControllerId(String projControllerId)
Constraints: Not nullable, Maximum length: 8
|
void |
setProjControllerName(String projControllerName)
Constraints: Not nullable, Maximum length: 80
|
void |
setProjectCategory(String projectCategory)
Constraints: Not nullable, Maximum length: 1
|
void |
setProjectID(String projectID)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setProjectName(String projectName)
Constraints: Not nullable, Maximum length: 40
|
void |
setProjectRoleSet(List<ProjectRole> value)
Overwrites the list of associated ProjectRole entities for the loaded navigation property
ProjectRoleSet.
|
void |
setProjectStage(String projectStage)
Constraints: Not nullable, Maximum length: 4
|
void |
setProjManagerId(String projManagerId)
Constraints: Not nullable, Maximum length: 8
|
void |
setProjManagerName(String projManagerName)
Constraints: Not nullable, Maximum length: 80
|
void |
setProjPartnerId(String projPartnerId)
Constraints: Not nullable, Maximum length: 8
|
void |
setProjPartnerName(String projPartnerName)
Constraints: Not nullable, Maximum length: 80
|
void |
setRestrictTimePosting(String restrictTimePosting)
Constraints: Not nullable, Maximum length: 1
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setStageDesc(String stageDesc)
Constraints: Not nullable, Maximum length: 40
|
void |
setStartDate(LocalDateTime startDate)
Constraints: Not nullable, Precision: 7
|
void |
setUseProjectBilling(String useProjectBilling)
Constraints: Not nullable, Maximum length: 1
|
void |
setWorkpackageSet(List<Workpackage> value)
Overwrites the list of associated Workpackage entities for the loaded navigation property
WorkpackageSet.
|
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 ProjectSelectable ALL_FIELDS
public static final ProjectField<String> CHANGED_BY
public static final ProjectField<String> USE_PROJECT_BILLING
public static final ProjectField<String> RESTRICT_TIME_POSTING
public static final ProjectField<String> PROFIT_CENTER
public static final ProjectField<ZonedDateTime> CHANGED_ON
public static final ProjectField<String> PROFIT_CENTER_NAME
public static final ProjectField<String> PROJECT_ID
public static final ProjectField<String> PROJECT_NAME
public static final ProjectField<String> PROJECT_STAGE
public static final ProjectField<String> STAGE_DESC
public static final ProjectField<LocalDateTime> START_DATE
public static final ProjectField<LocalDateTime> END_DATE
public static final ProjectField<String> CUSTOMER
public static final ProjectField<String> CUSTOMER_NAME
public static final ProjectField<String> PROJ_MANAGER_ID
public static final ProjectField<String> PROJ_MANAGER_NAME
public static final ProjectField<String> PROJ_ACCOUNTANT_ID
public static final ProjectField<String> PROJ_ACCOUNTANT_NAME
public static final ProjectField<String> PROJ_CONTROLLER_ID
public static final ProjectField<String> PROJ_CONTROLLER_NAME
public static final ProjectField<String> PROJ_PARTNER_ID
public static final ProjectField<String> PROJ_PARTNER_NAME
public static final ProjectField<String> COST_CENTER
public static final ProjectField<String> COST_CENTER_NAME
public static final ProjectField<String> PROJECT_CATEGORY
public static final ProjectField<String> CURRENCY
public static final ProjectField<String> CURRENCYNAME
public static final ProjectField<String> ORG_ID
public static final ProjectField<String> ORG_DESC
public static final ProjectField<String> CONFIDENTIAL
public static final ProjectLink<ProjectRole> TO_PROJECT_ROLE_SET
public static final ProjectLink<Workpackage> TO_WORKPACKAGE_SET
public Project()
public Project(@Nullable String changedBy, @Nullable String useProjectBilling, @Nullable String restrictTimePosting, @Nullable String profitCenter, @Nullable ZonedDateTime changedOn, @Nullable String profitCenterName, @Nullable String projectID, @Nullable String projectName, @Nullable String projectStage, @Nullable String stageDesc, @Nullable LocalDateTime startDate, @Nullable LocalDateTime endDate, @Nullable String customer, @Nullable String customerName, @Nullable String projManagerId, @Nullable String projManagerName, @Nullable String projAccountantId, @Nullable String projAccountantName, @Nullable String projControllerId, @Nullable String projControllerName, @Nullable String projPartnerId, @Nullable String projPartnerName, @Nullable String costCenter, @Nullable String costCenterName, @Nullable String projectCategory, @Nullable String currency, @Nullable String currencyname, @Nullable String orgID, @Nullable String orgDesc, @Nullable String confidential, List<ProjectRole> toProjectRoleSet, List<Workpackage> toWorkpackageSet)
public void setChangedBy(@Nullable String changedBy)
Original property name from the Odata EDM: ChangedBy
changedBy
- Changed Bypublic void setUseProjectBilling(@Nullable String useProjectBilling)
Original property name from the Odata EDM: UseProjectBilling
useProjectBilling
- Project Invoicing Solutionpublic void setRestrictTimePosting(@Nullable String restrictTimePosting)
Original property name from the Odata EDM: RestrictTimePosting
You use this field to control time posting on customer or internal projects, using one of the following values:Y = Allow time posting only by staffed resourcesN = Allow time posting by any resource (both staffed and unstaffed)
restrictTimePosting
- Decide time recording on customer or internal projects by unstaffed resources.public void setProfitCenter(@Nullable String profitCenter)
Original property name from the Odata EDM: ProfitCenter
profitCenter
- Profit Centerpublic void setChangedOn(@Nullable ZonedDateTime changedOn)
Original property name from the Odata EDM: ChangedOn
changedOn
- Draft Last Changed Onpublic void setProfitCenterName(@Nullable String profitCenterName)
Original property name from the Odata EDM: ProfitCenterName
profitCenterName
- General description of the object.public void setProjectID(@Nullable String projectID)
Original property name from the Odata EDM: ProjectID
projectID
- Identifies a customer or internal project.public void setProjectName(@Nullable String projectName)
Original property name from the Odata EDM: ProjectName
projectName
- Customer Project Namepublic void setProjectStage(@Nullable String projectStage)
Original property name from the Odata EDM: ProjectStage
projectStage
- User-defined key for indicating stages in master projects.public void setStageDesc(@Nullable String stageDesc)
Original property name from the Odata EDM: StageDesc
stageDesc
- Master Project: Stage Descriptionpublic void setStartDate(@Nullable LocalDateTime startDate)
Original property name from the Odata EDM: StartDate
startDate
- Commercial Project: Start Datepublic void setEndDate(@Nullable LocalDateTime endDate)
Original property name from the Odata EDM: EndDate
endDate
- Commercial Project: End Datepublic void setCustomer(@Nullable String customer)
Original property name from the Odata EDM: Customer
customer
- Gives an alphanumeric key, which clearly identifies the customer or vendor in the SAP system.public void setCustomerName(@Nullable String customerName)
Original property name from the Odata EDM: CustomerName
customerName
- Customer Namepublic void setProjManagerId(@Nullable String projManagerId)
Original property name from the Odata EDM: ProjManagerId
projManagerId
- Data Element For Personal Numberpublic void setProjManagerName(@Nullable String projManagerName)
Original property name from the Odata EDM: ProjManagerName
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.
projManagerName
- States the complete name of a person.public void setProjAccountantId(@Nullable String projAccountantId)
Original property name from the Odata EDM: ProjAccountantId
projAccountantId
- Member IDpublic void setProjAccountantName(@Nullable String projAccountantName)
Original property name from the Odata EDM: ProjAccountantName
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.
projAccountantName
- States the complete name of a person.public void setProjControllerId(@Nullable String projControllerId)
Original property name from the Odata EDM: ProjControllerId
projControllerId
- Member IDpublic void setProjControllerName(@Nullable String projControllerName)
Original property name from the Odata EDM: ProjControllerName
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.
projControllerName
- States the complete name of a person.public void setProjPartnerId(@Nullable String projPartnerId)
Original property name from the Odata EDM: ProjPartnerId
projPartnerId
- Member IDpublic void setProjPartnerName(@Nullable String projPartnerName)
Original property name from the Odata EDM: ProjPartnerName
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.
projPartnerName
- States the complete name of a person.public void setCostCenter(@Nullable String costCenter)
Original property name from the Odata EDM: CostCenter
costCenter
- Organization Unit Keypublic void setCostCenterName(@Nullable String costCenterName)
Original property name from the Odata EDM: CostCenterName
costCenterName
- General description of the object.public void setProjectCategory(@Nullable String projectCategory)
Original property name from the Odata EDM: ProjectCategory
projectCategory
- Project Typepublic void setCurrency(@Nullable String currency)
Original property name from the Odata EDM: Currency
currency
- Currencypublic void setCurrencyname(@Nullable String currencyname)
Original property name from the Odata EDM: Currencyname
currencyname
- A text that describes the object to which it refers in greater detail.public void setOrgID(@Nullable String orgID)
Original property name from the Odata EDM: OrgID
This field links master project data with the company code and plant.
orgID
- This field links master project data with the company code and plant.public void setOrgDesc(@Nullable String orgDesc)
Original property name from the Odata EDM: OrgDesc
Organizations are linked to organizational units in ERP through Customizing, under SAP Commercial Project Management > Master Data > Master Project > Make Settings for Organization. The currency of the default organization is used for financial planning of costs and revenues in Project Cost and Revenue Planning (CA-CPD-FP).
orgDesc
- The high-level organization that is responsible for a master project.public void setConfidential(@Nullable String confidential)
Original property name from the Odata EDM: Confidential
confidential
- Select the checkbox to indicate that the details are confidential and can be viewed only by an
authorized user.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<Project>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<Project>
@Nonnull public static <T> ProjectField<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> ProjectField<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<Project>
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<Project>
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<Project>
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<Project>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<Project>
@Nonnull public List<ProjectRole> fetchProjectRoleSet() 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<ProjectRole> getProjectRoleSetOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property ProjectRoleSet of a queried Project 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<ProjectRole>> getProjectRoleSetIfPresent()
If the navigation property for an entity Project 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 setProjectRoleSet(@Nonnull List<ProjectRole> value)
If the navigation property ProjectRoleSet of a queried Project 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 ProjectRole entities.public void addProjectRoleSet(ProjectRole... entity)
If the navigation property ProjectRoleSet of a queried Project 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 ProjectRole entities.@Nonnull public List<Workpackage> fetchWorkpackageSet() 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<Workpackage> getWorkpackageSetOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property WorkpackageSet of a queried Project 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<Workpackage>> getWorkpackageSetIfPresent()
If the navigation property for an entity Project 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 setWorkpackageSet(@Nonnull List<Workpackage> value)
If the navigation property WorkpackageSet of a queried Project 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 Workpackage entities.public void addWorkpackageSet(Workpackage... entity)
If the navigation property WorkpackageSet of a queried Project 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 Workpackage entities.public static Project.ProjectBuilder builder()
@Nullable public String getChangedBy()
Original property name from the Odata EDM: ChangedBy
@Nullable public String getUseProjectBilling()
Original property name from the Odata EDM: UseProjectBilling
@Nullable public String getRestrictTimePosting()
Original property name from the Odata EDM: RestrictTimePosting
You use this field to control time posting on customer or internal projects, using one of the following values:Y = Allow time posting only by staffed resourcesN = Allow time posting by any resource (both staffed and unstaffed)
@Nullable public String getProfitCenter()
Original property name from the Odata EDM: ProfitCenter
@Nullable public ZonedDateTime getChangedOn()
Original property name from the Odata EDM: ChangedOn
@Nullable public String getProfitCenterName()
Original property name from the Odata EDM: ProfitCenterName
@Nullable public String getProjectID()
Original property name from the Odata EDM: ProjectID
@Nullable public String getProjectName()
Original property name from the Odata EDM: ProjectName
@Nullable public String getProjectStage()
Original property name from the Odata EDM: ProjectStage
@Nullable public String getStageDesc()
Original property name from the Odata EDM: StageDesc
@Nullable public LocalDateTime getStartDate()
Original property name from the Odata EDM: StartDate
@Nullable public LocalDateTime getEndDate()
Original property name from the Odata EDM: EndDate
@Nullable public String getCustomer()
Original property name from the Odata EDM: Customer
@Nullable public String getCustomerName()
Original property name from the Odata EDM: CustomerName
@Nullable public String getProjManagerId()
Original property name from the Odata EDM: ProjManagerId
@Nullable public String getProjManagerName()
Original property name from the Odata EDM: ProjManagerName
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.
@Nullable public String getProjAccountantId()
Original property name from the Odata EDM: ProjAccountantId
@Nullable public String getProjAccountantName()
Original property name from the Odata EDM: ProjAccountantName
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.
@Nullable public String getProjControllerId()
Original property name from the Odata EDM: ProjControllerId
@Nullable public String getProjControllerName()
Original property name from the Odata EDM: ProjControllerName
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.
@Nullable public String getProjPartnerId()
Original property name from the Odata EDM: ProjPartnerId
@Nullable public String getProjPartnerName()
Original property name from the Odata EDM: ProjPartnerName
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.
@Nullable public String getCostCenter()
Original property name from the Odata EDM: CostCenter
@Nullable public String getCostCenterName()
Original property name from the Odata EDM: CostCenterName
@Nullable public String getProjectCategory()
Original property name from the Odata EDM: ProjectCategory
@Nullable public String getCurrency()
Original property name from the Odata EDM: Currency
@Nullable public String getCurrencyname()
Original property name from the Odata EDM: Currencyname
@Nullable public String getOrgID()
Original property name from the Odata EDM: OrgID
This field links master project data with the company code and plant.
@Nullable public String getOrgDesc()
Original property name from the Odata EDM: OrgDesc
Organizations are linked to organizational units in ERP through Customizing, under SAP Commercial Project Management > Master Data > Master Project > Make Settings for Organization. The currency of the default organization is used for financial planning of costs and revenues in Project Cost and Revenue Planning (CA-CPD-FP).
@Nullable public String getConfidential()
Original property name from the Odata EDM: Confidential
Copyright © 2020 SAP SE. All rights reserved.