Skip to content

Commit c58c0eb

Browse files
committed
policy-dl: Minor schema update
1 parent 9911d83 commit c58c0eb

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • rsvp/policy-ast/src/main/java/uq/pac/rsvp/policy/ast/schema

rsvp/policy-ast/src/main/java/uq/pac/rsvp/policy/ast/schema/Schema.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,4 +300,11 @@ public Schema resolveCommonTypes() {
300300
}
301301
return new Schema(resolved);
302302
}
303+
304+
/**
305+
* Return {@code true} if this schema has no unresolved types
306+
*/
307+
public boolean isResolved() {
308+
return types().findAny().isEmpty();
309+
}
303310
}

0 commit comments

Comments
 (0)