public class DefaultConstraintDao extends AbstractItemDao implements ConstraintDao
ConstraintDao interface.flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultConstraintDao() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbstractConstraintModel> |
getAllConstraints()
Gets all constraints instances.
|
java.util.List<AbstractConstraintModel> |
getConstraintDuplicates(AbstractConstraintModel constraint)
|
java.util.List<ComposedTypeModel> |
getConstraintedComposedTypes()
Gets the list of composed type 'affected' by any attached constraint, this means have
AbstractConstraintModel.TYPE set as reference to existing type in system. |
java.util.List<AbstractConstraintModel> |
getPojoRelatedConstraints()
Gets the list of the
AbstractConstraintModel which are attached to any POJO and are not attached to any
model, this means not have have AbstractConstraintModel.TYPE set as reference to existing type in
system. |
java.lang.Class |
getTargetClass(ConstraintGroupModel group)
Internal use only.
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic java.util.List<AbstractConstraintModel> getAllConstraints()
ConstraintDaogetAllConstraints in interface ConstraintDaopublic java.util.List<ComposedTypeModel> getConstraintedComposedTypes()
ConstraintDaoAbstractConstraintModel.TYPE set as reference to existing type in system.getConstraintedComposedTypes in interface ConstraintDaopublic java.util.List<AbstractConstraintModel> getPojoRelatedConstraints()
ConstraintDaoAbstractConstraintModel which are attached to any POJO and are not attached to any
model, this means not have have AbstractConstraintModel.TYPE set as reference to existing type in
system.getPojoRelatedConstraints in interface ConstraintDaopublic java.util.List<AbstractConstraintModel> getConstraintDuplicates(AbstractConstraintModel constraint)
ConstraintDaogetConstraintDuplicates in interface ConstraintDaopublic java.lang.Class getTargetClass(ConstraintGroupModel group)
ConstraintDaoConstraintGroupModel.getInterfaceName(). The class is loaded into the VM and is available during runtime.
This is needed for the validation framework only.getTargetClass in interface ConstraintDaoCopyright © 2018 SAP SE. All Rights Reserved.