Class AbstractCredentialType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractCredentialType
-
- All Implemented Interfaces:
Containerable
,Serializable
,Cloneable
- Direct Known Subclasses:
NonceType
,PasswordType
,SecurityQuestionsCredentialsType
public abstract class AbstractCredentialType extends Object implements Serializable, Cloneable, Containerable
Java class for AbstractCredentialType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractCredentialType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="failedLogins" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="lastSuccessfulLogin" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LoginEventType" minOccurs="0"/> <element name="previousSuccessfulLogin" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LoginEventType" minOccurs="0"/> <element name="lastFailedLogin" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LoginEventType" minOccurs="0"/> <element name="metadata" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MetadataType" minOccurs="0"/> <element name="forceChange" type="{http://www.w3.org/2001/XMLSchema}boolean" 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_FAILED_LOGINS
static ItemName
F_FORCE_CHANGE
static ItemName
F_LAST_FAILED_LOGIN
static ItemName
F_LAST_SUCCESSFUL_LOGIN
static ItemName
F_METADATA
static ItemName
F_NAME
static ItemName
F_PREVIOUS_SUCCESSFUL_LOGIN
-
Constructor Summary
Constructors Constructor Description AbstractCredentialType()
AbstractCredentialType(PrismContext prismContext)
-
Method Summary
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_NAME
public static final ItemName F_NAME
-
F_FAILED_LOGINS
public static final ItemName F_FAILED_LOGINS
-
F_LAST_SUCCESSFUL_LOGIN
public static final ItemName F_LAST_SUCCESSFUL_LOGIN
-
F_PREVIOUS_SUCCESSFUL_LOGIN
public static final ItemName F_PREVIOUS_SUCCESSFUL_LOGIN
-
F_LAST_FAILED_LOGIN
public static final ItemName F_LAST_FAILED_LOGIN
-
F_METADATA
public static final ItemName F_METADATA
-
F_FORCE_CHANGE
public static final ItemName F_FORCE_CHANGE
-
-
Constructor Detail
-
AbstractCredentialType
public AbstractCredentialType()
-
AbstractCredentialType
public AbstractCredentialType(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()
-
getName
public String getName()
-
setName
public void setName(String value)
-
getFailedLogins
public Integer getFailedLogins()
-
setFailedLogins
public void setFailedLogins(Integer value)
-
getLastSuccessfulLogin
public LoginEventType getLastSuccessfulLogin()
-
setLastSuccessfulLogin
public void setLastSuccessfulLogin(LoginEventType value)
-
getPreviousSuccessfulLogin
public LoginEventType getPreviousSuccessfulLogin()
-
setPreviousSuccessfulLogin
public void setPreviousSuccessfulLogin(LoginEventType value)
-
getLastFailedLogin
public LoginEventType getLastFailedLogin()
-
setLastFailedLogin
public void setLastFailedLogin(LoginEventType value)
-
getMetadata
public MetadataType getMetadata()
-
setMetadata
public void setMetadata(MetadataType value)
-
isForceChange
public Boolean isForceChange()
-
setForceChange
public void setForceChange(Boolean value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
name
public AbstractCredentialType name(String value)
-
failedLogins
public AbstractCredentialType failedLogins(Integer value)
-
lastSuccessfulLogin
public AbstractCredentialType lastSuccessfulLogin(LoginEventType value)
-
beginLastSuccessfulLogin
public LoginEventType beginLastSuccessfulLogin()
-
previousSuccessfulLogin
public AbstractCredentialType previousSuccessfulLogin(LoginEventType value)
-
beginPreviousSuccessfulLogin
public LoginEventType beginPreviousSuccessfulLogin()
-
lastFailedLogin
public AbstractCredentialType lastFailedLogin(LoginEventType value)
-
beginLastFailedLogin
public LoginEventType beginLastFailedLogin()
-
metadata
public AbstractCredentialType metadata(MetadataType value)
-
beginMetadata
public MetadataType beginMetadata()
-
forceChange
public AbstractCredentialType forceChange(Boolean value)
-
id
public AbstractCredentialType id(Long value)
-
clone
public AbstractCredentialType clone()
-
-