- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: Run_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of Run instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<Run,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<Run>Selector for all available fields of Run.static final SimpleProperty.String<Run>static final SimpleProperty.String<Run>static final SimpleProperty.Guid<Run>static final SimpleProperty.String<Run>static final SimpleProperty.String<Run>static final SimpleProperty.String<Run>static final SimpleProperty.Guid<Run>static final SimpleProperty.String<Run>static final SimpleProperty.String<Run>static final SimpleProperty.String<Run>static final SimpleProperty.Guid<Run>static final SimpleProperty.DateTime<Run>static final SimpleProperty.Date<Run>static final SimpleProperty.Date<Run>static final SimpleProperty.Date<Run>static final SimpleProperty.Guid<Run>static final SimpleProperty.String<Run>static final NavigationProperty.Single<Run,Activity> Use with available request builders to apply the _Activity navigation property to query operations.static final NavigationProperty.Collection<Run,RunParameter> Use with available request builders to apply the _RunParameter navigation property to query operations.static final NavigationProperty.Single<Run,Task> Use with available request builders to apply the _Task 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
ConstructorsConstructorDescriptionRun()Run(UUID statryRptRunUUID, UUID statryRptActivityUUID, UUID statryRptPhaseUUID, UUID statryRptTaskUUID, String statryRptgEntity, String statryRptCategory, String statryRptRunID, String statryRptRunStatus, String statryRptRunType, OffsetDateTime statryRptSubmittedDateTime, String statryRptCatPhase, String statryRptDef, LocalDate statryRptTaskPeriodStartDate, LocalDate statryRptTaskPeriodEndDate, LocalDate statryRptTaskDueDate, String reportingYear, String applicationJobName, Collection<SAP__Message> _Messages, Activity to_Activity, List<RunParameter> to_RunParameter, Task to_Task) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRunParameter(RunParameter... entity) Adds elements to the list of associated RunParameter entities.static Run.RunBuilderbuilder()protected booleanbooleanprotected voidConstraints: Not nullableio.vavr.control.Option<Activity>Retrieval of associated Activity entity (one to one).Constraints: Not nullable, Maximum length: 32protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 4io.vavr.control.Option<List<RunParameter>>Retrieval of associated RunParameter entities (one to many).Constraints: Not nullableConstraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 10Constraints: NullableConstraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 5(Key Field) Constraints: Not nullableConstraints: NullableConstraints: NullableConstraints: NullableConstraints: NullableConstraints: Not nullableio.vavr.control.Option<Task>Retrieval of associated Task entity (one to one).getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetActivity(Activity value) Overwrites the associated Activity entity for the loaded navigation property _Activity.voidsetApplicationJobName(String applicationJobName) Constraints: Not nullable, Maximum length: 32voidsetReportingYear(String reportingYear) Constraints: Not nullable, Maximum length: 4voidsetRunParameter(List<RunParameter> value) Overwrites the list of associated RunParameter entities for the loaded navigation property _RunParameter.voidsetStatryRptActivityUUID(UUID statryRptActivityUUID) Constraints: Not nullablevoidsetStatryRptCategory(String statryRptCategory) Constraints: Not nullable, Maximum length: 30voidsetStatryRptCatPhase(String statryRptCatPhase) Constraints: Not nullable, Maximum length: 5voidsetStatryRptDef(String statryRptDef) Constraints: Not nullable, Maximum length: 30voidsetStatryRptgEntity(String statryRptgEntity) Constraints: Not nullable, Maximum length: 10voidsetStatryRptPhaseUUID(UUID statryRptPhaseUUID) Constraints: NullablevoidsetStatryRptRunID(String statryRptRunID) Constraints: Not nullable, Maximum length: 8voidsetStatryRptRunStatus(String statryRptRunStatus) Constraints: Not nullable, Maximum length: 3voidsetStatryRptRunType(String statryRptRunType) Constraints: Not nullable, Maximum length: 5voidsetStatryRptRunUUID(UUID statryRptRunUUID) (Key Field) Constraints: Not nullablestatic BoundAction.SingleToSingle<Run,Run> Action that can be applied to any entity object of this class.static BoundAction.SingleToSingle<Run,Run> Action that can be applied to any entity object of this class.static BoundAction.SingleToSingle<Run,Run> Action that can be applied to any entity object of this class.voidsetStatryRptSubmittedDateTime(OffsetDateTime statryRptSubmittedDateTime) Constraints: NullablevoidsetStatryRptTaskDueDate(LocalDate statryRptTaskDueDate) Constraints: NullablevoidsetStatryRptTaskPeriodEndDate(LocalDate statryRptTaskPeriodEndDate) Constraints: NullablevoidsetStatryRptTaskPeriodStartDate(LocalDate statryRptTaskPeriodStartDate) Constraints: NullablevoidsetStatryRptTaskUUID(UUID statryRptTaskUUID) Constraints: Not nullablevoidOverwrites the associated Task entity for the loaded navigation property _Task.static BoundAction.SingleToSingle<Run,Run> Action that can be applied to any entity object of this class.toString()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 Run. -
STATRY_RPT_RUN_UUID
-
STATRY_RPT_ACTIVITY_UUID
-
STATRY_RPT_PHASE_UUID
-
STATRY_RPT_TASK_UUID
-
STATRY_RPTG_ENTITY
-
STATRY_RPT_CATEGORY
-
STATRY_RPT_RUN_ID
-
STATRY_RPT_RUN_STATUS
-
STATRY_RPT_RUN_TYPE
-
STATRY_RPT_SUBMITTED_DATE_TIME
-
STATRY_RPT_CAT_PHASE
-
STATRY_RPT_DEF
-
STATRY_RPT_TASK_PERIOD_START_DATE
-
STATRY_RPT_TASK_PERIOD_END_DATE
-
STATRY_RPT_TASK_DUE_DATE
-
REPORTING_YEAR
-
APPLICATION_JOB_NAME
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__ACTIVITY
Use with available request builders to apply the _Activity navigation property to query operations. -
TO__RUN_PARAMETER
Use with available request builders to apply the _RunParameter navigation property to query operations. -
TO__TASK
Use with available request builders to apply the _Task navigation property to query operations.
-
-
Constructor Details
-
Run
public Run() -
Run
public Run(@Nullable UUID statryRptRunUUID, @Nullable UUID statryRptActivityUUID, @Nullable UUID statryRptPhaseUUID, @Nullable UUID statryRptTaskUUID, @Nullable String statryRptgEntity, @Nullable String statryRptCategory, @Nullable String statryRptRunID, @Nullable String statryRptRunStatus, @Nullable String statryRptRunType, @Nullable OffsetDateTime statryRptSubmittedDateTime, @Nullable String statryRptCatPhase, @Nullable String statryRptDef, @Nullable LocalDate statryRptTaskPeriodStartDate, @Nullable LocalDate statryRptTaskPeriodEndDate, @Nullable LocalDate statryRptTaskDueDate, @Nullable String reportingYear, @Nullable String applicationJobName, @Nullable Collection<SAP__Message> _Messages, @Nullable Activity to_Activity, List<RunParameter> to_RunParameter, @Nullable Task to_Task)
-
-
Method Details
-
getType
-
setStatryRptRunUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: StatryRptRunUUID
- Parameters:
statryRptRunUUID- NodeID
-
setStatryRptActivityUUID
Constraints: Not nullableOriginal property name from the Odata EDM: StatryRptActivityUUID
- Parameters:
statryRptActivityUUID- NodeID
-
setStatryRptPhaseUUID
Constraints: NullableOriginal property name from the Odata EDM: StatryRptPhaseUUID
- Parameters:
statryRptPhaseUUID- NodeID
-
setStatryRptTaskUUID
Constraints: Not nullableOriginal property name from the Odata EDM: StatryRptTaskUUID
- Parameters:
statryRptTaskUUID- NodeID
-
setStatryRptgEntity
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: StatryRptgEntity
- Parameters:
statryRptgEntity- Reporting Entity
-
setStatryRptCategory
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptCategory
- Parameters:
statryRptCategory- Report Category ID
-
setStatryRptRunID
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: StatryRptRunID
- Parameters:
statryRptRunID- Report Run ID
-
setStatryRptRunStatus
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: StatryRptRunStatus
- Parameters:
statryRptRunStatus- Report Run Status
-
setStatryRptRunType
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: StatryRptRunType
- Parameters:
statryRptRunType- Report Run Type
-
setStatryRptSubmittedDateTime
Constraints: NullableOriginal property name from the Odata EDM: StatryRptSubmittedDateTime
- Parameters:
statryRptSubmittedDateTime- Timestamp for Submission
-
setStatryRptCatPhase
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: StatryRptCatPhase
- Parameters:
statryRptCatPhase- Report Category Phase
-
setStatryRptDef
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptDef
- Parameters:
statryRptDef- Report Definition
-
setStatryRptTaskPeriodStartDate
Constraints: NullableOriginal property name from the Odata EDM: StatryRptTaskPeriodStartDate
- Parameters:
statryRptTaskPeriodStartDate- Reporting Period Start Date
-
setStatryRptTaskPeriodEndDate
Constraints: NullableOriginal property name from the Odata EDM: StatryRptTaskPeriodEndDate
- Parameters:
statryRptTaskPeriodEndDate- Reporting Period End Date
-
setStatryRptTaskDueDate
Constraints: NullableOriginal property name from the Odata EDM: StatryRptTaskDueDate
- Parameters:
statryRptTaskDueDate- Due Date
-
setReportingYear
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ReportingYear
- Parameters:
reportingYear- Reporting Year
-
setApplicationJobName
Constraints: Not nullable, Maximum length: 32Original property name from the Odata EDM: ApplicationJobName
- Parameters:
applicationJobName- Background Job Name
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<Run>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<Run>
-
fromMap
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<Run>
-
getActivityIfPresent
Retrieval of associated Activity entity (one to one). This corresponds to the OData navigation property _Activity.If the navigation property for an entity Run 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 _Activity is already loaded, the result will contain
the Activity entity. If not, an
Optionwith result stateemptyis returned.
-
setActivity
Overwrites the associated Activity entity for the loaded navigation property _Activity.- Parameters:
value- New Activity entity.
-
getRunParameterIfPresent
Retrieval of associated RunParameter entities (one to many). This corresponds to the OData navigation property _RunParameter.If the navigation property for an entity Run 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 _RunParameter is already loaded, the result will
contain the RunParameter entities. If not, an
Optionwith result stateemptyis returned.
-
setRunParameter
Overwrites the list of associated RunParameter entities for the loaded navigation property _RunParameter.If the navigation property _RunParameter of a queried Run 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 RunParameter entities.
-
addRunParameter
Adds elements to the list of associated RunParameter entities. This corresponds to the OData navigation property _RunParameter.If the navigation property _RunParameter of a queried Run 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 RunParameter entities.
-
getTaskIfPresent
Retrieval of associated Task entity (one to one). This corresponds to the OData navigation property _Task.If the navigation property for an entity Run 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 _Task is already loaded, the result will contain the
Task entity. If not, an
Optionwith result stateemptyis returned.
-
setTask
Overwrites the associated Task entity for the loaded navigation property _Task.- Parameters:
value- New Task entity.
-
submitStatryRptToGovernment
Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
setStatryRptStatusToDeclined
Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
setStatryRptStatusToAccepted
Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
setStatryRptStatusToSubmitted
Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getStatryRptRunUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: StatryRptRunUUID
- Returns:
- NodeID
-
getStatryRptActivityUUID
Constraints: Not nullableOriginal property name from the Odata EDM: StatryRptActivityUUID
- Returns:
- NodeID
-
getStatryRptPhaseUUID
Constraints: NullableOriginal property name from the Odata EDM: StatryRptPhaseUUID
- Returns:
- NodeID
-
getStatryRptTaskUUID
Constraints: Not nullableOriginal property name from the Odata EDM: StatryRptTaskUUID
- Returns:
- NodeID
-
getStatryRptgEntity
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: StatryRptgEntity
- Returns:
- Reporting Entity
-
getStatryRptCategory
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptCategory
- Returns:
- Report Category ID
-
getStatryRptRunID
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: StatryRptRunID
- Returns:
- Report Run ID
-
getStatryRptRunStatus
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: StatryRptRunStatus
- Returns:
- Report Run Status
-
getStatryRptRunType
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: StatryRptRunType
- Returns:
- Report Run Type
-
getStatryRptSubmittedDateTime
Constraints: NullableOriginal property name from the Odata EDM: StatryRptSubmittedDateTime
- Returns:
- Timestamp for Submission
-
getStatryRptCatPhase
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: StatryRptCatPhase
- Returns:
- Report Category Phase
-
getStatryRptDef
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptDef
- Returns:
- Report Definition
-
getStatryRptTaskPeriodStartDate
Constraints: NullableOriginal property name from the Odata EDM: StatryRptTaskPeriodStartDate
- Returns:
- Reporting Period Start Date
-
getStatryRptTaskPeriodEndDate
Constraints: NullableOriginal property name from the Odata EDM: StatryRptTaskPeriodEndDate
- Returns:
- Reporting Period End Date
-
getStatryRptTaskDueDate
Constraints: NullableOriginal property name from the Odata EDM: StatryRptTaskDueDate
- Returns:
- Due Date
-
getReportingYear
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ReportingYear
- Returns:
- Reporting Year
-
getApplicationJobName
Constraints: Not nullable, Maximum length: 32Original property name from the Odata EDM: ApplicationJobName
- Returns:
- Background Job Name
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getOdataType
- Specified by:
getOdataTypein classVdmObject<Run>
-