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 QName
COMPLEX_TYPE
static ItemName
F_MAX_AGE
static ItemName
F_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 PrismContainerValue
asPrismContainerValue()
CleanupPolicyType
clone()
<X> X
end()
boolean
equals(Object object)
Long
getId()
Duration
getMaxAge()
Integer
getMaxRecords()
int
hashCode()
CleanupPolicyType
id(Long value)
CleanupPolicyType
maxAge(Duration value)
CleanupPolicyType
maxRecords(Integer value)
void
setId(Long value)
void
setMaxAge(Duration value)
void
setMaxRecords(Integer 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
-
CleanupPolicyType
public CleanupPolicyType()
-
CleanupPolicyType
public CleanupPolicyType(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()
-
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()
-
-