public interface ConstraintService
constraints.| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbstractConstraintModel> |
getAllConstraints()
Gets all constraints instances.
|
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. |
boolean |
isConstraintDuplicated(AbstractConstraintModel model) |
java.util.List<ComposedTypeModel> getConstraintedComposedTypes()
AbstractConstraintModel.TYPE set as reference to existing type in system.java.util.List<AbstractConstraintModel> getPojoRelatedConstraints()
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.util.List<AbstractConstraintModel> getAllConstraints()
boolean isConstraintDuplicated(AbstractConstraintModel model)
model - constraint instance which duplicates of are searched fortrue if there is at least one constraint of
AbstractConstraintModel.ANNOTATIONGeneratedCatalogConstants.Attributes.ComposedType/POJO ( via
parameter AbstractConstraintModel.TARGET ) or to the same AttributeDescriptor/POJO's
attribute ( via parameter AbstractConstraintModel.TARGET.
AttributeConstraintModel.QUALIFIER) AttributeConstraintModel.QUALIFIER )AbstractConstraintModel.ACTIVEfalseCopyright © 2018 SAP SE. All Rights Reserved.