added isPrimitive() utility method to find out if this property
can possibly be used as skin macro.
This commit is contained in:
parent
f017f35e78
commit
0dd58e56b0
1 changed files with 7 additions and 0 deletions
|
@ -293,6 +293,13 @@ public class Relation {
|
|||
return virtual;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tell if this relation represents a primitive (scalar) value mapping.
|
||||
*/
|
||||
public boolean isPrimitive () {
|
||||
return reftype == PRIMITIVE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the prototype to be used for object reached by this relation
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue