Class PlanData
Original entity name from the Odata EDM: PlanData
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PlanData instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PlanDataSelectableSelector for all available fields of PlanData.static final PlanDataField<String>Use with available fluent helpers to apply the BillingControlCategory field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the BillingControlCategoryID field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the Confirmed field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the DelvryServOrg field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the DelvryServOrgT field to query operations.static final PlanDataField<BigDecimal>Use with available fluent helpers to apply the Effort field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the Employee field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the EmployeeName field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the FcYear field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the Period field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the ProjectID field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the ResType field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the ResTypeText field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the ResourceId field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the ResourceText field to query operations.static final PlanDataLink<StaffingData>Use with available fluent helpers to apply the ToStaffData navigation property to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the Uom field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the Version field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the WorkPackageID field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the WorkitemId field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the WorkitemName field to query operations.static final PlanDataField<String>Use with available fluent helpers to apply the Wpname field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionPlanData()PlanData(String billingControlCategory, String billingControlCategoryID, 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, List<StaffingData> toStaffData) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStaffData(StaffingData... entity) Adds elements to the list of associated StaffingData entities.voidattachToService(String servicePath, HttpDestinationProperties destination) static PlanData.PlanDataBuilderbuilder()protected booleanbooleanFetches the StaffingData entities (one to many) associated with this entity.static <T,DomainT>
PlanDataField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PlanDataField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 8(Key Field) Constraints: Not nullable, Maximum length: 1protected String(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: noneConstraints: Not nullable, Precision: 15, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 8Constraints: noneprotected StringConstraints: Not nullable, Maximum length: 4getKey()Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: none(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: noneio.vavr.control.Option<List<StaffingData>>Retrieval of associated StaffingData entities (one to many).Retrieval of associated StaffingData entities (one to many).getType()getUom()Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 28(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: none(Key Field) Constraints: Not nullable, Maximum length: 50Constraints: Not nullable, Maximum length: 60inthashCode()voidsetBillingControlCategory(String billingControlCategory) Constraints: Not nullable, Maximum length: 60voidsetBillingControlCategoryID(String billingControlCategoryID) Constraints: Not nullable, Maximum length: 8voidsetConfirmed(String confirmed) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetDelvryServOrg(String delvryServOrg) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetDelvryServOrgT(String delvryServOrgT) Constraints: nonevoidsetEffort(BigDecimal effort) Constraints: Not nullable, Precision: 15, Scale: 3voidsetEmployee(String employee) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetEmployeeName(String employeeName) Constraints: nonevoidConstraints: Not nullable, Maximum length: 4voidConstraints: Not nullable, Maximum length: 3voidsetProjectID(String projectID) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetResourceId(String resourceId) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetResourceText(String resourceText) Constraints: nonevoidsetResType(String resType) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetResTypeText(String resTypeText) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) voidsetStaffData(List<StaffingData> value) Overwrites the list of associated StaffingData entities for the loaded navigation property ToStaffData.voidConstraints: Not nullable, Maximum length: 3voidsetVersion(String version) (Key Field) Constraints: Not nullable, Maximum length: 28voidsetWorkitemId(String workitemId) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetWorkitemName(String workitemName) Constraints: nonevoidsetWorkPackageID(String workPackageID) (Key Field) Constraints: Not nullable, Maximum length: 50voidConstraints: Not nullable, Maximum length: 60toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of PlanData. -
BILLING_CONTROL_CATEGORY
Use with available fluent helpers to apply the BillingControlCategory field to query operations. -
BILLING_CONTROL_CATEGORY_ID
Use with available fluent helpers to apply the BillingControlCategoryID field to query operations. -
EMPLOYEE_NAME
Use with available fluent helpers to apply the EmployeeName field to query operations. -
WPNAME
Use with available fluent helpers to apply the Wpname field to query operations. -
PROJECT_ID
Use with available fluent helpers to apply the ProjectID field to query operations. -
RES_TYPE
Use with available fluent helpers to apply the ResType field to query operations. -
WORK_PACKAGE_ID
Use with available fluent helpers to apply the WorkPackageID field to query operations. -
RES_TYPE_TEXT
Use with available fluent helpers to apply the ResTypeText field to query operations. -
RESOURCE_ID
Use with available fluent helpers to apply the ResourceId field to query operations. -
RESOURCE_TEXT
Use with available fluent helpers to apply the ResourceText field to query operations. -
UOM
Use with available fluent helpers to apply the Uom field to query operations. -
VERSION
Use with available fluent helpers to apply the Version field to query operations. -
PERIOD
Use with available fluent helpers to apply the Period field to query operations. -
FC_YEAR
Use with available fluent helpers to apply the FcYear field to query operations. -
EMPLOYEE
Use with available fluent helpers to apply the Employee field to query operations. -
CONFIRMED
Use with available fluent helpers to apply the Confirmed field to query operations. -
WORKITEM_ID
Use with available fluent helpers to apply the WorkitemId field to query operations. -
WORKITEM_NAME
Use with available fluent helpers to apply the WorkitemName field to query operations. -
EFFORT
Use with available fluent helpers to apply the Effort field to query operations. -
DELVRY_SERV_ORG
Use with available fluent helpers to apply the DelvryServOrg field to query operations. -
DELVRY_SERV_ORG_T
Use with available fluent helpers to apply the DelvryServOrgT field to query operations. -
TO_STAFF_DATA
Use with available fluent helpers to apply the ToStaffData navigation property to query operations.
-
-
Constructor Details
-
PlanData
public PlanData() -
PlanData
public PlanData(@Nullable String billingControlCategory, @Nullable String billingControlCategoryID, @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, List<StaffingData> toStaffData)
-
-
Method Details
-
getType
-
setBillingControlCategory
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: BillingControlCategory
- Parameters:
billingControlCategory- Billing Category
-
setBillingControlCategoryID
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: BillingControlCategoryID
- Parameters:
billingControlCategoryID- Billing Category ID
-
setEmployeeName
Constraints: noneOriginal property name from the Odata EDM: EmployeeName
- Parameters:
employeeName- Employee Name
-
setWpname
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: Wpname
- Parameters:
wpname- Work Package Name
-
setProjectID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectID
- Parameters:
projectID- Project ID
-
setResType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ResType
- Parameters:
resType- Resource Type ID
-
setWorkPackageID
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: WorkPackageID
- Parameters:
workPackageID- Work Package ID
-
setResTypeText
Constraints: noneOriginal property name from the Odata EDM: ResTypeText
- Parameters:
resTypeText- Resource Type Desc.
-
setResourceId
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ResourceId
- Parameters:
resourceId- Resource ID
-
setResourceText
Constraints: noneOriginal property name from the Odata EDM: ResourceText
- Parameters:
resourceText- Resource Desc.
-
setUom
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Uom
- Parameters:
uom- Unit of Measure
-
setVersion
(Key Field) Constraints: Not nullable, Maximum length: 28Original property name from the Odata EDM: Version
- Parameters:
version- Version ID
-
setPeriod
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Period
- Parameters:
period- Month
-
setFcYear
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FcYear
- Parameters:
fcYear- Year
-
setEmployee
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: Employee
- Parameters:
employee- Employee ID
-
setConfirmed
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: Confirmed
- Parameters:
confirmed- Resource is Confirmed
-
setWorkitemId
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: WorkitemId
- Parameters:
workitemId- Work Item ID
-
setWorkitemName
Constraints: noneOriginal property name from the Odata EDM: WorkitemName
- Parameters:
workitemName- Work Item Desc.
-
setEffort
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: Effort
- Parameters:
effort- Planned Effort
-
setDelvryServOrg
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DelvryServOrg
- Parameters:
delvryServOrg- Delivery Org. ID
-
setDelvryServOrgT
Constraints: noneOriginal property name from the Odata EDM: DelvryServOrgT
- Parameters:
delvryServOrgT- Delivery Org. Desc.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PlanData>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PlanData>
-
fromMap
-
field
@Nonnull public static <T> PlanDataField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> PlanDataField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<PlanData>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<PlanData>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<PlanData>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PlanData>
-
fetchStaffData
Fetches the StaffingData entities (one to many) associated with this entity. This corresponds to the OData navigation property ToStaffData.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated StaffingData entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getStaffDataOrFetch
Retrieval of associated StaffingData entities (one to many). This corresponds to the OData navigation property ToStaffData.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.
- Returns:
- List of associated StaffingData entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getStaffDataIfPresent
Retrieval of associated StaffingData entities (one to many). This corresponds to the OData navigation property ToStaffData.If the navigation property for an entity PlanData has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property ToStaffData is already loaded, the result will contain
the StaffingData entities. If not, an
Optionwith result stateemptyis returned.
-
setStaffData
Overwrites the list of associated StaffingData entities for the loaded navigation property ToStaffData.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.
- Parameters:
value- List of StaffingData entities.
-
addStaffData
Adds elements to the list of associated StaffingData entities. This corresponds to the OData navigation property ToStaffData.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.
- Parameters:
entity- Array of StaffingData entities.
-
builder
-
getBillingControlCategory
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: BillingControlCategory
- Returns:
- Billing Category
-
getBillingControlCategoryID
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: BillingControlCategoryID
- Returns:
- Billing Category ID
-
getEmployeeName
Constraints: noneOriginal property name from the Odata EDM: EmployeeName
- Returns:
- Employee Name
-
getWpname
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: Wpname
- Returns:
- Work Package Name
-
getProjectID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectID
- Returns:
- Project ID
-
getResType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ResType
- Returns:
- Resource Type ID
-
getWorkPackageID
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: WorkPackageID
- Returns:
- Work Package ID
-
getResTypeText
Constraints: noneOriginal property name from the Odata EDM: ResTypeText
- Returns:
- Resource Type Desc.
-
getResourceId
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ResourceId
- Returns:
- Resource ID
-
getResourceText
Constraints: noneOriginal property name from the Odata EDM: ResourceText
- Returns:
- Resource Desc.
-
getUom
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Uom
- Returns:
- Unit of Measure
-
getVersion
(Key Field) Constraints: Not nullable, Maximum length: 28Original property name from the Odata EDM: Version
- Returns:
- Version ID
-
getPeriod
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Period
- Returns:
- Month
-
getFcYear
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FcYear
- Returns:
- Year
-
getEmployee
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: Employee
- Returns:
- Employee ID
-
getConfirmed
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: Confirmed
- Returns:
- Resource is Confirmed
-
getWorkitemId
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: WorkitemId
- Returns:
- Work Item ID
-
getWorkitemName
Constraints: noneOriginal property name from the Odata EDM: WorkitemName
- Returns:
- Work Item Desc.
-
getEffort
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: Effort
- Returns:
- Planned Effort
-
getDelvryServOrg
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DelvryServOrg
- Returns:
- Delivery Org. ID
-
getDelvryServOrgT
Constraints: noneOriginal property name from the Odata EDM: DelvryServOrgT
- Returns:
- Delivery Org. Desc.
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-