Class Activity
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: Activity_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of Activity instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<Activity,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<Activity>Selector for all available fields of Activity.static final SimpleProperty.String<Activity>static final SimpleProperty.String<Activity>static final SimpleProperty.String<Activity>static final SimpleProperty.String<Activity>static final SimpleProperty.Guid<Activity>static final SimpleProperty.String<Activity>static final SimpleProperty.Guid<Activity>static final SimpleProperty.Date<Activity>static final SimpleProperty.Guid<Activity>static final SimpleProperty.String<Activity>static final NavigationProperty.Single<Activity,Phase> Use with available request builders to apply the _Phase navigation property to query operations.static final NavigationProperty.Collection<Activity,Run> Use with available request builders to apply the _Run navigation property to query operations.static final NavigationProperty.Single<Activity,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
ConstructorsConstructorDescriptionActivity()Activity(UUID statryRptActivityUUID, UUID statryRptPhaseUUID, UUID statryRptTaskUUID, String statryRptgEntity, String statryRptCategory, String statryRptActivityId, String statryRptActivityType, String statryRptActivityPhase, String statryRptActivityStatus, LocalDate statryRptTaskDueDate, Collection<SAP__Message> _Messages, Phase to_Phase, List<Run> to_Run, Task to_Task) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated Run entities.static Activity.ActivityBuilderbuilder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<Phase>Retrieval of associated Phase entity (one to one).Retrieval of associated Run entities (one to many).Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 5(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 10Constraints: Not 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 nullablevoidOverwrites the associated Phase entity for the loaded navigation property _Phase.voidOverwrites the list of associated Run entities for the loaded navigation property _Run.voidsetStatryRptActivityId(String statryRptActivityId) Constraints: Not nullable, Maximum length: 30voidsetStatryRptActivityPhase(String statryRptActivityPhase) Constraints: Not nullable, Maximum length: 5voidsetStatryRptActivityStatus(String statryRptActivityStatus) Constraints: Not nullable, Maximum length: 5voidsetStatryRptActivityType(String statryRptActivityType) Constraints: Not nullable, Maximum length: 5voidsetStatryRptActivityUUID(UUID statryRptActivityUUID) (Key Field) Constraints: Not nullablevoidsetStatryRptCategory(String statryRptCategory) Constraints: Not nullable, Maximum length: 30voidsetStatryRptgEntity(String statryRptgEntity) Constraints: Not nullable, Maximum length: 10voidsetStatryRptPhaseUUID(UUID statryRptPhaseUUID) Constraints: Not nullablevoidsetStatryRptTaskDueDate(LocalDate statryRptTaskDueDate) Constraints: NullablevoidsetStatryRptTaskUUID(UUID statryRptTaskUUID) Constraints: Not nullablevoidOverwrites the associated Task entity for the loaded navigation property _Task.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 Activity. -
STATRY_RPT_ACTIVITY_UUID
-
STATRY_RPT_PHASE_UUID
-
STATRY_RPT_TASK_UUID
-
STATRY_RPTG_ENTITY
-
STATRY_RPT_CATEGORY
-
STATRY_RPT_ACTIVITY_ID
-
STATRY_RPT_ACTIVITY_TYPE
-
STATRY_RPT_ACTIVITY_PHASE
-
STATRY_RPT_ACTIVITY_STATUS
-
STATRY_RPT_TASK_DUE_DATE
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__PHASE
Use with available request builders to apply the _Phase navigation property to query operations. -
TO__RUN
Use with available request builders to apply the _Run navigation property to query operations. -
TO__TASK
Use with available request builders to apply the _Task navigation property to query operations.
-
-
Constructor Details
-
Activity
public Activity() -
Activity
public Activity(@Nullable UUID statryRptActivityUUID, @Nullable UUID statryRptPhaseUUID, @Nullable UUID statryRptTaskUUID, @Nullable String statryRptgEntity, @Nullable String statryRptCategory, @Nullable String statryRptActivityId, @Nullable String statryRptActivityType, @Nullable String statryRptActivityPhase, @Nullable String statryRptActivityStatus, @Nullable LocalDate statryRptTaskDueDate, @Nullable Collection<SAP__Message> _Messages, @Nullable Phase to_Phase, List<Run> to_Run, @Nullable Task to_Task)
-
-
Method Details
-
getType
-
setStatryRptActivityUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: StatryRptActivityUUID
- Parameters:
statryRptActivityUUID- NodeID
-
setStatryRptPhaseUUID
Constraints: Not 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
-
setStatryRptActivityId
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptActivityId
- Parameters:
statryRptActivityId- Activity ID
-
setStatryRptActivityType
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: StatryRptActivityType
- Parameters:
statryRptActivityType- Activity Type
-
setStatryRptActivityPhase
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: StatryRptActivityPhase
- Parameters:
statryRptActivityPhase- Report Category Phase
-
setStatryRptActivityStatus
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: StatryRptActivityStatus
- Parameters:
statryRptActivityStatus- Activity Status
-
setStatryRptTaskDueDate
Constraints: NullableOriginal property name from the Odata EDM: StatryRptTaskDueDate
- Parameters:
statryRptTaskDueDate- Due Date
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<Activity>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<Activity>
-
fromMap
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<Activity>
-
getPhaseIfPresent
Retrieval of associated Phase entity (one to one). This corresponds to the OData navigation property _Phase.If the navigation property for an entity Activity 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 _Phase is already loaded, the result will contain the
Phase entity. If not, an
Optionwith result stateemptyis returned.
-
setPhase
Overwrites the associated Phase entity for the loaded navigation property _Phase.- Parameters:
value- New Phase entity.
-
getRunIfPresent
Retrieval of associated Run entities (one to many). This corresponds to the OData navigation property _Run.If the navigation property for an entity Activity 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 _Run is already loaded, the result will contain the
Run entities. If not, an
Optionwith result stateemptyis returned.
-
setRun
Overwrites the list of associated Run entities for the loaded navigation property _Run.If the navigation property _Run of a queried Activity 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 Run entities.
-
addRun
Adds elements to the list of associated Run entities. This corresponds to the OData navigation property _Run.If the navigation property _Run of a queried Activity 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 Run 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 Activity 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.
-
skipStatryRptActivity
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
-
getStatryRptActivityUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: StatryRptActivityUUID
- Returns:
- NodeID
-
getStatryRptPhaseUUID
Constraints: Not 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
-
getStatryRptActivityId
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptActivityId
- Returns:
- Activity ID
-
getStatryRptActivityType
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: StatryRptActivityType
- Returns:
- Activity Type
-
getStatryRptActivityPhase
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: StatryRptActivityPhase
- Returns:
- Report Category Phase
-
getStatryRptActivityStatus
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: StatryRptActivityStatus
- Returns:
- Activity Status
-
getStatryRptTaskDueDate
Constraints: NullableOriginal property name from the Odata EDM: StatryRptTaskDueDate
- Returns:
- Due Date
-
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<Activity>
-