Class SecurityQuestionAnswerType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.SecurityQuestionAnswerType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class SecurityQuestionAnswerType extends Object implements Serializable, Cloneable, Containerable
Answer to the security question. This is a "personalized" answer and it is supposed to be associated with a single user. However, it may also optionally contain a question. E.g. in case a user specified a custom question. <p>Java class for SecurityQuestionAnswerType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="SecurityQuestionAnswerType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="questionIdentifier" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="questionAnswer" type="{http://prism.evolveum.com/xml/ns/public/types-3}ProtectedStringType" minOccurs="0"/> <element name="enabled" 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> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_ENABLED
static ItemName
F_QUESTION_ANSWER
static ItemName
F_QUESTION_IDENTIFIER
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description SecurityQuestionAnswerType()
SecurityQuestionAnswerType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
ProtectedStringType
beginQuestionAnswer()
SecurityQuestionAnswerType
clone()
SecurityQuestionAnswerType
enabled(Boolean value)
<X> X
end()
boolean
equals(Object object)
Long
getId()
ProtectedStringType
getQuestionAnswer()
String
getQuestionIdentifier()
int
hashCode()
SecurityQuestionAnswerType
id(Long value)
Boolean
isEnabled()
SecurityQuestionAnswerType
questionAnswer(ProtectedStringType value)
SecurityQuestionAnswerType
questionIdentifier(String value)
void
setEnabled(Boolean value)
void
setId(Long value)
void
setQuestionAnswer(ProtectedStringType value)
void
setQuestionIdentifier(String 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
-
SecurityQuestionAnswerType
public SecurityQuestionAnswerType()
-
SecurityQuestionAnswerType
public SecurityQuestionAnswerType(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()
-
getQuestionIdentifier
public String getQuestionIdentifier()
-
setQuestionIdentifier
public void setQuestionIdentifier(String value)
-
getQuestionAnswer
public ProtectedStringType getQuestionAnswer()
-
setQuestionAnswer
public void setQuestionAnswer(ProtectedStringType value)
-
isEnabled
public Boolean isEnabled()
-
setEnabled
public void setEnabled(Boolean value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
questionIdentifier
public SecurityQuestionAnswerType questionIdentifier(String value)
-
questionAnswer
public SecurityQuestionAnswerType questionAnswer(ProtectedStringType value)
-
beginQuestionAnswer
public ProtectedStringType beginQuestionAnswer()
-
enabled
public SecurityQuestionAnswerType enabled(Boolean value)
-
id
public SecurityQuestionAnswerType id(Long value)
-
clone
public SecurityQuestionAnswerType clone()
-
-