|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.validation.result.ProcessorResult
public class ProcessorResult
defines the information expected when a processor has processed a constraint
ConstraintProcessor
Constructor Summary | |
---|---|
ProcessorResult(ConstraintValidationResult constraintValidationResult)
creates a processor result from the provided constraint validation result |
|
ProcessorResult(ConstraintValidationResult constraintValidationResult,
Constrainable definition,
AttributeValueReader attributeValueReader,
Constraint... constraints)
creates a processor result from the parameters provided |
|
ProcessorResult(ConstraintValidationResult constraintValidationResult,
Constrainable definition,
AttributeValueReader attributeValueReader,
List<Constraint> constraints)
creates a processor result from the parameters provided |
|
ProcessorResult(List<ConstraintValidationResult> constraintValidationResults)
creates a processor result from the provided constraint validation results |
|
ProcessorResult(List<ConstraintValidationResult> constraintValidationResults,
Constrainable definition,
AttributeValueReader attributeValueReader,
Constraint... constraints)
creates a processor result from the parameters provided |
Method Summary | |
---|---|
AttributeValueReader |
getAttributeValueReader()
|
List<Constraint> |
getConstraints()
|
List<ConstraintValidationResult> |
getConstraintValidationResults()
|
Constrainable |
getDefinition()
|
ConstraintValidationResult |
getFirstConstraintValidationResult()
gets the first constraint validation result |
boolean |
isAttributeValueReaderProvided()
checks whether an attribute value reader is present |
boolean |
isDefinitionProvided()
checks whether a Data Dictionary definition is present |
boolean |
isSingleConstraintResult()
checks whether this object has a single constraint validation result |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessorResult(ConstraintValidationResult constraintValidationResult)
constraintValidationResult
- - the constraint validation resultpublic ProcessorResult(ConstraintValidationResult constraintValidationResult, Constrainable definition, AttributeValueReader attributeValueReader, Constraint... constraints)
constraintValidationResult
- - the constraint validation resultdefinition
- - a Data Dictionary definition e.g. ComplexAttributeDefinition
or CollectionDefinition
attributeValueReader
- - provides access to the attribute being validatedconstraints
- - optional constraints to usepublic ProcessorResult(ConstraintValidationResult constraintValidationResult, Constrainable definition, AttributeValueReader attributeValueReader, List<Constraint> constraints)
constraintValidationResult
- - the constraint validation resultdefinition
- - a Data Dictionary definition e.g. ComplexAttributeDefinition
or CollectionDefinition
attributeValueReader
- - provides access to the attribute being validatedconstraints
- - the list of constraints to usepublic ProcessorResult(List<ConstraintValidationResult> constraintValidationResults)
constraintValidationResults
- - the constraint validation results to usepublic ProcessorResult(List<ConstraintValidationResult> constraintValidationResults, Constrainable definition, AttributeValueReader attributeValueReader, Constraint... constraints)
constraintValidationResults
- - the constraint validation resultsdefinition
- - a Data Dictionary definition e.g. ComplexAttributeDefinition
or CollectionDefinition
attributeValueReader
- - provides access to the attribute being validatedconstraints
- - optional constraints to useMethod Detail |
---|
public boolean isSingleConstraintResult()
public boolean isDefinitionProvided()
public boolean isAttributeValueReaderProvided()
public ConstraintValidationResult getFirstConstraintValidationResult()
public List<ConstraintValidationResult> getConstraintValidationResults()
public Constrainable getDefinition()
public AttributeValueReader getAttributeValueReader()
public List<Constraint> getConstraints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |