You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/synapticloop/h2zero/model/BaseSchemaObject.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,16 @@ public abstract class BaseSchemaObject {
29
29
protectedList<String> autoGeneratedUniqueFinders = newArrayList<String>(); // a list of all of the automatically generated 'unique' result finders
30
30
protectedList<String> autoGeneratedMultipleFinders = newArrayList<String>(); // a list of all of the automatically generated 'multiple' result finders
31
31
32
+
protectedList<String> autoGeneratedUniqueUpdaters = newArrayList<String>(); // a list of all of the automatically generated 'unique' result finders
33
+
protectedList<String> autoGeneratedMultipleUpdaters = newArrayList<String>(); // a list of all of the automatically generated 'multiple' result finders
34
+
32
35
protectedMap<String, BaseField> fieldLookup = newHashMap<String, BaseField>(); // a quick lookup map of all of the fields for this table
33
36
protectedMap<String, BaseField> inFieldLookup = newHashMap<String, BaseField>(); // a quick lookup for all of the 'in' fields
34
37
35
38
protectedList<BaseField> fields = newArrayList<BaseField>(); // a list of all of the fields on this table
36
39
40
+
protectedBaseFieldprimaryKeyField = null; // the field that is the primary key
41
+
37
42
protectedSet<String> referencedFieldTypes = newHashSet<String>(); // this is a set of all of the referenced field types
// TODO - probably want to change this into a switch??
78
82
thrownewH2ZeroParseException("Found an auto generate finder on '" + this.name + "." + autoFinderName + "' with a value of '" + autoFinder + "'. The allowable values are '" + JSONKeyConstants.UNIQUE + "', '" + JSONKeyConstants.SINGLE + "' or '" + JSONKeyConstants.MULTIPLE + "'.");
thrownewH2ZeroParseException("Found a '" + JSONKeyConstants.FIELD_UPDATERS + "' json array on table '" + this.name + "', however the value at index '" + i + "' is not a json object.");
thrownewH2ZeroParseException("Found an auto generate updater on '" + this.name + "." + autoUpdaterName + "' with a value of '" + autoUpdater + "'. The allowable values are '" + JSONKeyConstants.UNIQUE + "', '" + JSONKeyConstants.SINGLE + "' or '" + JSONKeyConstants.MULTIPLE + "'.");
0 commit comments