Class Project
Original entity name from the Odata EDM: Project
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of Project instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProjectSelectableSelector for all available fields of Project.static final ProjectField<String>Use with available fluent helpers to apply the ChangedBy field to query operations.static final ProjectField<ZonedDateTime>Use with available fluent helpers to apply the ChangedOn field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the Confidential field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the CostCenter field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the CostCenterName field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the Currency field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the Currencyname field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the Customer field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the CustomerName field to query operations.static final ProjectField<LocalDateTime>Use with available fluent helpers to apply the EndDate field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the OrgDesc field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the OrgID field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProfitCenter field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProfitCenterName field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProjAccountantId field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProjAccountantName field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProjControllerId field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProjControllerName field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProjManagerId field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProjManagerName field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProjPartnerId field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProjPartnerName field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProjectCategory field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProjectID field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProjectName field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the ProjectStage field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the RestrictTimePosting field to query operations.static final ProjectField<String>Use with available fluent helpers to apply the StageDesc field to query operations.static final ProjectField<LocalDateTime>Use with available fluent helpers to apply the StartDate field to query operations.static final ProjectLink<ProjectRole>Use with available fluent helpers to apply the ProjectRoleSet navigation property to query operations.static final ProjectLink<Workpackage>Use with available fluent helpers to apply the WorkpackageSet navigation property to query operations.static final ProjectField<String>Use with available fluent helpers to apply the UseProjectBilling field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProject()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) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProjectRoleSet(ProjectRole... entity) Adds elements to the list of associated ProjectRole entities.voidaddWorkpackageSet(Workpackage... entity) Adds elements to the list of associated Workpackage entities.voidattachToService(String servicePath, HttpDestinationProperties destination) static Project.ProjectBuilderbuilder()protected booleanbooleanFetches the ProjectRole entities (one to many) associated with this entity.Fetches the Workpackage entities (one to many) associated with this entity.static <T,DomainT>
ProjectField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProjectField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 7Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 166protected StringConstraints: Not nullable, Precision: 7protected StringgetKey()Constraints: Not nullable, Maximum length: 40getOrgID()Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 80Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 80Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40io.vavr.control.Option<List<ProjectRole>>Retrieval of associated ProjectRole entities (one to many).Retrieval of associated ProjectRole entities (one to many).Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 80Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 80Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Precision: 7getType()Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<List<Workpackage>>Retrieval of associated Workpackage entities (one to many).Retrieval of associated Workpackage entities (one to many).inthashCode()voidsetChangedBy(String changedBy) Constraints: Not nullable, Maximum length: 12voidsetChangedOn(ZonedDateTime changedOn) Constraints: Not nullable, Precision: 7voidsetConfidential(String confidential) Constraints: Not nullable, Maximum length: 1voidsetCostCenter(String costCenter) Constraints: Not nullable, Maximum length: 10voidsetCostCenterName(String costCenterName) Constraints: Not nullable, Maximum length: 20voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 5voidsetCurrencyname(String currencyname) Constraints: Not nullable, Maximum length: 40voidsetCustomer(String customer) Constraints: Not nullable, Maximum length: 10voidsetCustomerName(String customerName) Constraints: Not nullable, Maximum length: 166voidsetEndDate(LocalDateTime endDate) Constraints: Not nullable, Precision: 7voidsetOrgDesc(String orgDesc) Constraints: Not nullable, Maximum length: 40voidConstraints: Not nullable, Maximum length: 5voidsetProfitCenter(String profitCenter) Constraints: Not nullable, Maximum length: 10voidsetProfitCenterName(String profitCenterName) Constraints: Not nullable, Maximum length: 20voidsetProjAccountantId(String projAccountantId) Constraints: Not nullable, Maximum length: 8voidsetProjAccountantName(String projAccountantName) Constraints: Not nullable, Maximum length: 80voidsetProjControllerId(String projControllerId) Constraints: Not nullable, Maximum length: 8voidsetProjControllerName(String projControllerName) Constraints: Not nullable, Maximum length: 80voidsetProjectCategory(String projectCategory) Constraints: Not nullable, Maximum length: 1voidsetProjectID(String projectID) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetProjectName(String projectName) Constraints: Not nullable, Maximum length: 40voidsetProjectRoleSet(List<ProjectRole> value) Overwrites the list of associated ProjectRole entities for the loaded navigation property ProjectRoleSet.voidsetProjectStage(String projectStage) Constraints: Not nullable, Maximum length: 4voidsetProjManagerId(String projManagerId) Constraints: Not nullable, Maximum length: 8voidsetProjManagerName(String projManagerName) Constraints: Not nullable, Maximum length: 80voidsetProjPartnerId(String projPartnerId) Constraints: Not nullable, Maximum length: 8voidsetProjPartnerName(String projPartnerName) Constraints: Not nullable, Maximum length: 80voidsetRestrictTimePosting(String restrictTimePosting) Constraints: Not nullable, Maximum length: 1protected voidsetServicePathForFetch(String servicePathForFetch) voidsetStageDesc(String stageDesc) Constraints: Not nullable, Maximum length: 40voidsetStartDate(LocalDateTime startDate) Constraints: Not nullable, Precision: 7voidsetUseProjectBilling(String useProjectBilling) Constraints: Not nullable, Maximum length: 1voidsetWorkpackageSet(List<Workpackage> value) Overwrites the list of associated Workpackage entities for the loaded navigation property WorkpackageSet.toString()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 Project. -
CHANGED_BY
Use with available fluent helpers to apply the ChangedBy field to query operations. -
USE_PROJECT_BILLING
Use with available fluent helpers to apply the UseProjectBilling field to query operations. -
RESTRICT_TIME_POSTING
Use with available fluent helpers to apply the RestrictTimePosting field to query operations. -
PROFIT_CENTER
Use with available fluent helpers to apply the ProfitCenter field to query operations. -
CHANGED_ON
Use with available fluent helpers to apply the ChangedOn field to query operations. -
PROFIT_CENTER_NAME
Use with available fluent helpers to apply the ProfitCenterName field to query operations. -
PROJECT_ID
Use with available fluent helpers to apply the ProjectID field to query operations. -
PROJECT_NAME
Use with available fluent helpers to apply the ProjectName field to query operations. -
PROJECT_STAGE
Use with available fluent helpers to apply the ProjectStage field to query operations. -
STAGE_DESC
Use with available fluent helpers to apply the StageDesc field to query operations. -
START_DATE
Use with available fluent helpers to apply the StartDate field to query operations. -
END_DATE
Use with available fluent helpers to apply the EndDate field to query operations. -
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations. -
CUSTOMER_NAME
Use with available fluent helpers to apply the CustomerName field to query operations. -
PROJ_MANAGER_ID
Use with available fluent helpers to apply the ProjManagerId field to query operations. -
PROJ_MANAGER_NAME
Use with available fluent helpers to apply the ProjManagerName field to query operations. -
PROJ_ACCOUNTANT_ID
Use with available fluent helpers to apply the ProjAccountantId field to query operations. -
PROJ_ACCOUNTANT_NAME
Use with available fluent helpers to apply the ProjAccountantName field to query operations. -
PROJ_CONTROLLER_ID
Use with available fluent helpers to apply the ProjControllerId field to query operations. -
PROJ_CONTROLLER_NAME
Use with available fluent helpers to apply the ProjControllerName field to query operations. -
PROJ_PARTNER_ID
Use with available fluent helpers to apply the ProjPartnerId field to query operations. -
PROJ_PARTNER_NAME
Use with available fluent helpers to apply the ProjPartnerName field to query operations. -
COST_CENTER
Use with available fluent helpers to apply the CostCenter field to query operations. -
COST_CENTER_NAME
Use with available fluent helpers to apply the CostCenterName field to query operations. -
PROJECT_CATEGORY
Use with available fluent helpers to apply the ProjectCategory field to query operations. -
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations. -
CURRENCYNAME
Use with available fluent helpers to apply the Currencyname field to query operations. -
ORG_ID
Use with available fluent helpers to apply the OrgID field to query operations. -
ORG_DESC
Use with available fluent helpers to apply the OrgDesc field to query operations. -
CONFIDENTIAL
Use with available fluent helpers to apply the Confidential field to query operations. -
TO_PROJECT_ROLE_SET
Use with available fluent helpers to apply the ProjectRoleSet navigation property to query operations. -
TO_WORKPACKAGE_SET
Use with available fluent helpers to apply the WorkpackageSet navigation property to query operations.
-
-
Constructor Details
-
Project
public Project() -
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)
-
-
Method Details
-
getType
-
setChangedBy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChangedBy
- Parameters:
changedBy- Changed By
-
setUseProjectBilling
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: UseProjectBilling
- Parameters:
useProjectBilling- Use Project Billiing
-
setRestrictTimePosting
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: RestrictTimePosting
- Parameters:
restrictTimePosting- Restrict time post
-
setProfitCenter
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProfitCenter
- Parameters:
profitCenter- Profit Center ID
-
setChangedOn
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: ChangedOn
- Parameters:
changedOn- Changed On
-
setProfitCenterName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ProfitCenterName
- Parameters:
profitCenterName- Profit Center Desc.
-
setProjectID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectID
- Parameters:
projectID- Project ID
-
setProjectName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectName
- Parameters:
projectName- Project Name
-
setProjectStage
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProjectStage
- Parameters:
projectStage- Project Stage
-
setStageDesc
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: StageDesc
- Parameters:
stageDesc- Stage Desc.
-
setStartDate
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: StartDate
- Parameters:
startDate- Start Date
-
setEndDate
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: EndDate
- Parameters:
endDate- End Date
-
setCustomer
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Parameters:
customer- Customer ID
-
setCustomerName
Constraints: Not nullable, Maximum length: 166Original property name from the Odata EDM: CustomerName
- Parameters:
customerName- Customer Name
-
setProjManagerId
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjManagerId
- Parameters:
projManagerId- Project Manager ID
-
setProjManagerName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: ProjManagerName
- Parameters:
projManagerName- Project Manager Name
-
setProjAccountantId
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjAccountantId
- Parameters:
projAccountantId- Project Accountant ID
-
setProjAccountantName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: ProjAccountantName
- Parameters:
projAccountantName- Project Accountant Name
-
setProjControllerId
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjControllerId
- Parameters:
projControllerId- Project Controller ID
-
setProjControllerName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: ProjControllerName
- Parameters:
projControllerName- Project Controller Name
-
setProjPartnerId
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjPartnerId
- Parameters:
projPartnerId- Project Partner ID
-
setProjPartnerName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: ProjPartnerName
- Parameters:
projPartnerName- Project Partner Name
-
setCostCenter
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostCenter
- Parameters:
costCenter- Cost Center ID
-
setCostCenterName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: CostCenterName
- Parameters:
costCenterName- Cost Center Name
-
setProjectCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjectCategory
- Parameters:
projectCategory- Project Type
-
setCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Parameters:
currency- Currency
-
setCurrencyname
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Currencyname
- Parameters:
currencyname- Currency Desc.
-
setOrgID
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: OrgID
- Parameters:
orgID- Service Organization ID
-
setOrgDesc
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: OrgDesc
- Parameters:
orgDesc- Service Organization Desc.
-
setConfidential
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: Confidential
- Parameters:
confidential- Confidential
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<Project>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<Project>
-
fromMap
-
field
@Nonnull public static <T> ProjectField<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> ProjectField<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<Project>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<Project>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<Project>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<Project>
-
fetchProjectRoleSet
Fetches the ProjectRole entities (one to many) associated with this entity. This corresponds to the OData navigation property ProjectRoleSet.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ProjectRole 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.
-
getProjectRoleSetOrFetch
Retrieval of associated ProjectRole entities (one to many). This corresponds to the OData navigation property ProjectRoleSet.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.
- Returns:
- List of associated ProjectRole 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.
-
getProjectRoleSetIfPresent
Retrieval of associated ProjectRole entities (one to many). This corresponds to the OData navigation property ProjectRoleSet.If the navigation property for an entity Project 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 ProjectRoleSet is already loaded, the result will
contain the ProjectRole entities. If not, an
Optionwith result stateemptyis returned.
-
setProjectRoleSet
Overwrites the list of associated ProjectRole entities for the loaded navigation property ProjectRoleSet.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.
- Parameters:
value- List of ProjectRole entities.
-
addProjectRoleSet
Adds elements to the list of associated ProjectRole entities. This corresponds to the OData navigation property ProjectRoleSet.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.
- Parameters:
entity- Array of ProjectRole entities.
-
fetchWorkpackageSet
Fetches the Workpackage entities (one to many) associated with this entity. This corresponds to the OData navigation property WorkpackageSet.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated Workpackage 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.
-
getWorkpackageSetOrFetch
Retrieval of associated Workpackage entities (one to many). This corresponds to the OData navigation property WorkpackageSet.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.
- Returns:
- List of associated Workpackage 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.
-
getWorkpackageSetIfPresent
Retrieval of associated Workpackage entities (one to many). This corresponds to the OData navigation property WorkpackageSet.If the navigation property for an entity Project 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 WorkpackageSet is already loaded, the result will
contain the Workpackage entities. If not, an
Optionwith result stateemptyis returned.
-
setWorkpackageSet
Overwrites the list of associated Workpackage entities for the loaded navigation property WorkpackageSet.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.
- Parameters:
value- List of Workpackage entities.
-
addWorkpackageSet
Adds elements to the list of associated Workpackage entities. This corresponds to the OData navigation property WorkpackageSet.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.
- Parameters:
entity- Array of Workpackage entities.
-
builder
-
getChangedBy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChangedBy
- Returns:
- Changed By
-
getUseProjectBilling
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: UseProjectBilling
- Returns:
- Use Project Billiing
-
getRestrictTimePosting
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: RestrictTimePosting
- Returns:
- Restrict time post
-
getProfitCenter
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProfitCenter
- Returns:
- Profit Center ID
-
getChangedOn
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: ChangedOn
- Returns:
- Changed On
-
getProfitCenterName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ProfitCenterName
- Returns:
- Profit Center Desc.
-
getProjectID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectID
- Returns:
- Project ID
-
getProjectName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectName
- Returns:
- Project Name
-
getProjectStage
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProjectStage
- Returns:
- Project Stage
-
getStageDesc
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: StageDesc
- Returns:
- Stage Desc.
-
getStartDate
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: StartDate
- Returns:
- Start Date
-
getEndDate
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: EndDate
- Returns:
- End Date
-
getCustomer
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Returns:
- Customer ID
-
getCustomerName
Constraints: Not nullable, Maximum length: 166Original property name from the Odata EDM: CustomerName
- Returns:
- Customer Name
-
getProjManagerId
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjManagerId
- Returns:
- Project Manager ID
-
getProjManagerName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: ProjManagerName
- Returns:
- Project Manager Name
-
getProjAccountantId
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjAccountantId
- Returns:
- Project Accountant ID
-
getProjAccountantName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: ProjAccountantName
- Returns:
- Project Accountant Name
-
getProjControllerId
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjControllerId
- Returns:
- Project Controller ID
-
getProjControllerName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: ProjControllerName
- Returns:
- Project Controller Name
-
getProjPartnerId
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjPartnerId
- Returns:
- Project Partner ID
-
getProjPartnerName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: ProjPartnerName
- Returns:
- Project Partner Name
-
getCostCenter
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostCenter
- Returns:
- Cost Center ID
-
getCostCenterName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: CostCenterName
- Returns:
- Cost Center Name
-
getProjectCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjectCategory
- Returns:
- Project Type
-
getCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Returns:
- Currency
-
getCurrencyname
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Currencyname
- Returns:
- Currency Desc.
-
getOrgID
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: OrgID
- Returns:
- Service Organization ID
-
getOrgDesc
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: OrgDesc
- Returns:
- Service Organization Desc.
-
getConfidential
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: Confidential
- Returns:
- Confidential
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-