Class EntProjectElmntPublicSector
Original entity name from the Odata EDM: A_EntProjectElmntPublicSectorType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of EntProjectElmntPublicSector instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EntProjectElmntPublicSectorSelectableSelector for all available fields of EntProjectElmntPublicSector.static final EntProjectElmntPublicSectorField<Boolean>Use with available fluent helpers to apply the FunctionalAreaIsFixAssigned field to query operations.static final EntProjectElmntPublicSectorField<String>Use with available fluent helpers to apply the Fund field to query operations.static final EntProjectElmntPublicSectorField<Boolean>Use with available fluent helpers to apply the FundIsFixAssigned field to query operations.static final EntProjectElmntPublicSectorField<String>Use with available fluent helpers to apply the GrantID field to query operations.static final EntProjectElmntPublicSectorField<Boolean>Use with available fluent helpers to apply the GrantIsFixAssigned field to query operations.static final EntProjectElmntPublicSectorField<UUID>Use with available fluent helpers to apply the ProjectElementUUID field to query operations.static final EntProjectElmntPublicSectorField<ZonedDateTime>Use with available fluent helpers to apply the ProjectLastChangedDateTime field to query operations.static final EntProjectElmntPublicSectorField<UUID>Use with available fluent helpers to apply the ProjectUUID field to query operations.static final EntProjectElmntPublicSectorField<String>Use with available fluent helpers to apply the SponsoredProgram field to query operations.Use with available fluent helpers to apply the to_EnterpriseProjectElement navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionEntProjectElmntPublicSector(UUID projectElementUUID, UUID projectUUID, String fund, Boolean fundIsFixAssigned, Boolean functionalAreaIsFixAssigned, String grantID, Boolean grantIsFixAssigned, String sponsoredProgram, ZonedDateTime projectLastChangedDateTime, EnterpriseProjectElement toEnterpriseProjectElement) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the EnterpriseProjectElement entity (one to one) associated with this entity.static <T,DomainT>
EntProjectElmntPublicSectorField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> EntProjectElmntPublicSectorField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringio.vavr.control.Option<EnterpriseProjectElement>Retrieval of associated EnterpriseProjectElement entity (one to one).Retrieval of associated EnterpriseProjectElement entity (one to one).protected StringConstraints: nonegetFund()Constraints: Not nullable, Maximum length: 10Constraints: noneConstraints: Not nullable, Maximum length: 20Constraints: nonegetKey()(Key Field) Constraints: Not nullableConstraints: Not nullable, Precision: 0Constraints: noneConstraints: Not nullable, Maximum length: 20getType()inthashCode()voidOverwrites the associated EnterpriseProjectElement entity for the loaded navigation property to_EnterpriseProjectElement.voidsetFunctionalAreaIsFixAssigned(Boolean functionalAreaIsFixAssigned) Constraints: nonevoidConstraints: Not nullable, Maximum length: 10voidsetFundIsFixAssigned(Boolean fundIsFixAssigned) Constraints: nonevoidsetGrantID(String grantID) Constraints: Not nullable, Maximum length: 20voidsetGrantIsFixAssigned(Boolean grantIsFixAssigned) Constraints: nonevoidsetProjectElementUUID(UUID projectElementUUID) (Key Field) Constraints: Not nullablevoidsetProjectLastChangedDateTime(ZonedDateTime projectLastChangedDateTime) Constraints: Not nullable, Precision: 0voidsetProjectUUID(UUID projectUUID) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) voidsetSponsoredProgram(String sponsoredProgram) Constraints: Not nullable, Maximum length: 20toString()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 EntProjectElmntPublicSector. -
PROJECT_ELEMENT_UUID
Use with available fluent helpers to apply the ProjectElementUUID field to query operations. -
PROJECT_UUID
Use with available fluent helpers to apply the ProjectUUID field to query operations. -
FUND
Use with available fluent helpers to apply the Fund field to query operations. -
FUND_IS_FIX_ASSIGNED
Use with available fluent helpers to apply the FundIsFixAssigned field to query operations. -
FUNCTIONAL_AREA_IS_FIX_ASSIGNED
Use with available fluent helpers to apply the FunctionalAreaIsFixAssigned field to query operations. -
GRANT_ID
Use with available fluent helpers to apply the GrantID field to query operations. -
GRANT_IS_FIX_ASSIGNED
Use with available fluent helpers to apply the GrantIsFixAssigned field to query operations. -
SPONSORED_PROGRAM
Use with available fluent helpers to apply the SponsoredProgram field to query operations. -
PROJECT_LAST_CHANGED_DATE_TIME
Use with available fluent helpers to apply the ProjectLastChangedDateTime field to query operations. -
TO_ENTERPRISE_PROJECT_ELEMENT
public static final EntProjectElmntPublicSectorOneToOneLink<EnterpriseProjectElement> TO_ENTERPRISE_PROJECT_ELEMENTUse with available fluent helpers to apply the to_EnterpriseProjectElement navigation property to query operations.
-
-
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
- Specified by:
getTypein classVdmObject<EntProjectElmntPublicSector>
-
setProjectElementUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjectElementUUID
- Parameters:
projectElementUUID- Entity Guid
-
setProjectUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectUUID
- Parameters:
projectUUID- Entity Guid
-
setFund
Constraints: Not nullable, Maximum length: 10Original 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
Constraints: noneOriginal property name from the Odata EDM: FundIsFixAssigned
- Parameters:
fundIsFixAssigned- Indicator for Fund with Fixed Assignment
-
setFunctionalAreaIsFixAssigned
Constraints: noneOriginal property name from the Odata EDM: FunctionalAreaIsFixAssigned
- Parameters:
functionalAreaIsFixAssigned- Indicator for Functional Area with Fixed Assignment
-
setGrantID
Constraints: Not nullable, Maximum length: 20Original 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
Constraints: noneOriginal property name from the Odata EDM: GrantIsFixAssigned
- Parameters:
grantIsFixAssigned- Indicator for Grant with Fixed Assignment
-
setSponsoredProgram
Constraints: Not nullable, Maximum length: 20Original 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
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProjectLastChangedDateTime
- Parameters:
projectLastChangedDateTime- Timestamp of Last Object Change
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<EntProjectElmntPublicSector>
-
getKey
- Overrides:
getKeyin classVdmObject<EntProjectElmntPublicSector>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EntProjectElmntPublicSector>
-
fromMap
- Overrides:
fromMapin classVdmObject<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 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<EntProjectElmntPublicSector>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<EntProjectElmntPublicSector>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<EntProjectElmntPublicSector>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EntProjectElmntPublicSector>
-
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
nullif 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
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
Optionresult state will beempty.- Returns:
- If the information for navigation property to_EnterpriseProjectElement is already loaded, the
result will contain the EnterpriseProjectElement entity. If not, an
Optionwith result stateemptyis returned.
-
setEnterpriseProjectElement
Overwrites the associated EnterpriseProjectElement entity for the loaded navigation property to_EnterpriseProjectElement.- Parameters:
value- New EnterpriseProjectElement entity.
-
builder
-
getProjectElementUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjectElementUUID
- Returns:
- Entity Guid
-
getProjectUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectUUID
- Returns:
- Entity Guid
-
getFund
Constraints: Not nullable, Maximum length: 10Original 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
Constraints: noneOriginal property name from the Odata EDM: FundIsFixAssigned
- Returns:
- Indicator for Fund with Fixed Assignment
-
getFunctionalAreaIsFixAssigned
Constraints: noneOriginal property name from the Odata EDM: FunctionalAreaIsFixAssigned
- Returns:
- Indicator for Functional Area with Fixed Assignment
-
getGrantID
Constraints: Not nullable, Maximum length: 20Original 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
Constraints: noneOriginal property name from the Odata EDM: GrantIsFixAssigned
- Returns:
- Indicator for Grant with Fixed Assignment
-
getSponsoredProgram
Constraints: Not nullable, Maximum length: 20Original 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
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProjectLastChangedDateTime
- Returns:
- Timestamp of Last Object Change
-
toString
- Overrides:
toStringin classVdmObject<EntProjectElmntPublicSector>
-
equals
- Overrides:
equalsin classVdmEntity<EntProjectElmntPublicSector>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EntProjectElmntPublicSector>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EntProjectElmntPublicSector>
-