Class ReportDef
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ReportDef_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ReportDef instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ReportDef>Selector for all available fields of ReportDef.static final SimpleProperty.String<ReportDef>static final NavigationProperty.Collection<ReportDef,DocumentDef> Use with available request builders to apply the _DocumentDef navigation property to query operations.static final NavigationProperty.Collection<ReportDef,ReportParameterDef> Use with available request builders to apply the _ReportParameterDef navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionReportDef(String statryRptDef, List<DocumentDef> to_DocumentDef, List<ReportParameterDef> to_ReportParameterDef) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDocumentDef(DocumentDef... entity) Adds elements to the list of associated DocumentDef entities.voidaddReportParameterDef(ReportParameterDef... entity) Adds elements to the list of associated ReportParameterDef entities.static ReportDef.ReportDefBuilderbuilder()protected booleanbooleanprotected voidprotected Stringio.vavr.control.Option<List<DocumentDef>>Retrieval of associated DocumentDef entities (one to many).protected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<List<ReportParameterDef>>Retrieval of associated ReportParameterDef entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 30getType()inthashCode()voidsetDocumentDef(List<DocumentDef> value) Overwrites the list of associated DocumentDef entities for the loaded navigation property _DocumentDef.voidOverwrites the list of associated ReportParameterDef entities for the loaded navigation property _ReportParameterDef.voidsetStatryRptDef(String statryRptDef) (Key Field) Constraints: Not nullable, Maximum length: 30toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, 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 ReportDef. -
STATRY_RPT_DEF
-
TO__DOCUMENT_DEF
Use with available request builders to apply the _DocumentDef navigation property to query operations. -
TO__REPORT_PARAMETER_DEF
public static final NavigationProperty.Collection<ReportDef,ReportParameterDef> TO__REPORT_PARAMETER_DEFUse with available request builders to apply the _ReportParameterDef navigation property to query operations.
-
-
Constructor Details
-
ReportDef
public ReportDef() -
ReportDef
public ReportDef(@Nullable String statryRptDef, List<DocumentDef> to_DocumentDef, List<ReportParameterDef> to_ReportParameterDef)
-
-
Method Details
-
getType
-
setStatryRptDef
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptDef
- Parameters:
statryRptDef- Report Definition
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ReportDef>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ReportDef>
-
fromMap
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ReportDef>
-
getDocumentDefIfPresent
Retrieval of associated DocumentDef entities (one to many). This corresponds to the OData navigation property _DocumentDef.If the navigation property for an entity ReportDef 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 _DocumentDef is already loaded, the result will contain
the DocumentDef entities. If not, an
Optionwith result stateemptyis returned.
-
setDocumentDef
Overwrites the list of associated DocumentDef entities for the loaded navigation property _DocumentDef.If the navigation property _DocumentDef of a queried ReportDef 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.
- Parameters:
value- List of DocumentDef entities.
-
addDocumentDef
Adds elements to the list of associated DocumentDef entities. This corresponds to the OData navigation property _DocumentDef.If the navigation property _DocumentDef of a queried ReportDef 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.
- Parameters:
entity- Array of DocumentDef entities.
-
getReportParameterDefIfPresent
Retrieval of associated ReportParameterDef entities (one to many). This corresponds to the OData navigation property _ReportParameterDef.If the navigation property for an entity ReportDef 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 _ReportParameterDef is already loaded, the result will
contain the ReportParameterDef entities. If not, an
Optionwith result stateemptyis returned.
-
setReportParameterDef
Overwrites the list of associated ReportParameterDef entities for the loaded navigation property _ReportParameterDef.If the navigation property _ReportParameterDef of a queried ReportDef 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.
- Parameters:
value- List of ReportParameterDef entities.
-
addReportParameterDef
Adds elements to the list of associated ReportParameterDef entities. This corresponds to the OData navigation property _ReportParameterDef.If the navigation property _ReportParameterDef of a queried ReportDef 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.
- Parameters:
entity- Array of ReportParameterDef entities.
-
builder
-
getStatryRptDef
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptDef
- Returns:
- Report Definition
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getOdataType
- Specified by:
getOdataTypein classVdmObject<ReportDef>
-