diff --git a/src/helma/objectmodel/db/Relation.java b/src/helma/objectmodel/db/Relation.java index 5e1a955a..1e4bfd33 100644 --- a/src/helma/objectmodel/db/Relation.java +++ b/src/helma/objectmodel/db/Relation.java @@ -409,6 +409,20 @@ public final class Relation { return virtual; } + /** + * Return the target type of this relation, or null if this is a primitive mapping. + */ + public DbMapping getTargetType() { + return otherType; + } + + /** + * Get the reference type of this relation. + */ + public int getRefType() { + return reftype; + } + /** * Tell if this relation represents a primitive (scalar) value mapping. */