public class PasswordLifeTimeType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for PasswordLifeTimeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PasswordLifeTimeType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="expiration" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="warnBeforeExpiration" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </element> <element name="lockAfterExpiration" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </element> <element name="minPasswordAge" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="passwordHistoryLength" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
protected Integer |
expiration |
static ItemName |
F_EXPIRATION |
static ItemName |
F_LOCK_AFTER_EXPIRATION |
static ItemName |
F_MIN_PASSWORD_AGE |
static ItemName |
F_PASSWORD_HISTORY_LENGTH |
static ItemName |
F_WARN_BEFORE_EXPIRATION |
protected Integer |
lockAfterExpiration |
protected Integer |
minPasswordAge |
protected Integer |
passwordHistoryLength |
protected Integer |
warnBeforeExpiration |
Constructor and Description |
---|
PasswordLifeTimeType()
Creates a new
PasswordLifeTimeType instance. |
PasswordLifeTimeType(PasswordLifeTimeType o)
Creates a new
PasswordLifeTimeType instance by deeply copying a given PasswordLifeTimeType instance. |
Modifier and Type | Method and Description |
---|---|
void |
accept(JaxbVisitor visitor) |
PasswordLifeTimeType |
clone()
Creates and returns a deep copy of this object.
|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
PasswordLifeTimeType |
expiration(Integer value) |
Integer |
getExpiration()
Gets the value of the expiration property.
|
Integer |
getLockAfterExpiration()
Gets the value of the lockAfterExpiration property.
|
Integer |
getMinPasswordAge()
Gets the value of the minPasswordAge property.
|
Integer |
getPasswordHistoryLength()
Gets the value of the passwordHistoryLength property.
|
Integer |
getWarnBeforeExpiration()
Gets the value of the warnBeforeExpiration property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
PasswordLifeTimeType |
lockAfterExpiration(Integer value) |
PasswordLifeTimeType |
minPasswordAge(Integer value) |
PasswordLifeTimeType |
passwordHistoryLength(Integer value) |
void |
setExpiration(Integer value)
Sets the value of the expiration property.
|
void |
setLockAfterExpiration(Integer value)
Sets the value of the lockAfterExpiration property.
|
void |
setMinPasswordAge(Integer value)
Sets the value of the minPasswordAge property.
|
void |
setPasswordHistoryLength(Integer value)
Sets the value of the passwordHistoryLength property.
|
void |
setWarnBeforeExpiration(Integer value)
Sets the value of the warnBeforeExpiration property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
PasswordLifeTimeType |
warnBeforeExpiration(Integer value) |
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected Integer expiration
protected Integer warnBeforeExpiration
protected Integer lockAfterExpiration
protected Integer minPasswordAge
protected Integer passwordHistoryLength
public static final QName COMPLEX_TYPE
public static final ItemName F_EXPIRATION
public static final ItemName F_WARN_BEFORE_EXPIRATION
public static final ItemName F_LOCK_AFTER_EXPIRATION
public static final ItemName F_MIN_PASSWORD_AGE
public static final ItemName F_PASSWORD_HISTORY_LENGTH
public PasswordLifeTimeType()
PasswordLifeTimeType
instance.public PasswordLifeTimeType(PasswordLifeTimeType o)
PasswordLifeTimeType
instance by deeply copying a given PasswordLifeTimeType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public Integer getExpiration()
Integer
public void setExpiration(Integer value)
value
- allowed object is
Integer
public Integer getWarnBeforeExpiration()
Integer
public void setWarnBeforeExpiration(Integer value)
value
- allowed object is
Integer
public Integer getLockAfterExpiration()
Integer
public void setLockAfterExpiration(Integer value)
value
- allowed object is
Integer
public Integer getMinPasswordAge()
Integer
public void setMinPasswordAge(Integer value)
value
- allowed object is
Integer
public Integer getPasswordHistoryLength()
Integer
public void setPasswordHistoryLength(Integer value)
value
- allowed object is
Integer
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public PasswordLifeTimeType expiration(Integer value)
public PasswordLifeTimeType warnBeforeExpiration(Integer value)
public PasswordLifeTimeType lockAfterExpiration(Integer value)
public PasswordLifeTimeType minPasswordAge(Integer value)
public PasswordLifeTimeType passwordHistoryLength(Integer value)
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public PasswordLifeTimeType clone()
Copyright © 2020 Evolveum. All rights reserved.