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

public class EntProjectPublicSector extends VdmEntity<EntProjectPublicSector>
Project Public Sector

Original entity name from the Odata EDM: A_EntProjectPublicSectorType

  • Field Details

    • ALL_FIELDS

      public static final EntProjectPublicSectorSelectable ALL_FIELDS
      Selector for all available fields of EntProjectPublicSector.
    • PROJECT_UUID

      public static final EntProjectPublicSectorField<UUID> PROJECT_UUID
      Use with available fluent helpers to apply the ProjectUUID field to query operations.
    • FUND

      public static final EntProjectPublicSectorField<String> FUND
      Use with available fluent helpers to apply the Fund field to query operations.
    • FUND_IS_FIX_ASSIGNED

      public static final EntProjectPublicSectorField<Boolean> FUND_IS_FIX_ASSIGNED
      Use with available fluent helpers to apply the FundIsFixAssigned field to query operations.
    • FUNCTIONAL_AREA_IS_FIX_ASSIGNED

      public static final EntProjectPublicSectorField<Boolean> FUNCTIONAL_AREA_IS_FIX_ASSIGNED
      Use with available fluent helpers to apply the FunctionalAreaIsFixAssigned field to query operations.
    • GRANT_ID

      public static final EntProjectPublicSectorField<String> GRANT_ID
      Use with available fluent helpers to apply the GrantID field to query operations.
    • GRANT_IS_FIX_ASSIGNED

      public static final EntProjectPublicSectorField<Boolean> GRANT_IS_FIX_ASSIGNED
      Use with available fluent helpers to apply the GrantIsFixAssigned field to query operations.
    • PROJECT_LAST_CHANGED_DATE_TIME

      public static final EntProjectPublicSectorField<ZonedDateTime> PROJECT_LAST_CHANGED_DATE_TIME
      Use with available fluent helpers to apply the ProjectLastChangedDateTime field to query operations.
  • Constructor Details

    • EntProjectPublicSector

      public EntProjectPublicSector()
    • EntProjectPublicSector

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

    • getType

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

      public void setProjectUUID(@Nullable UUID projectUUID)
      (Key Field) Constraints: Not nullable

      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<EntProjectPublicSector>
    • getKey

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

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

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

      @Nonnull public static <T> EntProjectPublicSectorField<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> EntProjectPublicSectorField<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<EntProjectPublicSector>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<EntProjectPublicSector>
    • builder

      @Nonnull public static EntProjectPublicSector.EntProjectPublicSectorBuilder builder()
    • getProjectUUID

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

      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<EntProjectPublicSector>
    • equals

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

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

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