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<Short>Use with available fluent helpers to apply the FunctionalAreaIsFixAssigned_fc field to query operations.static final EntProjectElmntPublicSectorField<String>Use with available fluent helpers to apply the Fund field to query operations.static final EntProjectElmntPublicSectorField<Short>Use with available fluent helpers to apply the Fund_fc field to query operations.static final EntProjectElmntPublicSectorField<Boolean>Use with available fluent helpers to apply the FundIsFixAssigned field to query operations.static final EntProjectElmntPublicSectorField<Short>Use with available fluent helpers to apply the FundIsFixAssigned_fc field to query operations.static final EntProjectElmntPublicSectorField<String>Use with available fluent helpers to apply the GrantID field to query operations.static final EntProjectElmntPublicSectorField<Short>Use with available fluent helpers to apply the GrantID_fc field to query operations.static final EntProjectElmntPublicSectorField<Boolean>Use with available fluent helpers to apply the GrantIsFixAssigned field to query operations.static final EntProjectElmntPublicSectorField<Short>Use with available fluent helpers to apply the GrantIsFixAssigned_fc field to query operations.static final EntProjectElmntPublicSectorField<UUID>Use with available fluent helpers to apply the ProjectElementUUID 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.static final EntProjectElmntPublicSectorField<Short>Use with available fluent helpers to apply the SponsoredProgram_fc field to query operations.static final EntProjectElmntPublicSectorOneToOneLink<EnterpriseProject>Use with available fluent helpers to apply the to_EnterpriseProject navigation property to query operations.Use with available fluent helpers to apply the to_EnterpriseProjectElement navigation property to query operations.static final EntProjectElmntPublicSectorField<Boolean>Use with available fluent helpers to apply the Update_mc field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionEntProjectElmntPublicSector(Short functionalAreaIsFixAssigned_fc, Short fund_fc, Short fundIsFixAssigned_fc, Short grantID_fc, Short grantIsFixAssigned_fc, Short sponsoredProgram_fc, Boolean update_mc, UUID projectElementUUID, UUID projectUUID, String fund, Boolean fundIsFixAssigned, Boolean functionalAreaIsFixAssigned, String grantID, Boolean grantIsFixAssigned, String sponsoredProgram, EnterpriseProjectElement toEnterpriseProjectElement, EnterpriseProject toEnterpriseProject) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the EnterpriseProject entity (one to one) associated with this entity.Fetches 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).io.vavr.control.Option<EnterpriseProject>Retrieval of associated EnterpriseProject entity (one to one).Retrieval of associated EnterpriseProject entity (one to one).protected StringConstraints: noneConstraints: nonegetFund()Constraints: Not nullable, Maximum length: 10Constraints: noneConstraints: noneConstraints: noneConstraints: Not nullable, Maximum length: 20Constraints: noneConstraints: noneConstraints: nonegetKey()(Key Field) Constraints: Not nullableConstraints: noneConstraints: Not nullable, Maximum length: 20Constraints: nonegetType()Constraints: noneinthashCode()voidOverwrites the associated EnterpriseProject entity for the loaded navigation property to_EnterpriseProject.voidOverwrites the associated EnterpriseProjectElement entity for the loaded navigation property to_EnterpriseProjectElement.voidsetFunctionalAreaIsFixAssigned(Boolean functionalAreaIsFixAssigned) Constraints: nonevoidsetFunctionalAreaIsFixAssigned_fc(Short functionalAreaIsFixAssigned_fc) Constraints: nonevoidConstraints: Not nullable, Maximum length: 10voidsetFund_fc(Short fund_fc) Constraints: nonevoidsetFundIsFixAssigned(Boolean fundIsFixAssigned) Constraints: nonevoidsetFundIsFixAssigned_fc(Short fundIsFixAssigned_fc) Constraints: nonevoidsetGrantID(String grantID) Constraints: Not nullable, Maximum length: 20voidsetGrantID_fc(Short grantID_fc) Constraints: nonevoidsetGrantIsFixAssigned(Boolean grantIsFixAssigned) Constraints: nonevoidsetGrantIsFixAssigned_fc(Short grantIsFixAssigned_fc) Constraints: nonevoidsetProjectElementUUID(UUID projectElementUUID) (Key Field) Constraints: Not nullablevoidsetProjectUUID(UUID projectUUID) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) voidsetSponsoredProgram(String sponsoredProgram) Constraints: Not nullable, Maximum length: 20voidsetSponsoredProgram_fc(Short sponsoredProgram_fc) Constraints: nonevoidsetUpdate_mc(Boolean update_mc) Constraints: nonetoString()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. -
FUNCTIONAL_AREA_IS_FIX_ASSIGNED_FC
Use with available fluent helpers to apply the FunctionalAreaIsFixAssigned_fc field to query operations. -
FUND_FC
Use with available fluent helpers to apply the Fund_fc field to query operations. -
FUND_IS_FIX_ASSIGNED_FC
Use with available fluent helpers to apply the FundIsFixAssigned_fc field to query operations. -
GRANT_ID_FC
Use with available fluent helpers to apply the GrantID_fc field to query operations. -
GRANT_IS_FIX_ASSIGNED_FC
Use with available fluent helpers to apply the GrantIsFixAssigned_fc field to query operations. -
SPONSORED_PROGRAM_FC
Use with available fluent helpers to apply the SponsoredProgram_fc field to query operations. -
UPDATE_MC
Use with available fluent helpers to apply the Update_mc field to query operations. -
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. -
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. -
TO_ENTERPRISE_PROJECT
public static final EntProjectElmntPublicSectorOneToOneLink<EnterpriseProject> TO_ENTERPRISE_PROJECTUse with available fluent helpers to apply the to_EnterpriseProject navigation property to query operations.
-
-
Constructor Details
-
EntProjectElmntPublicSector
public EntProjectElmntPublicSector() -
EntProjectElmntPublicSector
public EntProjectElmntPublicSector(@Nullable Short functionalAreaIsFixAssigned_fc, @Nullable Short fund_fc, @Nullable Short fundIsFixAssigned_fc, @Nullable Short grantID_fc, @Nullable Short grantIsFixAssigned_fc, @Nullable Short sponsoredProgram_fc, @Nullable Boolean update_mc, @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 EnterpriseProjectElement toEnterpriseProjectElement, @Nullable EnterpriseProject toEnterpriseProject)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EntProjectElmntPublicSector>
-
setFunctionalAreaIsFixAssigned_fc
Constraints: noneOriginal property name from the Odata EDM: FunctionalAreaIsFixAssigned_fc
- Parameters:
functionalAreaIsFixAssigned_fc- Dyn. Field Control
-
setFund_fc
Constraints: noneOriginal property name from the Odata EDM: Fund_fc
- Parameters:
fund_fc- Dyn. Field Control
-
setFundIsFixAssigned_fc
Constraints: noneOriginal property name from the Odata EDM: FundIsFixAssigned_fc
- Parameters:
fundIsFixAssigned_fc- Dyn. Field Control
-
setGrantID_fc
Constraints: noneOriginal property name from the Odata EDM: GrantID_fc
- Parameters:
grantID_fc- Dyn. Field Control
-
setGrantIsFixAssigned_fc
Constraints: noneOriginal property name from the Odata EDM: GrantIsFixAssigned_fc
- Parameters:
grantIsFixAssigned_fc- Dyn. Field Control
-
setSponsoredProgram_fc
Constraints: noneOriginal property name from the Odata EDM: SponsoredProgram_fc
- Parameters:
sponsoredProgram_fc- Dyn. Field Control
-
setUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Parameters:
update_mc- Dyn. Method Control
-
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
- Parameters:
fund- 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
- Parameters:
grantID- Grant
-
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
- Parameters:
sponsoredProgram- Sponsored Program
-
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.
-
fetchEnterpriseProject
Fetches the EnterpriseProject entity (one to one) associated with this entity. This corresponds to the OData navigation property to_EnterpriseProject.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated EnterpriseProject 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.
-
getEnterpriseProjectOrFetch
Retrieval of associated EnterpriseProject entity (one to one). This corresponds to the OData navigation property to_EnterpriseProject.If the navigation property to_EnterpriseProject 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 EnterpriseProject 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.
-
getEnterpriseProjectIfPresent
Retrieval of associated EnterpriseProject entity (one to one). This corresponds to the OData navigation property to_EnterpriseProject.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_EnterpriseProject is already loaded, the result will
contain the EnterpriseProject entity. If not, an
Optionwith result stateemptyis returned.
-
setEnterpriseProject
Overwrites the associated EnterpriseProject entity for the loaded navigation property to_EnterpriseProject.- Parameters:
value- New EnterpriseProject entity.
-
builder
-
getFunctionalAreaIsFixAssigned_fc
Constraints: noneOriginal property name from the Odata EDM: FunctionalAreaIsFixAssigned_fc
- Returns:
- Dyn. Field Control
-
getFund_fc
Constraints: noneOriginal property name from the Odata EDM: Fund_fc
- Returns:
- Dyn. Field Control
-
getFundIsFixAssigned_fc
Constraints: noneOriginal property name from the Odata EDM: FundIsFixAssigned_fc
- Returns:
- Dyn. Field Control
-
getGrantID_fc
Constraints: noneOriginal property name from the Odata EDM: GrantID_fc
- Returns:
- Dyn. Field Control
-
getGrantIsFixAssigned_fc
Constraints: noneOriginal property name from the Odata EDM: GrantIsFixAssigned_fc
- Returns:
- Dyn. Field Control
-
getSponsoredProgram_fc
Constraints: noneOriginal property name from the Odata EDM: SponsoredProgram_fc
- Returns:
- Dyn. Field Control
-
getUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Returns:
- Dyn. Method Control
-
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
- Returns:
- 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
- Returns:
- Grant
-
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
- Returns:
- Sponsored Program
-
toString
- Overrides:
toStringin classVdmObject<EntProjectElmntPublicSector>
-
equals
- Overrides:
equalsin classVdmEntity<EntProjectElmntPublicSector>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EntProjectElmntPublicSector>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EntProjectElmntPublicSector>
-