* Implement getTargetType() and getRefType() to enable high level type.properties introspection

This commit is contained in:
hns 2005-11-10 17:04:53 +00:00
parent da0502ecfe
commit 350ffd0d73

View file

@ -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.
*/