Class WorkDefinitionBean
java.lang.Object
com.evolveum.midpoint.schema.util.task.work.WorkDefinitionBean
- Direct Known Subclasses:
WorkDefinitionBean.Typed
,WorkDefinitionBean.Untyped
Represents statically or dynamically defined activity work definition.
Both kinds are subtypes of
AbstractWorkDefinitionType
.
However, the former ones (WorkDefinitionBean.Typed
) are compile-time defined, and thus representable as Containerable
Java objects. The latter ones (WorkDefinitionBean.Untyped
) are defined dynamically, and can be represented only
as PrismContainerValue
Java objects; at least for now.
The naming is not very clear, as the word "bean" is used ambiguously. To be resolved somehow.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Statically defined (usually, midPoint-provided) beans.static class
Run-time defined, usually customer provided beans. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract @NotNull AbstractWorkDefinitionType
getBean()
To be used only for typed values.abstract @NotNull QName
Returns the type name, e.g.abstract @NotNull PrismContainerValue<?>
getValue()
-
Constructor Details
-
WorkDefinitionBean
public WorkDefinitionBean()
-
-
Method Details
-
getBeanTypeName
Returns the type name, e.g. `c:ReconciliationWorkDefinitionType` or `ext:MyCustomDefinitionType`. -
getValue
-
getBean
To be used only for typed values. Fails when called on untyped value.
-