Class DashboardWidgetVariationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.DashboardWidgetVariationType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class DashboardWidgetVariationType extends Object implements Serializable, Cloneable, Containerable
Conditional variation in the way how the widget is displayed. Variations may change colors or icons of the widget based on a condition.Java class for DashboardWidgetVariationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DashboardWidgetVariationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="condition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> <element name="display" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}DisplayType"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_CONDITION
static ItemName
F_DISPLAY
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description DashboardWidgetVariationType()
DashboardWidgetVariationType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
ExpressionType
beginCondition()
DisplayType
beginDisplay()
DashboardWidgetVariationType
clone()
DashboardWidgetVariationType
condition(ExpressionType value)
DashboardWidgetVariationType
display(DisplayType value)
<X> X
end()
boolean
equals(Object object)
ExpressionType
getCondition()
DisplayType
getDisplay()
Long
getId()
int
hashCode()
DashboardWidgetVariationType
id(Long value)
void
setCondition(ExpressionType value)
void
setDisplay(DisplayType value)
void
setId(Long value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.String
toString()
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
DashboardWidgetVariationType
public DashboardWidgetVariationType()
-
DashboardWidgetVariationType
public DashboardWidgetVariationType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getCondition
public ExpressionType getCondition()
-
setCondition
public void setCondition(ExpressionType value)
-
getDisplay
public DisplayType getDisplay()
-
setDisplay
public void setDisplay(DisplayType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
condition
public DashboardWidgetVariationType condition(ExpressionType value)
-
beginCondition
public ExpressionType beginCondition()
-
display
public DashboardWidgetVariationType display(DisplayType value)
-
beginDisplay
public DisplayType beginDisplay()
-
id
public DashboardWidgetVariationType id(Long value)
-
clone
public DashboardWidgetVariationType clone()
-
-