Class IntegerStatType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.IntegerStatType
-
- All Implemented Interfaces:
Containerable,DebugDumpable,Serializable,Cloneable
public class IntegerStatType extends Object implements Serializable, Cloneable, Containerable
Integer stat (statistic) entry. This entry contains stat value, together with domain value. The purpose is that both absolute values and percentages can be determined. The entry contains (optional) timestamp to determine freshness of the data and/or sort and plot them.Java class for IntegerStatType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="IntegerStatType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="domain" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="percentage" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/> <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> </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 QNameCOMPLEX_TYPEstatic ItemNameF_DOMAINstatic ItemNameF_PERCENTAGEstatic ItemNameF_TIMESTAMPstatic ItemNameF_VALUE-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description IntegerStatType()IntegerStatType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValueasPrismContainerValue()IntegerStatTypeclone()IntegerStatTypedomain(Integer value)<X> Xend()booleanequals(Object object)IntegergetDomain()LonggetId()FloatgetPercentage()XMLGregorianCalendargetTimestamp()IntegergetValue()inthashCode()IntegerStatTypeid(Long value)IntegerStatTypepercentage(Float value)voidsetDomain(Integer value)voidsetId(Long value)voidsetPercentage(Float value)voidsetTimestamp(XMLGregorianCalendar value)voidsetupContainerValue(PrismContainerValue containerValue)Setup value to the containerable representation.voidsetValue(Integer value)IntegerStatTypetimestamp(String value)IntegerStatTypetimestamp(XMLGregorianCalendar value)StringtoString()IntegerStatTypevalue(Integer value)-
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
-
IntegerStatType
public IntegerStatType()
-
IntegerStatType
public IntegerStatType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValuein interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:ContainerableSetup 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:
setupContainerValuein interfaceContainerable
-
end
public <X> X end()
-
getValue
public Integer getValue()
-
setValue
public void setValue(Integer value)
-
getDomain
public Integer getDomain()
-
setDomain
public void setDomain(Integer value)
-
getPercentage
public Float getPercentage()
-
setPercentage
public void setPercentage(Float value)
-
getTimestamp
public XMLGregorianCalendar getTimestamp()
-
setTimestamp
public void setTimestamp(XMLGregorianCalendar value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
value
public IntegerStatType value(Integer value)
-
domain
public IntegerStatType domain(Integer value)
-
percentage
public IntegerStatType percentage(Float value)
-
timestamp
public IntegerStatType timestamp(XMLGregorianCalendar value)
-
timestamp
public IntegerStatType timestamp(String value)
-
id
public IntegerStatType id(Long value)
-
clone
public IntegerStatType clone()
-
-