Class SecurityQuestionAnswerType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.SecurityQuestionAnswerType
-
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class SecurityQuestionAnswerType extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
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
static Producer<SecurityQuestionAnswerType>
FACTORY
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description SecurityQuestionAnswerType()
SecurityQuestionAnswerType(PrismContext context)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityQuestionAnswerType
clone()
SecurityQuestionAnswerType
enabled(Boolean value)
<X> X
end()
boolean
equals(Object other)
ProtectedStringType
getQuestionAnswer()
String
getQuestionIdentifier()
SecurityQuestionAnswerType
id(Long value)
Boolean
isEnabled()
SecurityQuestionAnswerType
questionAnswer(ProtectedStringType value)
SecurityQuestionAnswerType
questionIdentifier(String value)
void
setEnabled(Boolean value)
void
setQuestionAnswer(ProtectedStringType value)
void
setQuestionIdentifier(String value)
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, 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, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_QUESTION_IDENTIFIER
public static final ItemName F_QUESTION_IDENTIFIER
-
F_QUESTION_ANSWER
public static final ItemName F_QUESTION_ANSWER
-
F_ENABLED
public static final ItemName F_ENABLED
-
FACTORY
public static final Producer<SecurityQuestionAnswerType> FACTORY
-
-
Constructor Detail
-
SecurityQuestionAnswerType
public SecurityQuestionAnswerType()
-
SecurityQuestionAnswerType
@Deprecated public SecurityQuestionAnswerType(PrismContext context)
Deprecated.
-
-
Method Detail
-
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)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
public SecurityQuestionAnswerType id(Long value)
-
questionIdentifier
public SecurityQuestionAnswerType questionIdentifier(String value)
-
questionAnswer
public SecurityQuestionAnswerType questionAnswer(ProtectedStringType value)
-
enabled
public SecurityQuestionAnswerType enabled(Boolean value)
-
end
public <X> X end()
-
clone
public SecurityQuestionAnswerType clone()
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
-