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> |
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> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static ProjectField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer 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_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> |
PROJ_ACCOUNTANT_COMP_CODE
Use with available fluent helpers to apply the ProjAccountantCompCode field to query operations.
|
static ProjectField<String> |
PROJ_ACCOUNTANT_EXT_ID
Use with available fluent helpers to apply the ProjAccountantExtId field to query operations.
|
static ProjectField<String> |
PROJ_CONTROLLER_COMP_CODE
Use with available fluent helpers to apply the ProjControllerCompCode field to query operations.
|
static ProjectField<String> |
PROJ_CONTROLLER_EXT_ID
Use with available fluent helpers to apply the ProjControllerExtId field to query operations.
|
static ProjectField<String> |
PROJ_MANAGER_COMP_CODE
Use with available fluent helpers to apply the ProjManagerCompCode field to query operations.
|
static ProjectField<String> |
PROJ_MANAGER_EXT_ID
Use with available fluent helpers to apply the ProjManagerExtId field to query operations.
|
static ProjectField<String> |
PROJ_PARTNER_COMP_CODE
Use with available fluent helpers to apply the ProjPartnerCompCode field to query operations.
|
static ProjectField<String> |
PROJ_PARTNER_EXT_ID
Use with available fluent helpers to apply the ProjPartnerExtId 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_DESC
Use with available fluent helpers to apply the ProjectDesc 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<Calendar> |
START_DATE
Use with available fluent helpers to apply the StartDate field to query operations.
|
static ProjectLink<WorkPackage> |
TO_WORK_PACKAGE_SET
Use with available fluent helpers to apply the WorkPackageSet navigation property to query operations.
|
Constructor and Description |
---|
Project() |
Project(String projectDesc,
String projManagerCompCode,
String projAccountantCompCode,
String projectID,
String projControllerCompCode,
String projManagerExtId,
String projectName,
String projPartnerCompCode,
String projAccountantExtId,
String projectStage,
String projControllerExtId,
String projPartnerExtId,
Calendar startDate,
Calendar endDate,
String customer,
String costCenter,
String profitCenter,
String projectCategory,
String currency,
String orgID,
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 |
getConfidential()
Constraints: Not nullable, Maximum length: 1
|
String |
getCostCenter()
Constraints: Not nullable, Maximum length: 20
|
String |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
String |
getCustomer()
Constraints: Not nullable, Maximum length: 10
|
Calendar |
getEndDate()
Constraints: Not nullable, Precision: 7
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getOrgID()
Constraints: Not nullable, Maximum length: 5
|
String |
getProfitCenter()
Constraints: Not nullable, Maximum length: 10
|
String |
getProjAccountantCompCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getProjAccountantExtId()
Constraints: Not nullable, Maximum length: 38
|
String |
getProjControllerCompCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getProjControllerExtId()
Constraints: Not nullable, Maximum length: 38
|
String |
getProjectCategory()
Constraints: Not nullable, Maximum length: 1
|
String |
getProjectDesc()
Constraints: none
|
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 |
getProjManagerCompCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getProjManagerExtId()
Constraints: Not nullable, Maximum length: 38
|
String |
getProjPartnerCompCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getProjPartnerExtId()
Constraints: Not nullable, Maximum length: 38
|
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 |
setConfidential(String confidential)
Constraints: Not nullable, Maximum length: 1
|
void |
setCostCenter(String costCenter)
Constraints: Not nullable, Maximum length: 20
|
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
void |
setCustomer(String customer)
Constraints: Not nullable, Maximum length: 10
|
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 |
setOrgID(String orgID)
Constraints: Not nullable, Maximum length: 5
|
void |
setProfitCenter(String profitCenter)
Constraints: Not nullable, Maximum length: 10
|
void |
setProjAccountantCompCode(String projAccountantCompCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setProjAccountantExtId(String projAccountantExtId)
Constraints: Not nullable, Maximum length: 38
|
void |
setProjControllerCompCode(String projControllerCompCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setProjControllerExtId(String projControllerExtId)
Constraints: Not nullable, Maximum length: 38
|
void |
setProjectCategory(String projectCategory)
Constraints: Not nullable, Maximum length: 1
|
void |
setProjectDesc(String projectDesc)
Constraints: none
|
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 |
setProjManagerCompCode(String projManagerCompCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setProjManagerExtId(String projManagerExtId)
Constraints: Not nullable, Maximum length: 38
|
void |
setProjPartnerCompCode(String projPartnerCompCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setProjPartnerExtId(String projPartnerExtId)
Constraints: Not nullable, Maximum length: 38
|
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> PROJECT_DESC
public static final ProjectField<String> PROJ_MANAGER_COMP_CODE
public static final ProjectField<String> PROJ_ACCOUNTANT_COMP_CODE
public static final ProjectField<String> PROJECT_ID
public static final ProjectField<String> PROJ_CONTROLLER_COMP_CODE
public static final ProjectField<String> PROJ_MANAGER_EXT_ID
public static final ProjectField<String> PROJECT_NAME
public static final ProjectField<String> PROJ_PARTNER_COMP_CODE
public static final ProjectField<String> PROJ_ACCOUNTANT_EXT_ID
public static final ProjectField<String> PROJECT_STAGE
public static final ProjectField<String> PROJ_CONTROLLER_EXT_ID
public static final ProjectField<String> PROJ_PARTNER_EXT_ID
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> COST_CENTER
public static final ProjectField<String> PROFIT_CENTER
public static final ProjectField<String> PROJECT_CATEGORY
public static final ProjectField<String> CURRENCY
public static final ProjectField<String> ORG_ID
public static final ProjectField<String> CONFIDENTIAL
public static final ProjectLink<WorkPackage> TO_WORK_PACKAGE_SET
@Generated(value="lombok") public Project()
@ConstructorProperties(value={"projectDesc","projManagerCompCode","projAccountantCompCode","projectID","projControllerCompCode","projManagerExtId","projectName","projPartnerCompCode","projAccountantExtId","projectStage","projControllerExtId","projPartnerExtId","startDate","endDate","customer","costCenter","profitCenter","projectCategory","currency","orgID","confidential","erpConfigContext","toWorkPackageSet"}) @Generated(value="lombok") public Project(@Nullable String projectDesc, @Nullable String projManagerCompCode, @Nullable String projAccountantCompCode, @Nullable String projectID, @Nullable String projControllerCompCode, @Nullable String projManagerExtId, @Nullable String projectName, @Nullable String projPartnerCompCode, @Nullable String projAccountantExtId, @Nullable String projectStage, @Nullable String projControllerExtId, @Nullable String projPartnerExtId, @Nullable Calendar startDate, @Nullable Calendar endDate, @Nullable String customer, @Nullable String costCenter, @Nullable String profitCenter, @Nullable String projectCategory, @Nullable String currency, @Nullable String orgID, @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 getProjectDesc()
@Nullable @Generated(value="lombok") public String getProjManagerCompCode()
@Nullable @Generated(value="lombok") public String getProjAccountantCompCode()
@Nullable @Generated(value="lombok") public String getProjectID()
@Nullable @Generated(value="lombok") public String getProjControllerCompCode()
@Nullable @Generated(value="lombok") public String getProjManagerExtId()
@Nullable @Generated(value="lombok") public String getProjectName()
@Nullable @Generated(value="lombok") public String getProjPartnerCompCode()
@Nullable @Generated(value="lombok") public String getProjAccountantExtId()
@Nullable @Generated(value="lombok") public String getProjectStage()
@Nullable @Generated(value="lombok") public String getProjControllerExtId()
@Nullable @Generated(value="lombok") public String getProjPartnerExtId()
@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 getCostCenter()
@Nullable @Generated(value="lombok") public String getProfitCenter()
@Nullable @Generated(value="lombok") public String getProjectCategory()
@Nullable @Generated(value="lombok") public String getCurrency()
@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 getConfidential()
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setProjectDesc(@Nullable String projectDesc)
projectDesc
- @Generated(value="lombok") public void setProjManagerCompCode(@Nullable String projManagerCompCode)
projManagerCompCode
- @Generated(value="lombok") public void setProjAccountantCompCode(@Nullable String projAccountantCompCode)
projAccountantCompCode
- @Generated(value="lombok") public void setProjectID(@Nullable String projectID)
projectID
- @Generated(value="lombok") public void setProjControllerCompCode(@Nullable String projControllerCompCode)
projControllerCompCode
- @Generated(value="lombok") public void setProjManagerExtId(@Nullable String projManagerExtId)
projManagerExtId
- @Generated(value="lombok") public void setProjectName(@Nullable String projectName)
projectName
- @Generated(value="lombok") public void setProjPartnerCompCode(@Nullable String projPartnerCompCode)
projPartnerCompCode
- @Generated(value="lombok") public void setProjAccountantExtId(@Nullable String projAccountantExtId)
projAccountantExtId
- @Generated(value="lombok") public void setProjectStage(@Nullable String projectStage)
projectStage
- @Generated(value="lombok") public void setProjControllerExtId(@Nullable String projControllerExtId)
projControllerExtId
- @Generated(value="lombok") public void setProjPartnerExtId(@Nullable String projPartnerExtId)
projPartnerExtId
- @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 setCostCenter(@Nullable String costCenter)
costCenter
- @Generated(value="lombok") public void setProfitCenter(@Nullable String profitCenter)
profitCenter
- @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 setOrgID(@Nullable String orgID)
This field links master project data with the company code and plant.
orgID
- @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.