Interface ConstraintDao
-
- All Known Implementing Classes:
DefaultConstraintDao
public interface ConstraintDaoTheAbstractConstraintModelDAO.- Spring Bean ID:
- constraintDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<AbstractConstraintModel>getAllConstraints()Gets all constraints instances.java.util.List<AbstractConstraintModel>getConstraintDuplicates(AbstractConstraintModel constraintModel)java.util.List<ComposedTypeModel>getConstraintedComposedTypes()Gets the list of composed type 'affected' by any attached constraint, this means haveAbstractConstraintModel.TYPEset as reference to existing type in system.java.util.List<AbstractConstraintModel>getPojoRelatedConstraints()Gets the list of theAbstractConstraintModelwhich are attached to any POJO and are not attached to any model, this means not have haveAbstractConstraintModel.TYPEset as reference to existing type in system.java.lang.ClassgetTargetClass(ConstraintGroupModel group)Internal use only.
-
-
-
Method Detail
-
getConstraintedComposedTypes
java.util.List<ComposedTypeModel> getConstraintedComposedTypes()
Gets the list of composed type 'affected' by any attached constraint, this means haveAbstractConstraintModel.TYPEset as reference to existing type in system.
-
getPojoRelatedConstraints
java.util.List<AbstractConstraintModel> getPojoRelatedConstraints()
Gets the list of theAbstractConstraintModelwhich are attached to any POJO and are not attached to any model, this means not have haveAbstractConstraintModel.TYPEset as reference to existing type in system.
-
getAllConstraints
java.util.List<AbstractConstraintModel> getAllConstraints()
Gets all constraints instances.
-
getConstraintDuplicates
java.util.List<AbstractConstraintModel> getConstraintDuplicates(AbstractConstraintModel constraintModel)
-
getTargetClass
java.lang.Class getTargetClass(ConstraintGroupModel group)
Internal use only. Returns the (loaded) java class or creates a java class on runtime based on the value ofConstraintGroupModel.getInterfaceName(). The class is loaded into the VM and is available during runtime. This is needed for the validation framework only.
-
-