|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.instancevalidator.InstanceValidator
public class InstanceValidator
Validator for instances using constraints.
Constructor Summary | |
---|---|
InstanceValidator()
|
Method Summary | |
---|---|
protected static boolean |
skipValidation(TypeDefinition typeDef,
Object value)
Determines if validation should be skipped for a certain property type and value. |
static InstanceValidationReporter |
validate(Instance instance)
Validates the given Instance . |
static InstanceValidationReporter |
validate(Object object,
ChildDefinition<?> childDef)
Validates the given object. |
static InstanceValidationReport |
validateInstances(InstanceCollection instances,
org.eclipse.core.runtime.IProgressMonitor monitor)
Validates the given instances using all constraints that are validatable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstanceValidator()
Method Detail |
---|
public static InstanceValidationReport validateInstances(InstanceCollection instances, org.eclipse.core.runtime.IProgressMonitor monitor)
instances
- the instances to validatemonitor
- the progress monitor
public static InstanceValidationReporter validate(Object object, ChildDefinition<?> childDef)
InstanceReference
set.
object
- the object to validate (i. e. an instance, group or basic
value)childDef
- the child definition of the given object
public static InstanceValidationReporter validate(Instance instance)
Instance
. The created reports messages do not
have an InstanceReference
set.
instance
- the instance to validate
protected static boolean skipValidation(TypeDefinition typeDef, Object value)
typeDef
- the property typevalue
- the property value
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |