java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<WorkPackage>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage

public class WorkPackage extends VdmEntity<WorkPackage>
Work Packages

Original entity name from the Odata EDM: WorkPackage

  • Field Details

    • ALL_FIELDS

      public static final WorkPackageSelectable ALL_FIELDS
      Selector for all available fields of WorkPackage.
    • PROJECT_ID

      public static final WorkPackageField<String> PROJECT_ID
      Use with available fluent helpers to apply the ProjectID field to query operations.
    • WORK_PACKAGE_ID

      public static final WorkPackageField<String> WORK_PACKAGE_ID
      Use with available fluent helpers to apply the WorkPackageID field to query operations.
    • WORK_PACKAGE_NAME

      public static final WorkPackageField<String> WORK_PACKAGE_NAME
      Use with available fluent helpers to apply the WorkPackageName field to query operations.
    • DESCRIPTION

      public static final WorkPackageField<String> DESCRIPTION
      Use with available fluent helpers to apply the Description field to query operations.
    • WP_START_DATE

      public static final WorkPackageField<LocalDateTime> WP_START_DATE
      Use with available fluent helpers to apply the WPStartDate field to query operations.
    • WP_END_DATE

      public static final WorkPackageField<LocalDateTime> WP_END_DATE
      Use with available fluent helpers to apply the WPEndDate field to query operations.
    • WORK_PACKAGE_TYPE

      public static final WorkPackageField<String> WORK_PACKAGE_TYPE
      Use with available fluent helpers to apply the WorkPackageType field to query operations.
    • UNIT_QUANTITY

      public static final WorkPackageField<BigDecimal> UNIT_QUANTITY
      Use with available fluent helpers to apply the UnitQuantity field to query operations.
    • UNIT_ID

      public static final WorkPackageField<String> UNIT_ID
      Use with available fluent helpers to apply the UnitId field to query operations.
    • CREATED_ON

      public static final WorkPackageField<LocalDateTime> CREATED_ON
      Use with available fluent helpers to apply the CreatedOn field to query operations.
    • CHANGED_ON

      public static final WorkPackageField<ZonedDateTime> CHANGED_ON
      Use with available fluent helpers to apply the ChangedOn field to query operations.
    • TO_RESOURCE_DEMAND

      public static final WorkPackageLink<EngmntProjRsceDmnd> TO_RESOURCE_DEMAND
      Use with available fluent helpers to apply the to_ResourceDemand navigation property to query operations.
    • TO_PROJECT

      public static final WorkPackageOneToOneLink<Project> TO_PROJECT
      Use with available fluent helpers to apply the to_Project navigation property to query operations.
    • TO_WORK_ITEM_SET

      public static final WorkPackageLink<WorkItem> TO_WORK_ITEM_SET
      Use with available fluent helpers to apply the WorkItemSet navigation property to query operations.
    • TO_DEMAND_SET

      public static final WorkPackageLink<Demand> TO_DEMAND_SET
      Use with available fluent helpers to apply the DemandSet navigation property to query operations.
    • TO_WORK_PACKAGE_FUNCTION_SET

      public static final WorkPackageLink<WorkPackageFunction> TO_WORK_PACKAGE_FUNCTION_SET
      Use with available fluent helpers to apply the WorkPackageFunctionSet navigation property to query operations.
  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Class<WorkPackage> getType()
      Specified by:
      getType in class VdmObject<WorkPackage>
    • setProjectID

      public void setProjectID(@Nullable String projectID)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProjectID

      Parameters:
      projectID - Project ID
    • setWorkPackageID

      public void setWorkPackageID(@Nullable String workPackageID)
      (Key Field) Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: WorkPackageID

      Parameters:
      workPackageID - Work Package ID
    • setWorkPackageName

      public void setWorkPackageName(@Nullable String workPackageName)
      (Key Field) Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: WorkPackageName

      Parameters:
      workPackageName - Work Package Name
    • setDescription

      public void setDescription(@Nullable String description)
      Constraints: none

      Original property name from the Odata EDM: Description

      Parameters:
      description - Work Package Desc.
    • setWPStartDate

      public void setWPStartDate(@Nullable LocalDateTime wPStartDate)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: WPStartDate

      Parameters:
      wPStartDate - Start Date
    • setWPEndDate

      public void setWPEndDate(@Nullable LocalDateTime wPEndDate)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: WPEndDate

      Parameters:
      wPEndDate - End Date
    • setWorkPackageType

      public void setWorkPackageType(@Nullable String workPackageType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: WorkPackageType

      Parameters:
      workPackageType - Work Package Type
    • setUnitQuantity

      public void setUnitQuantity(@Nullable BigDecimal unitQuantity)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: UnitQuantity

      Parameters:
      unitQuantity - Total Quantity
    • setUnitId

      public void setUnitId(@Nullable String unitId)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: UnitId

      Parameters:
      unitId - Resource ID
    • setCreatedOn

      public void setCreatedOn(@Nullable LocalDateTime createdOn)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: CreatedOn

      Parameters:
      createdOn - Created On
    • setChangedOn

      public void setChangedOn(@Nullable ZonedDateTime changedOn)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: ChangedOn

      Parameters:
      changedOn - Changed On
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<WorkPackage>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<WorkPackage>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<WorkPackage>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<WorkPackage>
    • field

      @Nonnull public static <T> WorkPackageField<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> WorkPackageField<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<WorkPackage>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<WorkPackage>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<WorkPackage>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<WorkPackage>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<WorkPackage>
    • fetchResourceDemand

      @Nonnull public List<EngmntProjRsceDmnd> fetchResourceDemand()
      Fetches the EngmntProjRsceDmnd entities (one to many) associated with this entity. This corresponds to the OData navigation property to_ResourceDemand.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated EngmntProjRsceDmnd 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.
    • getResourceDemandOrFetch

      @Nonnull public List<EngmntProjRsceDmnd> getResourceDemandOrFetch()
      Retrieval of associated EngmntProjRsceDmnd entities (one to many). This corresponds to the OData navigation property to_ResourceDemand.

      If the navigation property to_ResourceDemand of a queried WorkPackage 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 EngmntProjRsceDmnd 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.
    • getResourceDemandIfPresent

      @Nonnull public io.vavr.control.Option<List<EngmntProjRsceDmnd>> getResourceDemandIfPresent()
      Retrieval of associated EngmntProjRsceDmnd entities (one to many). This corresponds to the OData navigation property to_ResourceDemand.

      If the navigation property for an entity WorkPackage has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_ResourceDemand is already loaded, the result will contain the EngmntProjRsceDmnd entities. If not, an Option with result state empty is returned.
    • setResourceDemand

      public void setResourceDemand(@Nonnull List<EngmntProjRsceDmnd> value)
      Overwrites the list of associated EngmntProjRsceDmnd entities for the loaded navigation property to_ResourceDemand.

      If the navigation property to_ResourceDemand of a queried WorkPackage 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 EngmntProjRsceDmnd entities.
    • addResourceDemand

      public void addResourceDemand(EngmntProjRsceDmnd... entity)
      Adds elements to the list of associated EngmntProjRsceDmnd entities. This corresponds to the OData navigation property to_ResourceDemand.

      If the navigation property to_ResourceDemand of a queried WorkPackage 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 EngmntProjRsceDmnd entities.
    • fetchProject

      @Nullable public Project fetchProject()
      Fetches the Project entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Project.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated Project entity, or null if an entity is not associated.
      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.
    • getProjectOrFetch

      @Nullable public Project getProjectOrFetch()
      Retrieval of associated Project entity (one to one). This corresponds to the OData navigation property to_Project.

      If the navigation property to_Project of a queried WorkPackage 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 Project entity.
      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.
    • getProjectIfPresent

      @Nonnull public io.vavr.control.Option<Project> getProjectIfPresent()
      Retrieval of associated Project entity (one to one). This corresponds to the OData navigation property to_Project.

      If the navigation property for an entity WorkPackage has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_Project is already loaded, the result will contain the Project entity. If not, an Option with result state empty is returned.
    • setProject

      public void setProject(Project value)
      Overwrites the associated Project entity for the loaded navigation property to_Project.
      Parameters:
      value - New Project entity.
    • fetchWorkItemSet

      @Nonnull public List<WorkItem> fetchWorkItemSet()
      Fetches the WorkItem entities (one to many) associated with this entity. This corresponds to the OData navigation property WorkItemSet.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated WorkItem 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.
    • getWorkItemSetOrFetch

      @Nonnull public List<WorkItem> getWorkItemSetOrFetch()
      Retrieval of associated WorkItem entities (one to many). This corresponds to the OData navigation property WorkItemSet.

      If the navigation property WorkItemSet of a queried WorkPackage 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 WorkItem 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.
    • getWorkItemSetIfPresent

      @Nonnull public io.vavr.control.Option<List<WorkItem>> getWorkItemSetIfPresent()
      Retrieval of associated WorkItem entities (one to many). This corresponds to the OData navigation property WorkItemSet.

      If the navigation property for an entity WorkPackage has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property WorkItemSet is already loaded, the result will contain the WorkItem entities. If not, an Option with result state empty is returned.
    • setWorkItemSet

      public void setWorkItemSet(@Nonnull List<WorkItem> value)
      Overwrites the list of associated WorkItem entities for the loaded navigation property WorkItemSet.

      If the navigation property WorkItemSet of a queried WorkPackage 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 WorkItem entities.
    • addWorkItemSet

      public void addWorkItemSet(WorkItem... entity)
      Adds elements to the list of associated WorkItem entities. This corresponds to the OData navigation property WorkItemSet.

      If the navigation property WorkItemSet of a queried WorkPackage 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 WorkItem entities.
    • fetchDemandSet

      @Nonnull public List<Demand> fetchDemandSet()
      Fetches the Demand entities (one to many) associated with this entity. This corresponds to the OData navigation property DemandSet.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated Demand 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.
    • getDemandSetOrFetch

      @Nonnull public List<Demand> getDemandSetOrFetch()
      Retrieval of associated Demand entities (one to many). This corresponds to the OData navigation property DemandSet.

      If the navigation property DemandSet of a queried WorkPackage 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 Demand 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.
    • getDemandSetIfPresent

      @Nonnull public io.vavr.control.Option<List<Demand>> getDemandSetIfPresent()
      Retrieval of associated Demand entities (one to many). This corresponds to the OData navigation property DemandSet.

      If the navigation property for an entity WorkPackage has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property DemandSet is already loaded, the result will contain the Demand entities. If not, an Option with result state empty is returned.
    • setDemandSet

      public void setDemandSet(@Nonnull List<Demand> value)
      Overwrites the list of associated Demand entities for the loaded navigation property DemandSet.

      If the navigation property DemandSet of a queried WorkPackage 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 Demand entities.
    • addDemandSet

      public void addDemandSet(Demand... entity)
      Adds elements to the list of associated Demand entities. This corresponds to the OData navigation property DemandSet.

      If the navigation property DemandSet of a queried WorkPackage 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 Demand entities.
    • fetchWorkPackageFunctionSet

      @Nonnull public List<WorkPackageFunction> fetchWorkPackageFunctionSet()
      Fetches the WorkPackageFunction entities (one to many) associated with this entity. This corresponds to the OData navigation property WorkPackageFunctionSet.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated WorkPackageFunction 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.
    • getWorkPackageFunctionSetOrFetch

      @Nonnull public List<WorkPackageFunction> getWorkPackageFunctionSetOrFetch()
      Retrieval of associated WorkPackageFunction entities (one to many). This corresponds to the OData navigation property WorkPackageFunctionSet.

      If the navigation property WorkPackageFunctionSet of a queried WorkPackage 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 WorkPackageFunction 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.
    • getWorkPackageFunctionSetIfPresent

      @Nonnull public io.vavr.control.Option<List<WorkPackageFunction>> getWorkPackageFunctionSetIfPresent()
      Retrieval of associated WorkPackageFunction entities (one to many). This corresponds to the OData navigation property WorkPackageFunctionSet.

      If the navigation property for an entity WorkPackage has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property WorkPackageFunctionSet is already loaded, the result will contain the WorkPackageFunction entities. If not, an Option with result state empty is returned.
    • setWorkPackageFunctionSet

      public void setWorkPackageFunctionSet(@Nonnull List<WorkPackageFunction> value)
      Overwrites the list of associated WorkPackageFunction entities for the loaded navigation property WorkPackageFunctionSet.

      If the navigation property WorkPackageFunctionSet of a queried WorkPackage 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 WorkPackageFunction entities.
    • addWorkPackageFunctionSet

      public void addWorkPackageFunctionSet(WorkPackageFunction... entity)
      Adds elements to the list of associated WorkPackageFunction entities. This corresponds to the OData navigation property WorkPackageFunctionSet.

      If the navigation property WorkPackageFunctionSet of a queried WorkPackage 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 WorkPackageFunction entities.
    • builder

      @Nonnull public static WorkPackage.WorkPackageBuilder builder()
    • getProjectID

      @Nullable public String getProjectID()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProjectID

      Returns:
      Project ID
    • getWorkPackageID

      @Nullable public String getWorkPackageID()
      (Key Field) Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: WorkPackageID

      Returns:
      Work Package ID
    • getWorkPackageName

      @Nullable public String getWorkPackageName()
      (Key Field) Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: WorkPackageName

      Returns:
      Work Package Name
    • getDescription

      @Nullable public String getDescription()
      Constraints: none

      Original property name from the Odata EDM: Description

      Returns:
      Work Package Desc.
    • getWPStartDate

      @Nullable public LocalDateTime getWPStartDate()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: WPStartDate

      Returns:
      Start Date
    • getWPEndDate

      @Nullable public LocalDateTime getWPEndDate()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: WPEndDate

      Returns:
      End Date
    • getWorkPackageType

      @Nullable public String getWorkPackageType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: WorkPackageType

      Returns:
      Work Package Type
    • getUnitQuantity

      @Nullable public BigDecimal getUnitQuantity()
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: UnitQuantity

      Returns:
      Total Quantity
    • getUnitId

      @Nullable public String getUnitId()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: UnitId

      Returns:
      Resource ID
    • getCreatedOn

      @Nullable public LocalDateTime getCreatedOn()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: CreatedOn

      Returns:
      Created On
    • getChangedOn

      @Nullable public ZonedDateTime getChangedOn()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: ChangedOn

      Returns:
      Changed On
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<WorkPackage>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<WorkPackage>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<WorkPackage>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<WorkPackage>