public class EnterpriseProject extends VdmEntity<EnterpriseProject>
Original entity name from the Odata EDM: A_EnterpriseProjectType
Modifier and Type | Class and Description |
---|---|
static class |
EnterpriseProject.EnterpriseProjectBuilder
Helper class to allow for fluent creation of EnterpriseProject instances.
|
Modifier and Type | Field and Description |
---|---|
static EnterpriseProjectSelectable |
ALL_FIELDS
Selector for all available fields of EnterpriseProject.
|
static EnterpriseProjectField<Boolean> |
AVAILABILITY_CONTROL_IS_ACTIVE
Use with available fluent helpers to apply the AvailabilityControlIsActive field to query operations.
|
static EnterpriseProjectField<String> |
AVAILABILITY_CONTROL_PROFILE
Use with available fluent helpers to apply the AvailabilityControlProfile field to query operations.
|
static EnterpriseProjectField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static EnterpriseProjectField<String> |
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations.
|
static EnterpriseProjectField<String> |
ENTERPRISE_PROJECT_TYPE
Use with available fluent helpers to apply the EnterpriseProjectType field to query operations.
|
static EnterpriseProjectField<String> |
FUNCTIONAL_AREA
Use with available fluent helpers to apply the FunctionalArea field to query operations.
|
static EnterpriseProjectField<String> |
INVESTMENT_PROFILE
Use with available fluent helpers to apply the InvestmentProfile field to query operations.
|
static EnterpriseProjectField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static EnterpriseProjectField<String> |
LOCATION
Use with available fluent helpers to apply the Location field to query operations.
|
static EnterpriseProjectField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static EnterpriseProjectField<String> |
PRIORITY_CODE
Use with available fluent helpers to apply the PriorityCode field to query operations.
|
static EnterpriseProjectField<String> |
PROCESSING_STATUS
Use with available fluent helpers to apply the ProcessingStatus field to query operations.
|
static EnterpriseProjectField<String> |
PROFIT_CENTER
Use with available fluent helpers to apply the ProfitCenter field to query operations.
|
static EnterpriseProjectField<String> |
PROJECT
Use with available fluent helpers to apply the Project field to query operations.
|
static EnterpriseProjectField<String> |
PROJECT_CURRENCY
Use with available fluent helpers to apply the ProjectCurrency field to query operations.
|
static EnterpriseProjectField<String> |
PROJECT_DESCRIPTION
Use with available fluent helpers to apply the ProjectDescription field to query operations.
|
static EnterpriseProjectField<LocalDateTime> |
PROJECT_END_DATE
Use with available fluent helpers to apply the ProjectEndDate field to query operations.
|
static EnterpriseProjectField<String> |
PROJECT_INTERNAL_ID
Use with available fluent helpers to apply the ProjectInternalID field to query operations.
|
static EnterpriseProjectField<UUID> |
PROJECT_MANAGER_UUID
Use with available fluent helpers to apply the ProjectManagerUUID field to query operations.
|
static EnterpriseProjectField<String> |
PROJECT_PROFILE_CODE
Use with available fluent helpers to apply the ProjectProfileCode field to query operations.
|
static EnterpriseProjectField<LocalDateTime> |
PROJECT_START_DATE
Use with available fluent helpers to apply the ProjectStartDate field to query operations.
|
static EnterpriseProjectField<UUID> |
PROJECT_UUID
Use with available fluent helpers to apply the ProjectUUID field to query operations.
|
static EnterpriseProjectField<String> |
RESPONSIBLE_COST_CENTER
Use with available fluent helpers to apply the ResponsibleCostCenter field to query operations.
|
static EnterpriseProjectField<String> |
TAX_JURISDICTION
Use with available fluent helpers to apply the TaxJurisdiction field to query operations.
|
static EnterpriseProjectOneToOneLink<EntProjectPublicSector> |
TO_ENT_PROJECT_PUBLIC_SECTOR
Use with available fluent helpers to apply the to_EntProjectPublicSector navigation property to query
operations.
|
static EnterpriseProjectLink<EnterpriseProjectElement> |
TO_ENTERPRISE_PROJECT_ELEMENT
Use with available fluent helpers to apply the to_EnterpriseProjectElement navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
EnterpriseProject() |
EnterpriseProject(UUID projectUUID,
String projectInternalID,
String project,
String projectDescription,
String enterpriseProjectType,
String priorityCode,
LocalDateTime projectStartDate,
LocalDateTime projectEndDate,
String processingStatus,
String responsibleCostCenter,
String profitCenter,
UUID projectManagerUUID,
String projectProfileCode,
String functionalArea,
String companyCode,
String controllingArea,
String plant,
String location,
String taxJurisdiction,
String projectCurrency,
String availabilityControlProfile,
Boolean availabilityControlIsActive,
ZonedDateTime lastChangeDateTime,
String investmentProfile,
List<EnterpriseProjectElement> toEnterpriseProjectElement,
EntProjectPublicSector toEntProjectPublicSector) |
Modifier and Type | Method and Description |
---|---|
void |
addEnterpriseProjectElement(EnterpriseProjectElement... entity)
Adds elements to the list of associated EnterpriseProjectElement entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static EnterpriseProject.EnterpriseProjectBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<EnterpriseProjectElement> |
fetchEnterpriseProjectElement()
Fetches the EnterpriseProjectElement entities (one to many) associated with this entity.
|
EntProjectPublicSector |
fetchEntProjectPublicSector()
Fetches the EntProjectPublicSector entity (one to one) associated with this entity.
|
static <T> EnterpriseProjectField<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) |
Boolean |
getAvailabilityControlIsActive()
Constraints: none
|
String |
getAvailabilityControlProfile()
Constraints: Not nullable, Maximum length: 6
|
String |
getCompanyCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getControllingArea()
Constraints: Not nullable, Maximum length: 4
|
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<List<EnterpriseProjectElement>> |
getEnterpriseProjectElementIfPresent()
Retrieval of associated EnterpriseProjectElement entities (one to many).
|
List<EnterpriseProjectElement> |
getEnterpriseProjectElementOrFetch()
Retrieval of associated EnterpriseProjectElement entities (one to many).
|
String |
getEnterpriseProjectType()
Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
io.vavr.control.Option<EntProjectPublicSector> |
getEntProjectPublicSectorIfPresent()
Retrieval of associated EntProjectPublicSector entity (one to one).
|
EntProjectPublicSector |
getEntProjectPublicSectorOrFetch()
Retrieval of associated EntProjectPublicSector entity (one to one).
|
String |
getFunctionalArea()
Constraints: Not nullable, Maximum length: 16
|
String |
getInvestmentProfile()
Constraints: Not nullable, Maximum length: 6
|
protected Map<String,Object> |
getKey() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getLocation()
Constraints: Not nullable, Maximum length: 10
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getPriorityCode()
Constraints: Not nullable, Maximum length: 3
|
String |
getProcessingStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getProfitCenter()
Constraints: Not nullable, Maximum length: 10
|
String |
getProject()
Constraints: Not nullable, Maximum length: 24
|
String |
getProjectCurrency()
Constraints: Not nullable, Maximum length: 5
|
String |
getProjectDescription()
Constraints: Not nullable, Maximum length: 40
|
LocalDateTime |
getProjectEndDate()
Constraints: Not nullable, Precision: 0
|
String |
getProjectInternalID()
Constraints: Not nullable, Maximum length: 8
|
UUID |
getProjectManagerUUID()
Constraints: none
|
String |
getProjectProfileCode()
Constraints: Not nullable, Maximum length: 7
|
LocalDateTime |
getProjectStartDate()
Constraints: Not nullable, Precision: 0
|
UUID |
getProjectUUID()
(Key Field) Constraints: Not nullable
|
String |
getResponsibleCostCenter()
Constraints: Not nullable, Maximum length: 10
|
String |
getTaxJurisdiction()
Constraints: Not nullable, Maximum length: 15
|
Class<EnterpriseProject> |
getType() |
int |
hashCode() |
void |
setAvailabilityControlIsActive(Boolean availabilityControlIsActive)
Constraints: none
|
void |
setAvailabilityControlProfile(String availabilityControlProfile)
Constraints: Not nullable, Maximum length: 6
|
void |
setCompanyCode(String companyCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setControllingArea(String controllingArea)
Constraints: Not nullable, Maximum length: 4
|
void |
setEnterpriseProjectElement(List<EnterpriseProjectElement> value)
Overwrites the list of associated EnterpriseProjectElement entities for the loaded navigation property
to_EnterpriseProjectElement.
|
void |
setEnterpriseProjectType(String enterpriseProjectType)
Constraints: Not nullable, Maximum length: 2
|
void |
setEntProjectPublicSector(EntProjectPublicSector value)
Overwrites the associated EntProjectPublicSector entity for the loaded navigation property
to_EntProjectPublicSector.
|
void |
setFunctionalArea(String functionalArea)
Constraints: Not nullable, Maximum length: 16
|
void |
setInvestmentProfile(String investmentProfile)
Constraints: Not nullable, Maximum length: 6
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setLocation(String location)
Constraints: Not nullable, Maximum length: 10
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setPriorityCode(String priorityCode)
Constraints: Not nullable, Maximum length: 3
|
void |
setProcessingStatus(String processingStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setProfitCenter(String profitCenter)
Constraints: Not nullable, Maximum length: 10
|
void |
setProject(String project)
Constraints: Not nullable, Maximum length: 24
|
void |
setProjectCurrency(String projectCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setProjectDescription(String projectDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setProjectEndDate(LocalDateTime projectEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setProjectInternalID(String projectInternalID)
Constraints: Not nullable, Maximum length: 8
|
void |
setProjectManagerUUID(UUID projectManagerUUID)
Constraints: none
|
void |
setProjectProfileCode(String projectProfileCode)
Constraints: Not nullable, Maximum length: 7
|
void |
setProjectStartDate(LocalDateTime projectStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setProjectUUID(UUID projectUUID)
(Key Field) Constraints: Not nullable
|
void |
setResponsibleCostCenter(String responsibleCostCenter)
Constraints: Not nullable, Maximum length: 10
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setTaxJurisdiction(String taxJurisdiction)
Constraints: Not nullable, Maximum length: 15
|
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 EnterpriseProjectSelectable ALL_FIELDS
public static final EnterpriseProjectField<UUID> PROJECT_UUID
public static final EnterpriseProjectField<String> PROJECT_INTERNAL_ID
public static final EnterpriseProjectField<String> PROJECT
public static final EnterpriseProjectField<String> PROJECT_DESCRIPTION
public static final EnterpriseProjectField<String> ENTERPRISE_PROJECT_TYPE
public static final EnterpriseProjectField<String> PRIORITY_CODE
public static final EnterpriseProjectField<LocalDateTime> PROJECT_START_DATE
public static final EnterpriseProjectField<LocalDateTime> PROJECT_END_DATE
public static final EnterpriseProjectField<String> PROCESSING_STATUS
public static final EnterpriseProjectField<String> RESPONSIBLE_COST_CENTER
public static final EnterpriseProjectField<String> PROFIT_CENTER
public static final EnterpriseProjectField<UUID> PROJECT_MANAGER_UUID
public static final EnterpriseProjectField<String> PROJECT_PROFILE_CODE
public static final EnterpriseProjectField<String> FUNCTIONAL_AREA
public static final EnterpriseProjectField<String> COMPANY_CODE
public static final EnterpriseProjectField<String> CONTROLLING_AREA
public static final EnterpriseProjectField<String> PLANT
public static final EnterpriseProjectField<String> LOCATION
public static final EnterpriseProjectField<String> TAX_JURISDICTION
public static final EnterpriseProjectField<String> PROJECT_CURRENCY
public static final EnterpriseProjectField<String> AVAILABILITY_CONTROL_PROFILE
public static final EnterpriseProjectField<Boolean> AVAILABILITY_CONTROL_IS_ACTIVE
public static final EnterpriseProjectField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final EnterpriseProjectField<String> INVESTMENT_PROFILE
public static final EnterpriseProjectLink<EnterpriseProjectElement> TO_ENTERPRISE_PROJECT_ELEMENT
public static final EnterpriseProjectOneToOneLink<EntProjectPublicSector> TO_ENT_PROJECT_PUBLIC_SECTOR
public EnterpriseProject()
public EnterpriseProject(@Nullable UUID projectUUID, @Nullable String projectInternalID, @Nullable String project, @Nullable String projectDescription, @Nullable String enterpriseProjectType, @Nullable String priorityCode, @Nullable LocalDateTime projectStartDate, @Nullable LocalDateTime projectEndDate, @Nullable String processingStatus, @Nullable String responsibleCostCenter, @Nullable String profitCenter, @Nullable UUID projectManagerUUID, @Nullable String projectProfileCode, @Nullable String functionalArea, @Nullable String companyCode, @Nullable String controllingArea, @Nullable String plant, @Nullable String location, @Nullable String taxJurisdiction, @Nullable String projectCurrency, @Nullable String availabilityControlProfile, @Nullable Boolean availabilityControlIsActive, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String investmentProfile, List<EnterpriseProjectElement> toEnterpriseProjectElement, @Nullable EntProjectPublicSector toEntProjectPublicSector)
@Nonnull public Class<EnterpriseProject> getType()
getType
in class VdmObject<EnterpriseProject>
public void setProjectUUID(@Nullable UUID projectUUID)
Original property name from the Odata EDM: ProjectUUID
projectUUID
- Entity Guidpublic void setProjectInternalID(@Nullable String projectInternalID)
Original property name from the Odata EDM: ProjectInternalID
projectInternalID
- Project (internal)public void setProject(@Nullable String project)
Original property name from the Odata EDM: Project
project
- Identification of Entitiespublic void setProjectDescription(@Nullable String projectDescription)
Original property name from the Odata EDM: ProjectDescription
projectDescription
- Descriptionpublic void setEnterpriseProjectType(@Nullable String enterpriseProjectType)
Original property name from the Odata EDM: EnterpriseProjectType
You can define the criteria for a project type.
enterpriseProjectType
- Key identifying a project type.public void setPriorityCode(@Nullable String priorityCode)
Original property name from the Odata EDM: PriorityCode
priorityCode
- Prioritypublic void setProjectStartDate(@Nullable LocalDateTime projectStartDate)
Original property name from the Odata EDM: ProjectStartDate
projectStartDate
- Latest Startpublic void setProjectEndDate(@Nullable LocalDateTime projectEndDate)
Original property name from the Odata EDM: ProjectEndDate
projectEndDate
- Latest Finishpublic void setProcessingStatus(@Nullable String processingStatus)
Original property name from the Odata EDM: ProcessingStatus
processingStatus
- Object Processing Statuspublic void setResponsibleCostCenter(@Nullable String responsibleCostCenter)
Original property name from the Odata EDM: ResponsibleCostCenter
responsibleCostCenter
- Responsible Cost Centerpublic void setProfitCenter(@Nullable String profitCenter)
Original property name from the Odata EDM: ProfitCenter
profitCenter
- Key which together with the controlling area uniquely identifies a profit center.public void setProjectManagerUUID(@Nullable UUID projectManagerUUID)
Original property name from the Odata EDM: ProjectManagerUUID
projectManagerUUID
- The projectManagerUUID to set.public void setProjectProfileCode(@Nullable String projectProfileCode)
Original property name from the Odata EDM: ProjectProfileCode
projectProfileCode
- Key identifying a project profile.public void setFunctionalArea(@Nullable String functionalArea)
Original property name from the Odata EDM: FunctionalArea
Use for Cost-of-Sales AccountingThe functional area is required to create a profit and loss account in Financial Accounting using cost-of-sales accounting. The following are examples of structure criteria:ManufacturingAdministrationSalesResearch and developmentUse for GovernmentThe functional area is needed for Funds Management to meet legal requirements for reporting with functional aspects. You can use the functional area to represent the global targets and goals (such as public safety or city development), in particular the expenses of your organization.Use in cost-of-sales accountingSee the documentation on Filling the Functional Area Field.For comprehensive information on cost-of-sales accounting and on the functional area, see the SAP Library under Accounting -> Financial Accounting -> General Ledger -> Cost-of-Sales Accounting.Use in governmentFor more information on the functional area, see the implementation Guide for Funds Management Government in the section Activate Account Assignment Elements.
functionalArea
- Structure criterion for an enterprise or government based on functional aspects.public void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- The company code is an organizational unit within financial accounting.public void setControllingArea(@Nullable String controllingArea)
Original property name from the Odata EDM: ControllingArea
controllingArea
- Controlling Areapublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setLocation(@Nullable String location)
Original property name from the Odata EDM: Location
location
- Key that identifies the location. The location is subordinate entity in a plant.public void setTaxJurisdiction(@Nullable String taxJurisdiction)
Original property name from the Odata EDM: TaxJurisdiction
taxJurisdiction
- The tax jurisdiction is used for determining the tax rates in the USA. It defines to which tax
authorities you must pay your taxes. It is always the city to which the goods are supplied.public void setProjectCurrency(@Nullable String projectCurrency)
Original property name from the Odata EDM: ProjectCurrency
projectCurrency
- Custom Project Currencypublic void setAvailabilityControlProfile(@Nullable String availabilityControlProfile)
Original property name from the Odata EDM: AvailabilityControlProfile
availabilityControlProfile
- The budget availability control profile brings all parameters together, which are necessary for you to
actively control your budget.public void setAvailabilityControlIsActive(@Nullable Boolean availabilityControlIsActive)
Original property name from the Odata EDM: AvailabilityControlIsActive
availabilityControlIsActive
- Availability control indicator(AVC)public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Timestamp of Last Object Changepublic void setInvestmentProfile(@Nullable String investmentProfile)
Original property name from the Odata EDM: InvestmentProfile
Important control functions of the investment profile:Automatic creation of an asset under construction when you create an internal order or a work breakdown structure (WBS) elementAsset class for the creation of the asset under constructionAsset class for depreciation simulation
investmentProfile
- Investment profileprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<EnterpriseProject>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<EnterpriseProject>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<EnterpriseProject>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<EnterpriseProject>
@Nonnull public static <T> EnterpriseProjectField<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> EnterpriseProjectField<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<EnterpriseProject>
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<EnterpriseProject>
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<EnterpriseProject>
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<EnterpriseProject>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<EnterpriseProject>
@Nonnull public List<EnterpriseProjectElement> fetchEnterpriseProjectElement() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
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 List<EnterpriseProjectElement> getEnterpriseProjectElementOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_EnterpriseProjectElement of a queried EnterpriseProject 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<List<EnterpriseProjectElement>> getEnterpriseProjectElementIfPresent()
If the navigation property for an entity EnterpriseProject 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(@Nonnull List<EnterpriseProjectElement> value)
If the navigation property to_EnterpriseProjectElement of a queried EnterpriseProject 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.
value
- List of EnterpriseProjectElement entities.public void addEnterpriseProjectElement(EnterpriseProjectElement... entity)
If the navigation property to_EnterpriseProjectElement of a queried EnterpriseProject 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.
entity
- Array of EnterpriseProjectElement entities.@Nullable public EntProjectPublicSector fetchEntProjectPublicSector() 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 EntProjectPublicSector getEntProjectPublicSectorOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_EntProjectPublicSector of a queried EnterpriseProject 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<EntProjectPublicSector> getEntProjectPublicSectorIfPresent()
If the navigation property for an entity EnterpriseProject 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 setEntProjectPublicSector(EntProjectPublicSector value)
value
- New EntProjectPublicSector entity.public static EnterpriseProject.EnterpriseProjectBuilder builder()
@Nullable public UUID getProjectUUID()
Original property name from the Odata EDM: ProjectUUID
@Nullable public String getProjectInternalID()
Original property name from the Odata EDM: ProjectInternalID
@Nullable public String getProject()
Original property name from the Odata EDM: Project
@Nullable public String getProjectDescription()
Original property name from the Odata EDM: ProjectDescription
@Nullable public String getEnterpriseProjectType()
Original property name from the Odata EDM: EnterpriseProjectType
You can define the criteria for a project type.
@Nullable public String getPriorityCode()
Original property name from the Odata EDM: PriorityCode
@Nullable public LocalDateTime getProjectStartDate()
Original property name from the Odata EDM: ProjectStartDate
@Nullable public LocalDateTime getProjectEndDate()
Original property name from the Odata EDM: ProjectEndDate
@Nullable public String getProcessingStatus()
Original property name from the Odata EDM: ProcessingStatus
@Nullable public String getResponsibleCostCenter()
Original property name from the Odata EDM: ResponsibleCostCenter
@Nullable public String getProfitCenter()
Original property name from the Odata EDM: ProfitCenter
@Nullable public UUID getProjectManagerUUID()
Original property name from the Odata EDM: ProjectManagerUUID
@Nullable public String getProjectProfileCode()
Original property name from the Odata EDM: ProjectProfileCode
@Nullable public String getFunctionalArea()
Original property name from the Odata EDM: FunctionalArea
Use for Cost-of-Sales AccountingThe functional area is required to create a profit and loss account in Financial Accounting using cost-of-sales accounting. The following are examples of structure criteria:ManufacturingAdministrationSalesResearch and developmentUse for GovernmentThe functional area is needed for Funds Management to meet legal requirements for reporting with functional aspects. You can use the functional area to represent the global targets and goals (such as public safety or city development), in particular the expenses of your organization.Use in cost-of-sales accountingSee the documentation on Filling the Functional Area Field.For comprehensive information on cost-of-sales accounting and on the functional area, see the SAP Library under Accounting -> Financial Accounting -> General Ledger -> Cost-of-Sales Accounting.Use in governmentFor more information on the functional area, see the implementation Guide for Funds Management Government in the section Activate Account Assignment Elements.
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getControllingArea()
Original property name from the Odata EDM: ControllingArea
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getLocation()
Original property name from the Odata EDM: Location
@Nullable public String getTaxJurisdiction()
Original property name from the Odata EDM: TaxJurisdiction
@Nullable public String getProjectCurrency()
Original property name from the Odata EDM: ProjectCurrency
@Nullable public String getAvailabilityControlProfile()
Original property name from the Odata EDM: AvailabilityControlProfile
@Nullable public Boolean getAvailabilityControlIsActive()
Original property name from the Odata EDM: AvailabilityControlIsActive
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public String getInvestmentProfile()
Original property name from the Odata EDM: InvestmentProfile
Important control functions of the investment profile:Automatic creation of an asset under construction when you create an internal order or a work breakdown structure (WBS) elementAsset class for the creation of the asset under constructionAsset class for depreciation simulation
public String toString()
toString
in class VdmObject<EnterpriseProject>
public boolean equals(Object o)
equals
in class VdmObject<EnterpriseProject>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<EnterpriseProject>
public int hashCode()
hashCode
in class VdmObject<EnterpriseProject>
Copyright © 2020 SAP SE. All rights reserved.