Class ErrorState
java.lang.Object
io.dialob.session.engine.session.model.ErrorState
- All Implemented Interfaces:
SessionObject,Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionErrorState(ErrorId targetId, ErrorState errorState) ErrorState(ErrorId targetId, String label) ErrorState(ErrorState errorState) ErrorState(ItemId itemId, String code, String label) -
Method Summary
Modifier and TypeMethodDescriptiongetCode()getId()booleanisActive()booleanbooleanstatic ErrorStatereadFrom(com.google.protobuf.CodedInputStream input) update(EvalContext context) withErrorId(ErrorId targetId) voidwriteTo(com.google.protobuf.CodedOutputStream output)
-
Constructor Details
-
ErrorState
-
ErrorState
-
ErrorState
-
ErrorState
-
-
Method Details
-
update
-
withErrorId
-
getId
- Specified by:
getIdin interfaceSessionObject
-
getItemId
-
getCode
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceSessionObject- Returns:
- true when item is relevant to questionnaire.
-
isDisabled
public boolean isDisabled()- Specified by:
isDisabledin interfaceSessionObject- Returns:
- true if item should not be shown to user
-
isDisplayItem
public boolean isDisplayItem()- Specified by:
isDisplayItemin interfaceSessionObject- Returns:
- true if item is not variable or something similar that will not be shown to user.
-
writeTo
- Throws:
IOException
-
readFrom
- Throws:
IOException
-