Interface ConstraintDao
- All Known Implementing Classes:
DefaultConstraintDao
public interface ConstraintDao
The
AbstractConstraintModel DAO.- Spring Bean ID:
- constraintDao
-
Method Summary
Modifier and TypeMethodDescriptionGets all constraints instances.getConstraintDuplicates(AbstractConstraintModel constraintModel) Gets the list of composed type 'affected' by any attached constraint, this means haveAbstractConstraintModel.TYPEset as reference to existing type in system.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.Internal use only.
-
Method Details
-
getConstraintedComposedTypes
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
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
List<AbstractConstraintModel> getAllConstraints()Gets all constraints instances. -
getConstraintDuplicates
-
getTargetClass
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.
-