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 QName
COMPLEX_TYPE
static ItemName
F_DOMAIN
static ItemName
F_PERCENTAGE
static ItemName
F_TIMESTAMP
static ItemName
F_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 PrismContainerValue
asPrismContainerValue()
IntegerStatType
clone()
IntegerStatType
domain(Integer value)
<X> X
end()
boolean
equals(Object object)
Integer
getDomain()
Long
getId()
Float
getPercentage()
XMLGregorianCalendar
getTimestamp()
Integer
getValue()
int
hashCode()
IntegerStatType
id(Long value)
IntegerStatType
percentage(Float value)
void
setDomain(Integer value)
void
setId(Long value)
void
setPercentage(Float value)
void
setTimestamp(XMLGregorianCalendar value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.void
setValue(Integer value)
IntegerStatType
timestamp(String value)
IntegerStatType
timestamp(XMLGregorianCalendar value)
String
toString()
IntegerStatType
value(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:
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()
-
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()
-
-