Modifier and Type | Class and Description |
---|---|
static class |
Project.ProjectBuilder |
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<Calendar> |
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<Calendar> |
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> |
STAGE_DESC
Use with available fluent helpers to apply the StageDesc field to query operations.
|
static ProjectField<Calendar> |
START_DATE
Use with available fluent helpers to apply the StartDate field to query operations.
|
static ProjectLink<Workpackage> |
TO_WORKPACKAGE_SET
Use with available fluent helpers to apply the WorkpackageSet navigation property to query operations.
|
Constructor and Description |
---|
Project() |
Project(String changedBy,
String profitCenter,
Calendar changedOn,
String profitCenterName,
String projectID,
String projectName,
String projectStage,
String stageDesc,
Calendar startDate,
Calendar 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,
ErpConfigContext erpConfigContext,
List<Workpackage> toWorkpackageSet) |
Modifier and Type | Method and Description |
---|---|
void |
addWorkpackageSet(Workpackage... entity)
Adds elements to the list of associated Workpackage entities.
|
static Project.ProjectBuilder |
builder() |
boolean |
equals(Object o) |
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.
|
String |
getChangedBy()
Constraints: Not nullable, Maximum length: 12
|
Calendar |
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
|
Calendar |
getEndDate()
Constraints: Not nullable, Precision: 7
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
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
|
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 |
getStageDesc()
Constraints: Not nullable, Maximum length: 40
|
Calendar |
getStartDate()
Constraints: Not nullable, Precision: 7
|
Class<Project> |
getType() |
List<Workpackage> |
getWorkpackageSetOrFetch()
Retrieval of associated Workpackage entities (one to many).
|
com.google.common.base.Optional<List<Workpackage>> |
getWorkpackageSetOrNull()
Retrieval of associated Workpackage entities (one to many).
|
int |
hashCode() |
void |
setChangedBy(String changedBy)
Constraints: Not nullable, Maximum length: 12
|
void |
setChangedOn(Calendar 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(Calendar endDate)
Constraints: Not nullable, Precision: 7
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
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 |
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 |
setStageDesc(String stageDesc)
Constraints: Not nullable, Maximum length: 40
|
void |
setStartDate(Calendar startDate)
Constraints: Not nullable, Precision: 7
|
void |
setWorkpackageSet(List<Workpackage> value)
Overwrites the list of associated Workpackage entities for the loaded navigation property WorkpackageSet.
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final ProjectSelectable ALL_FIELDS
public static final ProjectField<String> CHANGED_BY
public static final ProjectField<String> PROFIT_CENTER
public static final ProjectField<Calendar> 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<Calendar> START_DATE
public static final ProjectField<Calendar> 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<Workpackage> TO_WORKPACKAGE_SET
@Generated(value="lombok") public Project()
@ConstructorProperties(value={"changedBy","profitCenter","changedOn","profitCenterName","projectID","projectName","projectStage","stageDesc","startDate","endDate","customer","customerName","projManagerId","projManagerName","projAccountantId","projAccountantName","projControllerId","projControllerName","projPartnerId","projPartnerName","costCenter","costCenterName","projectCategory","currency","currencyname","orgID","orgDesc","confidential","erpConfigContext","toWorkpackageSet"}) @Generated(value="lombok") public Project(@Nullable String changedBy, @Nullable String profitCenter, @Nullable Calendar changedOn, @Nullable String profitCenterName, @Nullable String projectID, @Nullable String projectName, @Nullable String projectStage, @Nullable String stageDesc, @Nullable Calendar startDate, @Nullable Calendar 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, @Nullable ErpConfigContext erpConfigContext, List<Workpackage> toWorkpackageSet)
public static <T> ProjectField<T> field(String fieldName, Class<T> fieldType)
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.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.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.public com.google.common.base.Optional<List<Workpackage>> getWorkpackageSetOrNull()
If the navigation property WorkpackageSet for an entity Project has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
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.@Generated(value="lombok") public static Project.ProjectBuilder builder()
@Nullable @Generated(value="lombok") public String getChangedBy()
@Nullable @Generated(value="lombok") public String getProfitCenter()
@Nullable @Generated(value="lombok") public Calendar getChangedOn()
@Nullable @Generated(value="lombok") public String getProfitCenterName()
@Nullable @Generated(value="lombok") public String getProjectID()
@Nullable @Generated(value="lombok") public String getProjectName()
@Nullable @Generated(value="lombok") public String getProjectStage()
@Nullable @Generated(value="lombok") public String getStageDesc()
@Nullable @Generated(value="lombok") public Calendar getStartDate()
@Nullable @Generated(value="lombok") public Calendar getEndDate()
@Nullable @Generated(value="lombok") public String getCustomer()
@Nullable @Generated(value="lombok") public String getCustomerName()
@Nullable @Generated(value="lombok") public String getProjManagerId()
@Nullable @Generated(value="lombok") public String getProjManagerName()
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 @Generated(value="lombok") public String getProjAccountantId()
@Nullable @Generated(value="lombok") public String getProjAccountantName()
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 @Generated(value="lombok") public String getProjControllerId()
@Nullable @Generated(value="lombok") public String getProjControllerName()
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 @Generated(value="lombok") public String getProjPartnerId()
@Nullable @Generated(value="lombok") public String getProjPartnerName()
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 @Generated(value="lombok") public String getCostCenter()
@Nullable @Generated(value="lombok") public String getCostCenterName()
@Nullable @Generated(value="lombok") public String getProjectCategory()
@Nullable @Generated(value="lombok") public String getCurrency()
@Nullable @Generated(value="lombok") public String getCurrencyname()
@Nullable @Generated(value="lombok") public String getOrgID()
This field links master project data with the company code and plant.
@Nullable @Generated(value="lombok") public String getOrgDesc()
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 @Generated(value="lombok") public String getConfidential()
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setChangedBy(@Nullable String changedBy)
changedBy
- @Generated(value="lombok") public void setProfitCenter(@Nullable String profitCenter)
profitCenter
- @Generated(value="lombok") public void setChangedOn(@Nullable Calendar changedOn)
changedOn
- @Generated(value="lombok") public void setProfitCenterName(@Nullable String profitCenterName)
profitCenterName
- @Generated(value="lombok") public void setProjectID(@Nullable String projectID)
projectID
- @Generated(value="lombok") public void setProjectName(@Nullable String projectName)
projectName
- @Generated(value="lombok") public void setProjectStage(@Nullable String projectStage)
projectStage
- @Generated(value="lombok") public void setStageDesc(@Nullable String stageDesc)
stageDesc
- @Generated(value="lombok") public void setStartDate(@Nullable Calendar startDate)
startDate
- @Generated(value="lombok") public void setEndDate(@Nullable Calendar endDate)
endDate
- @Generated(value="lombok") public void setCustomer(@Nullable String customer)
customer
- @Generated(value="lombok") public void setCustomerName(@Nullable String customerName)
customerName
- @Generated(value="lombok") public void setProjManagerId(@Nullable String projManagerId)
projManagerId
- @Generated(value="lombok") public void setProjManagerName(@Nullable String 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
- @Generated(value="lombok") public void setProjAccountantId(@Nullable String projAccountantId)
projAccountantId
- @Generated(value="lombok") public void setProjAccountantName(@Nullable String 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
- @Generated(value="lombok") public void setProjControllerId(@Nullable String projControllerId)
projControllerId
- @Generated(value="lombok") public void setProjControllerName(@Nullable String 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
- @Generated(value="lombok") public void setProjPartnerId(@Nullable String projPartnerId)
projPartnerId
- @Generated(value="lombok") public void setProjPartnerName(@Nullable String 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
- @Generated(value="lombok") public void setCostCenter(@Nullable String costCenter)
costCenter
- @Generated(value="lombok") public void setCostCenterName(@Nullable String costCenterName)
costCenterName
- @Generated(value="lombok") public void setProjectCategory(@Nullable String projectCategory)
projectCategory
- @Generated(value="lombok") public void setCurrency(@Nullable String currency)
currency
- @Generated(value="lombok") public void setCurrencyname(@Nullable String currencyname)
currencyname
- @Generated(value="lombok") public void setOrgID(@Nullable String orgID)
This field links master project data with the company code and plant.
orgID
- @Generated(value="lombok") public void setOrgDesc(@Nullable String 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
- @Generated(value="lombok") public void setConfidential(@Nullable String confidential)
confidential
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
Copyright © 2018 SAP SE. All rights reserved.