public class DefaultConstraintDao extends AbstractItemDao implements ConstraintDao
ConstraintDao interface.flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultConstraintDao() |
| Modifier and Type | Method and Description |
|---|---|
List<AbstractConstraintModel> |
getAllConstraints()
Gets all constraints instances.
|
List<AbstractConstraintModel> |
getConstraintDuplicates(AbstractConstraintModel constraint)
|
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. |
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. |
Class |
getTargetClass(ConstraintGroupModel group)
Internal use only.
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic List<AbstractConstraintModel> getAllConstraints()
ConstraintDaogetAllConstraints in interface ConstraintDaopublic List<ComposedTypeModel> getConstraintedComposedTypes()
ConstraintDaoAbstractConstraintModel.TYPE set as reference to existing type in system.getConstraintedComposedTypes in interface ConstraintDaopublic 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 List<AbstractConstraintModel> getConstraintDuplicates(AbstractConstraintModel constraint)
ConstraintDaogetConstraintDuplicates in interface ConstraintDaopublic 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 © 2017 SAP SE. All Rights Reserved.