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

public class EntProjectElmntPublicSector extends VdmEntity<EntProjectElmntPublicSector>
Project Element Public Sector

Original entity name from the Odata EDM: A_EntProjectElmntPublicSectorType

  • Field Details

  • Constructor Details

    • EntProjectElmntPublicSector

      public EntProjectElmntPublicSector()
    • EntProjectElmntPublicSector

      public EntProjectElmntPublicSector(@Nullable UUID projectElementUUID, @Nullable UUID projectUUID, @Nullable String fund, @Nullable Boolean fundIsFixAssigned, @Nullable Boolean functionalAreaIsFixAssigned, @Nullable String grantID, @Nullable Boolean grantIsFixAssigned, @Nullable String sponsoredProgram, @Nullable ZonedDateTime projectLastChangedDateTime, @Nullable EnterpriseProjectElement toEnterpriseProjectElement)
  • Method Details

    • getType

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

      public void setProjectElementUUID(@Nullable UUID projectElementUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProjectElementUUID

      Parameters:
      projectElementUUID - Entity Guid
    • setProjectUUID

      public void setProjectUUID(@Nullable UUID projectUUID)
      Constraints: none

      Original property name from the Odata EDM: ProjectUUID

      Parameters:
      projectUUID - Entity Guid
    • setFund

      public void setFund(@Nullable String fund)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Fund

      If you assign the budget to a fund, you can obtain a detailed list of origin for the amounts involved.

      Parameters:
      fund - Key which uniquely identifies the fund.
    • setFundIsFixAssigned

      public void setFundIsFixAssigned(@Nullable Boolean fundIsFixAssigned)
      Constraints: none

      Original property name from the Odata EDM: FundIsFixAssigned

      Parameters:
      fundIsFixAssigned - Indicator for Fund with Fixed Assignment
    • setFunctionalAreaIsFixAssigned

      public void setFunctionalAreaIsFixAssigned(@Nullable Boolean functionalAreaIsFixAssigned)
      Constraints: none

      Original property name from the Odata EDM: FunctionalAreaIsFixAssigned

      Parameters:
      functionalAreaIsFixAssigned - Indicator for Functional Area with Fixed Assignment
    • setGrantID

      public void setGrantID(@Nullable String grantID)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: GrantID

      A grant may be for any purpose and cover all or only part of the costs of the project in question. You must enter a grant type for each grant you create in Grants Management (GM).The grant as an object has a finite lifecycle, divided into stages. Each stage is represented in the GM solution by a system status. The following are the stages of a grant's lifecycle:Initial DraftThis is the first stage of a grant. It is a working copy that can be modified as many times as needed.ProposalWhen the initial draft becomes a formal and complete document, it becomes a proposal.ApplicationWhen a proposal is routed to the sponsor for approval, it becomes an application. This application might contain changes in the budget or other adjustments.AwardIf the sponsor approves an application, an award is created. This is the real operative stage of a grant. The creation and consumption of the grant's budget occurs at this stage. This stage also represents the binding contract between the sponsor and the grantee.ClosingWhen an award is expiring, a phase of closing is established. Only restricted operations can be performed in this stage.ClosedThis stage defines an expired and closed grant. No further operations are allowed except archiving.

      Parameters:
      grantID - Legal instrument used to establish a funding relationship between a sponsor (grantor) and grantee, in order to carry out a public purpose of support or stimulation in which the sponsor does not expect to be substantially involved.
    • setGrantIsFixAssigned

      public void setGrantIsFixAssigned(@Nullable Boolean grantIsFixAssigned)
      Constraints: none

      Original property name from the Odata EDM: GrantIsFixAssigned

      Parameters:
      grantIsFixAssigned - Indicator for Grant with Fixed Assignment
    • setSponsoredProgram

      public void setSponsoredProgram(@Nullable String sponsoredProgram)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SponsoredProgram

      The sponsored program is used to group costs in order to satisfy the sponsor's view and reporting needs; it is used in all Grants Management (GM) activities. One grant might fund several sponsored programs and one sponsored program might be funded by several grants.The sponsored program provides a link between GM and Funds Management (FM). In particular, it provides a link to funds centers, functional areas, and funded programs for the purpose of budget transfers.The assignment tool should be used to derive the sponsored program during actual postings.

      Parameters:
      sponsoredProgram - The sponsored program is a fundamental part of the sponsor's view. It is a dimension that defines, in the sponsor's view and terms, a program to be funded. Whenever a grantee has to report back to the sponsor, the sponsored program is in fact, the program dimension that the sponsor will recognize.
    • setProjectLastChangedDateTime

      public void setProjectLastChangedDateTime(@Nullable ZonedDateTime projectLastChangedDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProjectLastChangedDateTime

      Parameters:
      projectLastChangedDateTime - Timestamp of Last Object Change
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> EntProjectElmntPublicSectorField<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> EntProjectElmntPublicSectorField<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<EntProjectElmntPublicSector>
    • setServicePathForFetch

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

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

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

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

      @Nullable public EnterpriseProjectElement fetchEnterpriseProjectElement()
      Fetches the EnterpriseProjectElement entity (one to one) associated with this entity. This corresponds to the OData navigation property to_EnterpriseProjectElement.

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

      Returns:
      The single associated EnterpriseProjectElement 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.
    • getEnterpriseProjectElementOrFetch

      @Nullable public EnterpriseProjectElement getEnterpriseProjectElementOrFetch()
      Retrieval of associated EnterpriseProjectElement entity (one to one). This corresponds to the OData navigation property to_EnterpriseProjectElement.

      If the navigation property to_EnterpriseProjectElement of a queried EntProjectElmntPublicSector 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 EnterpriseProjectElement 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.
    • getEnterpriseProjectElementIfPresent

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

      If the navigation property for an entity EntProjectElmntPublicSector 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_EnterpriseProjectElement is already loaded, the result will contain the EnterpriseProjectElement entity. If not, an Option with result state empty is returned.
    • setEnterpriseProjectElement

      public void setEnterpriseProjectElement(EnterpriseProjectElement value)
      Overwrites the associated EnterpriseProjectElement entity for the loaded navigation property to_EnterpriseProjectElement.
      Parameters:
      value - New EnterpriseProjectElement entity.
    • builder

    • getProjectElementUUID

      @Nullable public UUID getProjectElementUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProjectElementUUID

      Returns:
      Entity Guid
    • getProjectUUID

      @Nullable public UUID getProjectUUID()
      Constraints: none

      Original property name from the Odata EDM: ProjectUUID

      Returns:
      Entity Guid
    • getFund

      @Nullable public String getFund()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Fund

      If you assign the budget to a fund, you can obtain a detailed list of origin for the amounts involved.

      Returns:
      Key which uniquely identifies the fund.
    • getFundIsFixAssigned

      @Nullable public Boolean getFundIsFixAssigned()
      Constraints: none

      Original property name from the Odata EDM: FundIsFixAssigned

      Returns:
      Indicator for Fund with Fixed Assignment
    • getFunctionalAreaIsFixAssigned

      @Nullable public Boolean getFunctionalAreaIsFixAssigned()
      Constraints: none

      Original property name from the Odata EDM: FunctionalAreaIsFixAssigned

      Returns:
      Indicator for Functional Area with Fixed Assignment
    • getGrantID

      @Nullable public String getGrantID()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: GrantID

      A grant may be for any purpose and cover all or only part of the costs of the project in question. You must enter a grant type for each grant you create in Grants Management (GM).The grant as an object has a finite lifecycle, divided into stages. Each stage is represented in the GM solution by a system status. The following are the stages of a grant's lifecycle:Initial DraftThis is the first stage of a grant. It is a working copy that can be modified as many times as needed.ProposalWhen the initial draft becomes a formal and complete document, it becomes a proposal.ApplicationWhen a proposal is routed to the sponsor for approval, it becomes an application. This application might contain changes in the budget or other adjustments.AwardIf the sponsor approves an application, an award is created. This is the real operative stage of a grant. The creation and consumption of the grant's budget occurs at this stage. This stage also represents the binding contract between the sponsor and the grantee.ClosingWhen an award is expiring, a phase of closing is established. Only restricted operations can be performed in this stage.ClosedThis stage defines an expired and closed grant. No further operations are allowed except archiving.

      Returns:
      Legal instrument used to establish a funding relationship between a sponsor (grantor) and grantee, in order to carry out a public purpose of support or stimulation in which the sponsor does not expect to be substantially involved.
    • getGrantIsFixAssigned

      @Nullable public Boolean getGrantIsFixAssigned()
      Constraints: none

      Original property name from the Odata EDM: GrantIsFixAssigned

      Returns:
      Indicator for Grant with Fixed Assignment
    • getSponsoredProgram

      @Nullable public String getSponsoredProgram()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SponsoredProgram

      The sponsored program is used to group costs in order to satisfy the sponsor's view and reporting needs; it is used in all Grants Management (GM) activities. One grant might fund several sponsored programs and one sponsored program might be funded by several grants.The sponsored program provides a link between GM and Funds Management (FM). In particular, it provides a link to funds centers, functional areas, and funded programs for the purpose of budget transfers.The assignment tool should be used to derive the sponsored program during actual postings.

      Returns:
      The sponsored program is a fundamental part of the sponsor's view. It is a dimension that defines, in the sponsor's view and terms, a program to be funded. Whenever a grantee has to report back to the sponsor, the sponsored program is in fact, the program dimension that the sponsor will recognize.
    • getProjectLastChangedDateTime

      @Nullable public ZonedDateTime getProjectLastChangedDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProjectLastChangedDateTime

      Returns:
      Timestamp of Last Object Change
    • toString

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

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

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

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