/** * A variable can be put whereever a term of whatever type is required --> A VariableSchema is * compatible with s if s descends from TermSchema.getBaseSchema() */ public boolean isCompatibleWith(ObjectSchema s) { if (s != null) { return s.descendsFrom(TermSchema.getBaseSchema()); } else { return false; } }