Class DocumentDef
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<DocumentDef>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.statutoryreportingreportdefinition.DocumentDef
- All Implemented Interfaces:
VdmEntitySet
Statutory Reporting Document Definition
Original entity name from the Odata EDM: DocumentDef_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of DocumentDef instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<DocumentDef>Selector for all available fields of DocumentDef.static final SimpleProperty.String<DocumentDef>static final SimpleProperty.String<DocumentDef>static final NavigationProperty.Single<DocumentDef,ReportDef> Use with available request builders to apply the _ReportDef 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
ConstructorsConstructorDescriptionDocumentDef(String statryRptDef, String statryRptDocumentID, ReportDef to_ReportDef) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<ReportDef>Retrieval of associated ReportDef entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 30(Key Field) Constraints: Not nullable, Maximum length: 30getType()inthashCode()voidsetReportDef(ReportDef value) Overwrites the associated ReportDef entity for the loaded navigation property _ReportDef.voidsetStatryRptDef(String statryRptDef) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetStatryRptDocumentID(String statryRptDocumentID) (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 DocumentDef. -
STATRY_RPT_DEF
-
STATRY_RPT_DOCUMENT_ID
-
TO__REPORT_DEF
Use with available request builders to apply the _ReportDef navigation property to query operations.
-
-
Constructor Details
-
DocumentDef
public DocumentDef() -
DocumentDef
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<DocumentDef>
-
setStatryRptDef
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptDef
- Parameters:
statryRptDef- Report Definition
-
setStatryRptDocumentID
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptDocumentID
- Parameters:
statryRptDocumentID- Document ID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<DocumentDef>
-
getKey
- Overrides:
getKeyin classVdmObject<DocumentDef>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<DocumentDef>
-
fromMap
- Overrides:
fromMapin classVdmObject<DocumentDef>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<DocumentDef>
-
getReportDefIfPresent
Retrieval of associated ReportDef entity (one to one). This corresponds to the OData navigation property _ReportDef.If the navigation property for an entity DocumentDef 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 _ReportDef is already loaded, the result will contain
the ReportDef entity. If not, an
Optionwith result stateemptyis returned.
-
setReportDef
Overwrites the associated ReportDef entity for the loaded navigation property _ReportDef.- Parameters:
value- New ReportDef entity.
-
builder
-
getStatryRptDef
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptDef
- Returns:
- Report Definition
-
getStatryRptDocumentID
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptDocumentID
- Returns:
- Document ID
-
toString
- Overrides:
toStringin classVdmObject<DocumentDef>
-
equals
- Overrides:
equalsin classVdmEntity<DocumentDef>
-
canEqual
- Overrides:
canEqualin classVdmEntity<DocumentDef>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<DocumentDef>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<DocumentDef>
-