Interface ILogicValidator
-
- All Superinterfaces:
IModelValidator
- All Known Implementing Classes:
LogicValidator
public interface ILogicValidator extends IModelValidator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkConflictingAttributes(Logic logic, java.lang.Object attr1, java.lang.Object attr2, java.lang.String attr1Name, java.lang.String attr2Name)
Self-beating attributes are two attributes, that should not be present inside their parent at the same time.void
checkDeprecatedAttributes(Logic logic)
-
Methods inherited from interface com.netgrif.application.engine.importer.service.IModelValidator
validateAttribute
-
-
-
-
Method Detail
-
checkDeprecatedAttributes
void checkDeprecatedAttributes(Logic logic)
-
checkConflictingAttributes
void checkConflictingAttributes(Logic logic, java.lang.Object attr1, java.lang.Object attr2, java.lang.String attr1Name, java.lang.String attr2Name) throws BeatingAttributesException
Self-beating attributes are two attributes, that should not be present inside their parent at the same time. E.g.: if user definesin transition, the tag will be disabled, however, additional tags can be still added. - Parameters:
logic
- the model of Logicattr1
- first element to be comparedattr2
- second element to be comparedattr1Name
- the name of first elementattr2Name
- the name of second element- Throws:
BeatingAttributesException
- is thrown when there are two attributes with different type but same goal
-
-