add some getter methods for code accessing
this class from other packages
This commit is contained in:
parent
e466423826
commit
3cc3e4b534
1 changed files with 21 additions and 0 deletions
|
@ -286,6 +286,27 @@ public class Relation {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Does this relation describe a virtual (collection) node?
|
||||
*/
|
||||
public boolean isVirtual () {
|
||||
return virtual;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the prototype to be used for object reached by this relation
|
||||
*/
|
||||
public String getPrototype () {
|
||||
return prototype;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the name of the local property this relation is defined for
|
||||
*/
|
||||
public String getPropName () {
|
||||
return propName;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add a constraint to the current list of constraints
|
||||
|
|
Loading…
Add table
Reference in a new issue