Class EntProjectPublicSector
Original entity name from the Odata EDM: A_EntProjectPublicSectorType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of EntProjectPublicSector instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EntProjectPublicSectorSelectableSelector for all available fields of EntProjectPublicSector.static final EntProjectPublicSectorField<Boolean>Use with available fluent helpers to apply the FunctionalAreaIsFixAssigned field to query operations.static final EntProjectPublicSectorField<String>Use with available fluent helpers to apply the Fund field to query operations.static final EntProjectPublicSectorField<Boolean>Use with available fluent helpers to apply the FundIsFixAssigned field to query operations.static final EntProjectPublicSectorField<String>Use with available fluent helpers to apply the GrantID field to query operations.static final EntProjectPublicSectorField<Boolean>Use with available fluent helpers to apply the GrantIsFixAssigned field to query operations.static final EntProjectPublicSectorField<UUID>Use with available fluent helpers to apply the ProjectUUID field to query operations.static final EntProjectPublicSectorField<String>Use with available fluent helpers to apply the SponsoredProgram field to query operations.static final EntProjectPublicSectorOneToOneLink<EnterpriseProject>Use with available fluent helpers to apply the to_EnterpriseProject navigation property to query operations.static final EntProjectPublicSectorField<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
ConstructorsConstructorDescriptionEntProjectPublicSector(Boolean update_mc, UUID projectUUID, String fund, Boolean fundIsFixAssigned, Boolean functionalAreaIsFixAssigned, String grantID, Boolean grantIsFixAssigned, String sponsoredProgram, EnterpriseProject toEnterpriseProject) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the EnterpriseProject entity (one to one) associated with this entity.static <T,DomainT>
EntProjectPublicSectorField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> EntProjectPublicSectorField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringio.vavr.control.Option<EnterpriseProject>Retrieval of associated EnterpriseProject entity (one to one).Retrieval of associated EnterpriseProject 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, Maximum length: 20getType()Constraints: noneinthashCode()voidOverwrites the associated EnterpriseProject entity for the loaded navigation property to_EnterpriseProject.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: nonevoidsetProjectUUID(UUID projectUUID) (Key Field) Constraints: Not nullableprotected voidsetServicePathForFetch(String servicePathForFetch) voidsetSponsoredProgram(String sponsoredProgram) Constraints: Not nullable, Maximum length: 20voidsetUpdate_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 EntProjectPublicSector. -
UPDATE_MC
Use with available fluent helpers to apply the Update_mc 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
Use with available fluent helpers to apply the to_EnterpriseProject navigation property to query operations.
-
-
Constructor Details
-
EntProjectPublicSector
public EntProjectPublicSector() -
EntProjectPublicSector
public EntProjectPublicSector(@Nullable Boolean update_mc, @Nullable UUID projectUUID, @Nullable String fund, @Nullable Boolean fundIsFixAssigned, @Nullable Boolean functionalAreaIsFixAssigned, @Nullable String grantID, @Nullable Boolean grantIsFixAssigned, @Nullable String sponsoredProgram, @Nullable EnterpriseProject toEnterpriseProject)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EntProjectPublicSector>
-
setUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Parameters:
update_mc- Dyn. Method Control
-
setProjectUUID
(Key Field) Constraints: Not nullableOriginal 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<EntProjectPublicSector>
-
getKey
- Overrides:
getKeyin classVdmObject<EntProjectPublicSector>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EntProjectPublicSector>
-
fromMap
- Overrides:
fromMapin classVdmObject<EntProjectPublicSector>
-
field
@Nonnull public static <T> EntProjectPublicSectorField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> EntProjectPublicSectorField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the 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<EntProjectPublicSector>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<EntProjectPublicSector>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<EntProjectPublicSector>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EntProjectPublicSector>
-
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 EntProjectPublicSector 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 EntProjectPublicSector 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
-
getUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Returns:
- Dyn. Method Control
-
getProjectUUID
(Key Field) Constraints: Not nullableOriginal 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<EntProjectPublicSector>
-
equals
- Overrides:
equalsin classVdmEntity<EntProjectPublicSector>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EntProjectPublicSector>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EntProjectPublicSector>
-