Class CleanupPolicyType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CleanupPolicyType
-
- All Implemented Interfaces:
Containerable,DebugDumpable,Serializable,Cloneable
public class CleanupPolicyType extends Object implements Serializable, Cloneable, Containerable
Configuration of cleanup intervals and policies for a specific subsystem or feature.Java class for CleanupPolicyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CleanupPolicyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="maxAge" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> <element name="maxRecords" type="{http://www.w3.org/2001/XMLSchema}int" 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_MAX_AGEstatic ItemNameF_MAX_RECORDS-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description CleanupPolicyType()CleanupPolicyType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValueasPrismContainerValue()CleanupPolicyTypeclone()<X> Xend()booleanequals(Object object)LonggetId()DurationgetMaxAge()IntegergetMaxRecords()inthashCode()CleanupPolicyTypeid(Long value)CleanupPolicyTypemaxAge(Duration value)CleanupPolicyTypemaxRecords(Integer value)voidsetId(Long value)voidsetMaxAge(Duration value)voidsetMaxRecords(Integer value)voidsetupContainerValue(PrismContainerValue containerValue)Setup value to the containerable representation.StringtoString()-
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
-
CleanupPolicyType
public CleanupPolicyType()
-
CleanupPolicyType
public CleanupPolicyType(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()
-
getMaxAge
public Duration getMaxAge()
-
setMaxAge
public void setMaxAge(Duration value)
-
getMaxRecords
public Integer getMaxRecords()
-
setMaxRecords
public void setMaxRecords(Integer value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
maxAge
public CleanupPolicyType maxAge(Duration value)
-
maxRecords
public CleanupPolicyType maxRecords(Integer value)
-
id
public CleanupPolicyType id(Long value)
-
clone
public CleanupPolicyType clone()
-
-