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.Java class for SecurityQuestionAnswerType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_ENABLEDstatic ItemNameF_QUESTION_ANSWERstatic ItemNameF_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 PrismContainerValueasPrismContainerValue()ProtectedStringTypebeginQuestionAnswer()SecurityQuestionAnswerTypeclone()SecurityQuestionAnswerTypeenabled(Boolean value)<X> Xend()booleanequals(Object object)LonggetId()ProtectedStringTypegetQuestionAnswer()StringgetQuestionIdentifier()inthashCode()SecurityQuestionAnswerTypeid(Long value)BooleanisEnabled()SecurityQuestionAnswerTypequestionAnswer(ProtectedStringType value)SecurityQuestionAnswerTypequestionIdentifier(String value)voidsetEnabled(Boolean value)voidsetId(Long value)voidsetQuestionAnswer(ProtectedStringType value)voidsetQuestionIdentifier(String value)voidsetupContainerValue(PrismContainerValue containerValue)Setup value to the containerable representation.StringtoString()-
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:
asPrismContainerValuein interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:ContainerableSetup 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:
setupContainerValuein 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()
-
-