public class CleanupPolicyType extends Object implements Serializable, Cloneable, Containerable
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> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
static ItemName |
F_MAX_AGE |
static ItemName |
F_MAX_RECORDS |
Constructor and Description |
---|
CleanupPolicyType() |
CleanupPolicyType(PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
PrismContainerValue |
asPrismContainerValue() |
CleanupPolicyType |
clone() |
<X> X |
end() |
boolean |
equals(Object object) |
Duration |
getMaxAge() |
Integer |
getMaxRecords() |
int |
hashCode() |
CleanupPolicyType |
maxAge(Duration value) |
CleanupPolicyType |
maxRecords(Integer value) |
void |
setMaxAge(Duration value) |
void |
setMaxRecords(Integer value) |
void |
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.
|
String |
toString() |
public static final QName COMPLEX_TYPE
public static final ItemName F_MAX_AGE
public static final ItemName F_MAX_RECORDS
public CleanupPolicyType()
public CleanupPolicyType(PrismContext prismContext)
public PrismContainerValue asPrismContainerValue()
asPrismContainerValue
in interface Containerable
public void setupContainerValue(PrismContainerValue containerValue)
Containerable
setupContainerValue
in interface Containerable
public <X> X end()
public Duration getMaxAge()
public void setMaxAge(Duration value)
public Integer getMaxRecords()
public void setMaxRecords(Integer value)
public CleanupPolicyType maxAge(Duration value)
public CleanupPolicyType maxRecords(Integer value)
public CleanupPolicyType clone()
Copyright © 2021 Evolveum. All rights reserved.