Class IntegerStatType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.IntegerStatType
-
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class IntegerStatType extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
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
static Producer<IntegerStatType>
FACTORY
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description IntegerStatType()
IntegerStatType(PrismContext context)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerStatType
clone()
IntegerStatType
domain(Integer value)
<X> X
end()
boolean
equals(Object other)
Integer
getDomain()
Float
getPercentage()
XMLGregorianCalendar
getTimestamp()
Integer
getValue()
IntegerStatType
id(Long value)
IntegerStatType
percentage(Float value)
void
setDomain(Integer value)
void
setPercentage(Float value)
void
setTimestamp(XMLGregorianCalendar value)
void
setValue(Integer value)
IntegerStatType
timestamp(String value)
IntegerStatType
timestamp(XMLGregorianCalendar value)
IntegerStatType
value(Integer value)
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, 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, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_VALUE
public static final ItemName F_VALUE
-
F_DOMAIN
public static final ItemName F_DOMAIN
-
F_PERCENTAGE
public static final ItemName F_PERCENTAGE
-
F_TIMESTAMP
public static final ItemName F_TIMESTAMP
-
FACTORY
public static final Producer<IntegerStatType> FACTORY
-
-
Constructor Detail
-
IntegerStatType
public IntegerStatType()
-
IntegerStatType
@Deprecated public IntegerStatType(PrismContext context)
Deprecated.
-
-
Method Detail
-
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)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
public IntegerStatType id(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)
-
end
public <X> X end()
-
clone
public IntegerStatType clone()
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
-