de.schwarzrot.ui.validation.constraints
Class VCDbIsAccessible<E extends Entity>
java.lang.Object
de.schwarzrot.ui.validation.constraints.AbstractValidationConstraint<E>
de.schwarzrot.ui.validation.constraints.VCDbIsAccessible<E>
- Type Parameters:
E
- - the type of the bean, the presentation model cares about
- All Implemented Interfaces:
- ValidationConstraint
public class VCDbIsAccessible<E extends Entity>
- extends AbstractValidationConstraint<E>
to check, whether the database could be accessed with the given properties.
- Author:
- Reinhard Mantey
Method Summary |
boolean |
matches()
the validation kernel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VCDbIsAccessible
public VCDbIsAccessible(com.jgoodies.binding.PresentationModel<E> model,
String propDbDriver,
String propDbType,
String propDbHost,
String propDbPort,
String propDbName,
String propDbUser,
String propDbPass)
matches
public boolean matches()
- Description copied from interface:
ValidationConstraint
- the validation kernel
- Returns:
- true - if the property passed validation
false - if the property failed on validation
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.