org.qtitools.qti.validation
Interface ValidationItem

All Known Implementing Classes:
AbstractValidationItem, AttributeValidationError, BaseTypeValidationError, CardinalityValidationError, ItemFlowValidationError, ValidationError, ValidationInfo, ValidationWarning

public interface ValidationItem

One item of validation (the smallest piece of indivisible information).

Author:
Jiri Kajaba

Method Summary
 java.lang.String getMessage()
          Gets message of this item.
 XmlNode getNode()
          Gets source node of this item.
 Validatable getSource()
          Gets source of this item.
 ValidationType getType()
          Gets type of this item.
 void setNode(XmlNode node)
           
 

Method Detail

getType

ValidationType getType()
Gets type of this item.

Returns:
type of this item
See Also:
ValidationType

getSource

Validatable getSource()
Gets source of this item.

Returns:
source of this item

getNode

XmlNode getNode()
Gets source node of this item.

Returns:
source node of this item

setNode

void setNode(XmlNode node)

getMessage

java.lang.String getMessage()
Gets message of this item.

Returns:
message of this item


Copyright © 2009. All Rights Reserved.