* Implement getTargetType() and getRefType() to enable high level type.properties introspection
This commit is contained in:
parent
da0502ecfe
commit
350ffd0d73
1 changed files with 14 additions and 0 deletions
|
@ -409,6 +409,20 @@ public final class Relation {
|
||||||
return virtual;
|
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.
|
* Tell if this relation represents a primitive (scalar) value mapping.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue