Class ViewCheck
java.lang.Object
de.aristaflow.adept2.model.common.viewer.ViewCheck
Checks the model viewer interfaces for consistent annotations.
- attribute name: no [, ], 0-9, .
- attribute name: also forbid spaces / other chars?
- check the types of setters / getters
- Author:
- Kevin Goeser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidaddReportEntry(CheckReport report, String message, URI affectedElement) static booleancheckClass(CheckReport report, Class<?> view) Checks the integrity of the annotations in the class class.booleanpre con: run checkClassbooleancheckEntry(String name, String value, String defaultValue, CheckReport report, Map<String, String> data, Class<?> viewer, Logger logger) static booleancheckType(Class<?> clazz, CheckReport report)
-
Field Details
-
ID
My check ID.- See Also:
-
-
Constructor Details
-
ViewCheck
public ViewCheck()
-
-
Method Details
-
checkClass
Checks the integrity of the annotations in the class class.- Parameters:
report- Check report for messages, or null.view- The model viewer interface class object to be checked.- Returns:
- True, if everything is ok.
-
checkData
pre con: run checkClass- Parameters:
data-report-view-logger- The logger for log messages.- Returns:
- True, if the check is ok.
-
checkEntry
-
checkType
-
addReportEntry
-