Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.instance.extension.validation
Class ConstraintValidatorFactory

java.lang.Object
  extended by de.cs3d.util.eclipse.extension.AbstractObjectDefinition
      extended by de.cs3d.util.eclipse.extension.AbstractObjectFactory<T>
          extended by de.cs3d.util.eclipse.extension.AbstractConfigurationFactory<ConstraintValidator>
              extended by eu.esdihumboldt.hale.common.instance.extension.validation.ConstraintValidatorFactory
All Implemented Interfaces:
de.cs3d.util.eclipse.extension.ExtensionObjectDefinition, de.cs3d.util.eclipse.extension.ExtensionObjectFactory<ConstraintValidator>, de.cs3d.util.eclipse.extension.Prioritizable, Comparable<de.cs3d.util.eclipse.extension.ExtensionObjectDefinition>

public class ConstraintValidatorFactory
extends de.cs3d.util.eclipse.extension.AbstractConfigurationFactory<ConstraintValidator>

Factory for constraint validators.

Author:
Kai Schwierczek

Field Summary
 
Fields inherited from class de.cs3d.util.eclipse.extension.AbstractConfigurationFactory
conf
 
Constructor Summary
ConstraintValidatorFactory(org.eclipse.core.runtime.IConfigurationElement conf)
          Create a ConstraintValidator factory based on the given configuration element.
 
Method Summary
 void dispose(ConstraintValidator arg0)
           
 Class<?> getConstraintClass()
          Get the class of the associated constraint.
 String getDisplayName()
           
 String getIdentifier()
           
 boolean isGroupPropertyConstraintValidator()
          Checks whether this factory belongs to a group property constraint.
 boolean isPropertyConstraintValidator()
          Checks whether this factory belongs to a property constraint.
 boolean isTypeConstraintValidator()
          Checks whether this factory belongs to a type constraint.
 
Methods inherited from class de.cs3d.util.eclipse.extension.AbstractConfigurationFactory
createExtensionObject, getIconURL, getTypeName
 
Methods inherited from class de.cs3d.util.eclipse.extension.AbstractObjectFactory
allowConfigure, configure, getIconURL
 
Methods inherited from class de.cs3d.util.eclipse.extension.AbstractObjectDefinition
compareTo, equals, getPriority, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

ConstraintValidatorFactory

public ConstraintValidatorFactory(org.eclipse.core.runtime.IConfigurationElement conf)
Create a ConstraintValidator factory based on the given configuration element.

Parameters:
conf - the configuration element
Method Detail

dispose

public void dispose(ConstraintValidator arg0)
See Also:
ExtensionObjectFactory.dispose(java.lang.Object)

getDisplayName

public String getDisplayName()
See Also:
ExtensionObjectDefinition.getDisplayName()

getIdentifier

public String getIdentifier()
See Also:
ExtensionObjectDefinition.getIdentifier()

isTypeConstraintValidator

public boolean isTypeConstraintValidator()
Checks whether this factory belongs to a type constraint.

Returns:
true, if this factory belongs to a type constraint, false otherwise

isPropertyConstraintValidator

public boolean isPropertyConstraintValidator()
Checks whether this factory belongs to a property constraint.

Returns:
true, if this factory belongs to a property constraint, false otherwise

isGroupPropertyConstraintValidator

public boolean isGroupPropertyConstraintValidator()
Checks whether this factory belongs to a group property constraint.

Returns:
true, if this factory belongs to a group property constraint, false otherwise

getConstraintClass

public Class<?> getConstraintClass()
Get the class of the associated constraint.

Returns:
the class of the associated constraint.

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d