Modifier and Type | Class and Description |
---|---|
static class |
PlanData.PlanDataBuilder |
Modifier and Type | Field and Description |
---|---|
static PlanDataSelectable |
ALL_FIELDS
Selector for all available fields of PlanData.
|
static PlanDataField<String> |
BILLING_CONTROL_CATEGORY
Use with available fluent helpers to apply the BillingControlCategory field to query operations.
|
static PlanDataField<String> |
CONFIRMED
Use with available fluent helpers to apply the Confirmed field to query operations.
|
static PlanDataField<String> |
DELVRY_SERV_ORG
Use with available fluent helpers to apply the DelvryServOrg field to query operations.
|
static PlanDataField<String> |
DELVRY_SERV_ORG_T
Use with available fluent helpers to apply the DelvryServOrgT field to query operations.
|
static PlanDataField<BigDecimal> |
EFFORT
Use with available fluent helpers to apply the Effort field to query operations.
|
static PlanDataField<String> |
EMPLOYEE
Use with available fluent helpers to apply the Employee field to query operations.
|
static PlanDataField<String> |
EMPLOYEE_NAME
Use with available fluent helpers to apply the EmployeeName field to query operations.
|
static PlanDataField<String> |
FC_YEAR
Use with available fluent helpers to apply the FcYear field to query operations.
|
static PlanDataField<String> |
PERIOD
Use with available fluent helpers to apply the Period field to query operations.
|
static PlanDataField<String> |
PROJECT_ID
Use with available fluent helpers to apply the ProjectID field to query operations.
|
static PlanDataField<String> |
RES_TYPE
Use with available fluent helpers to apply the ResType field to query operations.
|
static PlanDataField<String> |
RES_TYPE_TEXT
Use with available fluent helpers to apply the ResTypeText field to query operations.
|
static PlanDataField<String> |
RESOURCE_ID
Use with available fluent helpers to apply the ResourceId field to query operations.
|
static PlanDataField<String> |
RESOURCE_TEXT
Use with available fluent helpers to apply the ResourceText field to query operations.
|
static PlanDataLink<StaffingData> |
TO_STAFF_DATA
Use with available fluent helpers to apply the ToStaffData navigation property to query operations.
|
static PlanDataField<String> |
UOM
Use with available fluent helpers to apply the Uom field to query operations.
|
static PlanDataField<String> |
VERSION
Use with available fluent helpers to apply the Version field to query operations.
|
static PlanDataField<String> |
WORK_PACKAGE_ID
Use with available fluent helpers to apply the WorkPackageID field to query operations.
|
static PlanDataField<String> |
WORKITEM_ID
Use with available fluent helpers to apply the WorkitemId field to query operations.
|
static PlanDataField<String> |
WORKITEM_NAME
Use with available fluent helpers to apply the WorkitemName field to query operations.
|
static PlanDataField<String> |
WPNAME
Use with available fluent helpers to apply the Wpname field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PlanData() |
PlanData(String billingControlCategory,
String employeeName,
String wpname,
String projectID,
String resType,
String workPackageID,
String resTypeText,
String resourceId,
String resourceText,
String uom,
String version,
String period,
String fcYear,
String employee,
String confirmed,
String workitemId,
String workitemName,
BigDecimal effort,
String delvryServOrg,
String delvryServOrgT,
ErpConfigContext erpConfigContext,
List<StaffingData> toStaffData) |
Modifier and Type | Method and Description |
---|---|
void |
addStaffData(StaffingData... entity)
Adds elements to the list of associated StaffingData entities.
|
static PlanData.PlanDataBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<StaffingData> |
fetchStaffData()
Fetches the StaffingData entities (one to many) associated with this entity.
|
static <T> PlanDataField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getBillingControlCategory()
Constraints: Not nullable, Maximum length: 60 Original property name from the Odata EDM: BillingControlCategorySeeTask-Oriented InstructionsReference Documentation for Semantic Properties of Domains
|
String |
getConfirmed()
(Key Field) Constraints: Not nullable, Maximum length: 1 Original property name from the Odata EDM: Confirmed
|
String |
getDelvryServOrg()
(Key Field) Constraints: Not nullable, Maximum length: 5 Original property name from the Odata EDM: DelvryServOrgThis field links master project data with the company code and plant.
|
String |
getDelvryServOrgT()
Constraints: noneOriginal property name from the Odata EDM: DelvryServOrgT
|
BigDecimal |
getEffort()
Constraints: Not nullable, Precision: 15, Scale: 3 Original property name from the Odata EDM: Effort
|
String |
getEmployee()
(Key Field) Constraints: Not nullable, Maximum length: 8 Original property name from the Odata EDM: EmployeeUse this field to apply an object ID to the new object(s) you create.
|
String |
getEmployeeName()
Constraints: noneOriginal property name from the Odata EDM: EmployeeName
|
protected String |
getEndpointUrl() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getFcYear()
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: FcYear
|
protected Map<String,Object> |
getKey() |
String |
getPeriod()
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: Period
|
String |
getProjectID()
(Key Field) Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: ProjectID
|
String |
getResourceId()
(Key Field) Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: ResourceIdResources correspond to individual entities in a project.
|
String |
getResourceText()
Constraints: noneOriginal property name from the Odata EDM: ResourceText
|
String |
getResType()
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: ResTypeResource types are used to categorize resources while carrying out financial planning activities.
|
String |
getResTypeText()
Constraints: noneOriginal property name from the Odata EDM: ResTypeText
|
Optional<List<StaffingData>> |
getStaffDataIfPresent()
Retrieval of associated StaffingData entities (one to many).
|
List<StaffingData> |
getStaffDataOrFetch()
Retrieval of associated StaffingData entities (one to many).
|
Class<PlanData> |
getType() |
String |
getUom()
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: Uom
|
String |
getVersion()
(Key Field) Constraints: Not nullable, Maximum length: 28 Original property name from the Odata EDM: Version
|
String |
getWorkitemId()
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: WorkitemId
|
String |
getWorkitemName()
Constraints: noneOriginal property name from the Odata EDM: WorkitemName
|
String |
getWorkPackageID()
(Key Field) Constraints: Not nullable, Maximum length: 50 Original property name from the Odata EDM: WorkPackageID
|
String |
getWpname()
Constraints: Not nullable, Maximum length: 60 Original property name from the Odata EDM: Wpname
|
int |
hashCode() |
void |
setBillingControlCategory(String billingControlCategory)
Constraints: Not nullable, Maximum length: 60 Original property name from the Odata EDM: BillingControlCategorySeeTask-Oriented InstructionsReference Documentation for Semantic Properties of Domains
|
void |
setConfirmed(String confirmed)
(Key Field) Constraints: Not nullable, Maximum length: 1 Original property name from the Odata EDM: Confirmed
|
void |
setDelvryServOrg(String delvryServOrg)
(Key Field) Constraints: Not nullable, Maximum length: 5 Original property name from the Odata EDM: DelvryServOrgThis field links master project data with the company code and plant.
|
void |
setDelvryServOrgT(String delvryServOrgT)
Constraints: noneOriginal property name from the Odata EDM: DelvryServOrgT
|
void |
setEffort(BigDecimal effort)
Constraints: Not nullable, Precision: 15, Scale: 3 Original property name from the Odata EDM: Effort
|
void |
setEmployee(String employee)
(Key Field) Constraints: Not nullable, Maximum length: 8 Original property name from the Odata EDM: EmployeeUse this field to apply an object ID to the new object(s) you create.
|
void |
setEmployeeName(String employeeName)
Constraints: noneOriginal property name from the Odata EDM: EmployeeName
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setFcYear(String fcYear)
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: FcYear
|
void |
setPeriod(String period)
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: Period
|
void |
setProjectID(String projectID)
(Key Field) Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: ProjectID
|
void |
setResourceId(String resourceId)
(Key Field) Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: ResourceIdResources correspond to individual entities in a project.
|
void |
setResourceText(String resourceText)
Constraints: noneOriginal property name from the Odata EDM: ResourceText
|
void |
setResType(String resType)
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: ResTypeResource types are used to categorize resources while carrying out financial planning activities.
|
void |
setResTypeText(String resTypeText)
Constraints: noneOriginal property name from the Odata EDM: ResTypeText
|
void |
setStaffData(List<StaffingData> value)
Overwrites the list of associated StaffingData entities for the loaded navigation property ToStaffData.
|
void |
setUom(String uom)
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: Uom
|
void |
setVersion(String version)
(Key Field) Constraints: Not nullable, Maximum length: 28 Original property name from the Odata EDM: Version
|
void |
setWorkitemId(String workitemId)
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: WorkitemId
|
void |
setWorkitemName(String workitemName)
Constraints: noneOriginal property name from the Odata EDM: WorkitemName
|
void |
setWorkPackageID(String workPackageID)
(Key Field) Constraints: Not nullable, Maximum length: 50 Original property name from the Odata EDM: WorkPackageID
|
void |
setWpname(String wpname)
Constraints: Not nullable, Maximum length: 60 Original property name from the Odata EDM: Wpname
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final PlanDataSelectable ALL_FIELDS
public static final PlanDataField<String> BILLING_CONTROL_CATEGORY
public static final PlanDataField<String> EMPLOYEE_NAME
public static final PlanDataField<String> WPNAME
public static final PlanDataField<String> PROJECT_ID
public static final PlanDataField<String> RES_TYPE
public static final PlanDataField<String> WORK_PACKAGE_ID
public static final PlanDataField<String> RES_TYPE_TEXT
public static final PlanDataField<String> RESOURCE_ID
public static final PlanDataField<String> RESOURCE_TEXT
public static final PlanDataField<String> UOM
public static final PlanDataField<String> VERSION
public static final PlanDataField<String> PERIOD
public static final PlanDataField<String> FC_YEAR
public static final PlanDataField<String> EMPLOYEE
public static final PlanDataField<String> CONFIRMED
public static final PlanDataField<String> WORKITEM_ID
public static final PlanDataField<String> WORKITEM_NAME
public static final PlanDataField<BigDecimal> EFFORT
public static final PlanDataField<String> DELVRY_SERV_ORG
public static final PlanDataField<String> DELVRY_SERV_ORG_T
public static final PlanDataLink<StaffingData> TO_STAFF_DATA
public PlanData()
public PlanData(@Nullable String billingControlCategory, @Nullable String employeeName, @Nullable String wpname, @Nullable String projectID, @Nullable String resType, @Nullable String workPackageID, @Nullable String resTypeText, @Nullable String resourceId, @Nullable String resourceText, @Nullable String uom, @Nullable String version, @Nullable String period, @Nullable String fcYear, @Nullable String employee, @Nullable String confirmed, @Nullable String workitemId, @Nullable String workitemName, @Nullable BigDecimal effort, @Nullable String delvryServOrg, @Nullable String delvryServOrgT, @Nullable ErpConfigContext erpConfigContext, List<StaffingData> toStaffData)
public void setBillingControlCategory(@Nullable String billingControlCategory)
Original property name from the Odata EDM: BillingControlCategory
SeeTask-Oriented InstructionsReference Documentation for Semantic Properties of Domains
billingControlCategory
- This text appears when fixed values are displayed in the F4 help. It explains the possible input values.public void setEmployeeName(@Nullable String employeeName)
Original property name from the Odata EDM: EmployeeName
employeeName
- Employee Namepublic void setWpname(@Nullable String wpname)
Original property name from the Odata EDM: Wpname
wpname
- Plan Item Descriptionpublic void setProjectID(@Nullable String projectID)
Original property name from the Odata EDM: ProjectID
projectID
- Identifies a master project.public void setResType(@Nullable String resType)
Original property name from the Odata EDM: ResType
Resource types are used to categorize resources while carrying out financial planning activities.
resType
- Used to uniquely identify the resource type.public void setWorkPackageID(@Nullable String workPackageID)
Original property name from the Odata EDM: WorkPackageID
workPackageID
- Plan Itempublic void setResTypeText(@Nullable String resTypeText)
Original property name from the Odata EDM: ResTypeText
resTypeText
- Resource Type Desc.public void setResourceId(@Nullable String resourceId)
Original property name from the Odata EDM: ResourceId
Resources correspond to individual entities in a project. You can assign multiple cost elements and activity types to each resource.
resourceId
- Used to uniquely identify a resource.public void setResourceText(@Nullable String resourceText)
Original property name from the Odata EDM: ResourceText
resourceText
- Resource Desc.public void setUom(@Nullable String uom)
Original property name from the Odata EDM: Uom
uom
- Unit, in which the corresponding quantity is measured.public void setVersion(@Nullable String version)
Original property name from the Odata EDM: Version
version
- A plan version is used to create different types of project estimates. Each version is associated with different version types that categorize versions into quote, baseline, current, and forecast.public void setPeriod(@Nullable String period)
Original property name from the Odata EDM: Period
period
- Settlement periodpublic void setFcYear(@Nullable String fcYear)
Original property name from the Odata EDM: FcYear
fcYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The fiscal year can be the same as the calendar year, but does not have to be.public void setEmployee(@Nullable String employee)
Original property name from the Odata EDM: Employee
Use this field to apply an object ID to the new object(s) you create. To do so, either enter:An exclamation mark (!). The system automatically applies a unique number to the object(s).A unique 8-digit number. You do this if you are working with a single object AND your enterprise uses its own numbering scheme ("external" numbers).
employee
- Contains a unique eight-digit numerical code that represents a specific object (for example, an organizational unit, qualification or business event).public void setConfirmed(@Nullable String confirmed)
Original property name from the Odata EDM: Confirmed
confirmed
- Confirmation of staffed Employeepublic void setWorkitemId(@Nullable String workitemId)
Original property name from the Odata EDM: WorkitemId
workitemId
- Work Item IDpublic void setWorkitemName(@Nullable String workitemName)
Original property name from the Odata EDM: WorkitemName
workitemName
- Work Item Desc.public void setEffort(@Nullable BigDecimal effort)
Original property name from the Odata EDM: Effort
effort
- Total quantity per period.public void setDelvryServOrg(@Nullable String delvryServOrg)
Original property name from the Odata EDM: DelvryServOrg
This field links master project data with the company code and plant.
delvryServOrg
- This field links master project data with the company code and plant.public void setDelvryServOrgT(@Nullable String delvryServOrgT)
Original property name from the Odata EDM: DelvryServOrgT
delvryServOrgT
- Delivery Org. Desc.protected String getEndpointUrl()
getEndpointUrl
in class VdmEntity<PlanData>
protected String getEntityCollection()
getEntityCollection
in class VdmEntity<PlanData>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PlanData>
public static <T> PlanDataField<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.protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<PlanData>
public List<StaffingData> fetchStaffData() 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<StaffingData> getStaffDataOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property ToStaffData of a queried PlanData 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 Optional<List<StaffingData>> getStaffDataIfPresent()
If the navigation property for an entity PlanData has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setStaffData(@Nonnull List<StaffingData> value)
If the navigation property ToStaffData of a queried PlanData 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 StaffingData entities.public void addStaffData(StaffingData... entity)
If the navigation property ToStaffData of a queried PlanData 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 StaffingData entities.public static PlanData.PlanDataBuilder builder()
@Nullable public String getBillingControlCategory()
Original property name from the Odata EDM: BillingControlCategory
SeeTask-Oriented InstructionsReference Documentation for Semantic Properties of Domains
@Nullable public String getEmployeeName()
Original property name from the Odata EDM: EmployeeName
@Nullable public String getWpname()
Original property name from the Odata EDM: Wpname
@Nullable public String getProjectID()
Original property name from the Odata EDM: ProjectID
@Nullable public String getResType()
Original property name from the Odata EDM: ResType
Resource types are used to categorize resources while carrying out financial planning activities.
@Nullable public String getWorkPackageID()
Original property name from the Odata EDM: WorkPackageID
@Nullable public String getResTypeText()
Original property name from the Odata EDM: ResTypeText
@Nullable public String getResourceId()
Original property name from the Odata EDM: ResourceId
Resources correspond to individual entities in a project. You can assign multiple cost elements and activity types to each resource.
@Nullable public String getResourceText()
Original property name from the Odata EDM: ResourceText
@Nullable public String getUom()
Original property name from the Odata EDM: Uom
@Nullable public String getVersion()
Original property name from the Odata EDM: Version
@Nullable public String getPeriod()
Original property name from the Odata EDM: Period
@Nullable public String getFcYear()
Original property name from the Odata EDM: FcYear
@Nullable public String getEmployee()
Original property name from the Odata EDM: Employee
Use this field to apply an object ID to the new object(s) you create. To do so, either enter:An exclamation mark (!). The system automatically applies a unique number to the object(s).A unique 8-digit number. You do this if you are working with a single object AND your enterprise uses its own numbering scheme ("external" numbers).
@Nullable public String getConfirmed()
Original property name from the Odata EDM: Confirmed
@Nullable public String getWorkitemId()
Original property name from the Odata EDM: WorkitemId
@Nullable public String getWorkitemName()
Original property name from the Odata EDM: WorkitemName
@Nullable public BigDecimal getEffort()
Original property name from the Odata EDM: Effort
@Nullable public String getDelvryServOrg()
Original property name from the Odata EDM: DelvryServOrg
This field links master project data with the company code and plant.
@Nullable public String getDelvryServOrgT()
Original property name from the Odata EDM: DelvryServOrgT
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<PlanData>
erpConfigContext
- Copyright © 2018 SAP SE. All rights reserved.