public class EntProjectElmntPublicSector extends VdmEntity<EntProjectElmntPublicSector>
Original entity name from the Odata EDM: A_EntProjectElmntPublicSectorType
Modifier and Type | Class and Description |
---|---|
static class |
EntProjectElmntPublicSector.EntProjectElmntPublicSectorBuilder
Helper class to allow for fluent creation of EntProjectElmntPublicSector instances.
|
Modifier and Type | Field and Description |
---|---|
static EntProjectElmntPublicSectorSelectable |
ALL_FIELDS
Selector for all available fields of EntProjectElmntPublicSector.
|
static EntProjectElmntPublicSectorField<Boolean> |
FUNCTIONAL_AREA_IS_FIX_ASSIGNED
Use with available fluent helpers to apply the FunctionalAreaIsFixAssigned field to query operations.
|
static EntProjectElmntPublicSectorField<String> |
FUND
Use with available fluent helpers to apply the Fund field to query operations.
|
static EntProjectElmntPublicSectorField<Boolean> |
FUND_IS_FIX_ASSIGNED
Use with available fluent helpers to apply the FundIsFixAssigned field to query operations.
|
static EntProjectElmntPublicSectorField<String> |
GRANT_ID
Use with available fluent helpers to apply the GrantID field to query operations.
|
static EntProjectElmntPublicSectorField<Boolean> |
GRANT_IS_FIX_ASSIGNED
Use with available fluent helpers to apply the GrantIsFixAssigned field to query operations.
|
static EntProjectElmntPublicSectorField<UUID> |
PROJECT_ELEMENT_UUID
Use with available fluent helpers to apply the ProjectElementUUID field to query operations.
|
static EntProjectElmntPublicSectorField<ZonedDateTime> |
PROJECT_LAST_CHANGED_DATE_TIME
Use with available fluent helpers to apply the ProjectLastChangedDateTime field to query operations.
|
static EntProjectElmntPublicSectorField<UUID> |
PROJECT_UUID
Use with available fluent helpers to apply the ProjectUUID field to query operations.
|
static EntProjectElmntPublicSectorOneToOneLink<EnterpriseProjectElement> |
TO_ENTERPRISE_PROJECT_ELEMENT
Use with available fluent helpers to apply the to_EnterpriseProjectElement navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
EntProjectElmntPublicSector() |
EntProjectElmntPublicSector(UUID projectElementUUID,
UUID projectUUID,
String fund,
Boolean fundIsFixAssigned,
Boolean functionalAreaIsFixAssigned,
String grantID,
Boolean grantIsFixAssigned,
ZonedDateTime projectLastChangedDateTime,
EnterpriseProjectElement toEnterpriseProjectElement) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static EntProjectElmntPublicSector.EntProjectElmntPublicSectorBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
EnterpriseProjectElement |
fetchEnterpriseProjectElement()
Fetches the EnterpriseProjectElement entity (one to one) associated with this entity.
|
static <T> EntProjectElmntPublicSectorField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
io.vavr.control.Option<EnterpriseProjectElement> |
getEnterpriseProjectElementIfPresent()
Retrieval of associated EnterpriseProjectElement entity (one to one).
|
EnterpriseProjectElement |
getEnterpriseProjectElementOrFetch()
Retrieval of associated EnterpriseProjectElement entity (one to one).
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
Boolean |
getFunctionalAreaIsFixAssigned()
Constraints: none
|
String |
getFund()
Constraints: Not nullable, Maximum length: 10
|
Boolean |
getFundIsFixAssigned()
Constraints: none
|
String |
getGrantID()
Constraints: Not nullable, Maximum length: 20
|
Boolean |
getGrantIsFixAssigned()
Constraints: none
|
protected Map<String,Object> |
getKey() |
UUID |
getProjectElementUUID()
(Key Field) Constraints: Not nullable
|
ZonedDateTime |
getProjectLastChangedDateTime()
Constraints: Not nullable, Precision: 0
|
UUID |
getProjectUUID()
Constraints: none
|
Class<EntProjectElmntPublicSector> |
getType() |
int |
hashCode() |
void |
setEnterpriseProjectElement(EnterpriseProjectElement value)
Overwrites the associated EnterpriseProjectElement entity for the loaded navigation property
to_EnterpriseProjectElement.
|
void |
setFunctionalAreaIsFixAssigned(Boolean functionalAreaIsFixAssigned)
Constraints: none
|
void |
setFund(String fund)
Constraints: Not nullable, Maximum length: 10
|
void |
setFundIsFixAssigned(Boolean fundIsFixAssigned)
Constraints: none
|
void |
setGrantID(String grantID)
Constraints: Not nullable, Maximum length: 20
|
void |
setGrantIsFixAssigned(Boolean grantIsFixAssigned)
Constraints: none
|
void |
setProjectElementUUID(UUID projectElementUUID)
(Key Field) Constraints: Not nullable
|
void |
setProjectLastChangedDateTime(ZonedDateTime projectLastChangedDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setProjectUUID(UUID projectUUID)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final EntProjectElmntPublicSectorSelectable ALL_FIELDS
public static final EntProjectElmntPublicSectorField<UUID> PROJECT_ELEMENT_UUID
public static final EntProjectElmntPublicSectorField<UUID> PROJECT_UUID
public static final EntProjectElmntPublicSectorField<String> FUND
public static final EntProjectElmntPublicSectorField<Boolean> FUND_IS_FIX_ASSIGNED
public static final EntProjectElmntPublicSectorField<Boolean> FUNCTIONAL_AREA_IS_FIX_ASSIGNED
public static final EntProjectElmntPublicSectorField<String> GRANT_ID
public static final EntProjectElmntPublicSectorField<Boolean> GRANT_IS_FIX_ASSIGNED
public static final EntProjectElmntPublicSectorField<ZonedDateTime> PROJECT_LAST_CHANGED_DATE_TIME
public static final EntProjectElmntPublicSectorOneToOneLink<EnterpriseProjectElement> TO_ENTERPRISE_PROJECT_ELEMENT
public 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 ZonedDateTime projectLastChangedDateTime, @Nullable EnterpriseProjectElement toEnterpriseProjectElement)
@Nonnull public Class<EntProjectElmntPublicSector> getType()
getType
in class VdmObject<EntProjectElmntPublicSector>
public void setProjectElementUUID(@Nullable UUID projectElementUUID)
Original property name from the Odata EDM: ProjectElementUUID
projectElementUUID
- Entity Guidpublic void setProjectUUID(@Nullable UUID projectUUID)
Original property name from the Odata EDM: ProjectUUID
projectUUID
- Entity Guidpublic void setFund(@Nullable String fund)
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.
fund
- Key which uniquely identifies the fund.public void setFundIsFixAssigned(@Nullable Boolean fundIsFixAssigned)
Original property name from the Odata EDM: FundIsFixAssigned
fundIsFixAssigned
- Indicator for Fund with Fixed Assignmentpublic void setFunctionalAreaIsFixAssigned(@Nullable Boolean functionalAreaIsFixAssigned)
Original property name from the Odata EDM: FunctionalAreaIsFixAssigned
functionalAreaIsFixAssigned
- Indicator for Functional Area with Fixed Assignmentpublic void setGrantID(@Nullable String grantID)
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.
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.public void setGrantIsFixAssigned(@Nullable Boolean grantIsFixAssigned)
Original property name from the Odata EDM: GrantIsFixAssigned
grantIsFixAssigned
- Indicator for Grant with Fixed Assignmentpublic void setProjectLastChangedDateTime(@Nullable ZonedDateTime projectLastChangedDateTime)
Original property name from the Odata EDM: ProjectLastChangedDateTime
projectLastChangedDateTime
- Timestamp of Last Object Changeprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<EntProjectElmntPublicSector>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<EntProjectElmntPublicSector>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<EntProjectElmntPublicSector>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<EntProjectElmntPublicSector>
@Nonnull public static <T> EntProjectElmntPublicSectorField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> EntProjectElmntPublicSectorField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<EntProjectElmntPublicSector>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<EntProjectElmntPublicSector>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<EntProjectElmntPublicSector>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<EntProjectElmntPublicSector>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<EntProjectElmntPublicSector>
@Nullable public EnterpriseProjectElement fetchEnterpriseProjectElement() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.com.sap.cloud.sdk.odatav2.connectivity.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.@Nullable public EnterpriseProjectElement getEnterpriseProjectElementOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<EnterpriseProjectElement> getEnterpriseProjectElementIfPresent()
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
.
Option
with
result state empty
is returned.public void setEnterpriseProjectElement(EnterpriseProjectElement value)
value
- New EnterpriseProjectElement entity.public static EntProjectElmntPublicSector.EntProjectElmntPublicSectorBuilder builder()
@Nullable public UUID getProjectElementUUID()
Original property name from the Odata EDM: ProjectElementUUID
@Nullable public UUID getProjectUUID()
Original property name from the Odata EDM: ProjectUUID
@Nullable public String getFund()
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.
@Nullable public Boolean getFundIsFixAssigned()
Original property name from the Odata EDM: FundIsFixAssigned
@Nullable public Boolean getFunctionalAreaIsFixAssigned()
Original property name from the Odata EDM: FunctionalAreaIsFixAssigned
@Nullable public String getGrantID()
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.
@Nullable public Boolean getGrantIsFixAssigned()
Original property name from the Odata EDM: GrantIsFixAssigned
@Nullable public ZonedDateTime getProjectLastChangedDateTime()
Original property name from the Odata EDM: ProjectLastChangedDateTime
public String toString()
toString
in class VdmObject<EntProjectElmntPublicSector>
public boolean equals(Object o)
equals
in class VdmObject<EntProjectElmntPublicSector>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<EntProjectElmntPublicSector>
public int hashCode()
hashCode
in class VdmObject<EntProjectElmntPublicSector>
Copyright © 2020 SAP SE. All rights reserved.