public class NavFunctionInstance
extends java.lang.Object
| Constructor and Description |
|---|
NavFunctionInstance(NavFunction function,
TransitivityType transitivity,
Selection selection)
Constructs a new
NavFunctionInstance for the given function,
with the given transitivity type and the optional given selection. |
| Modifier and Type | Method and Description |
|---|---|
void |
format(java.lang.StringBuilder s)
Formats this function instance to a string that is usably in OrgPolicies.
|
NavFunction |
getFunction()
Returns the function (definition) this object is an instance of.
|
Selection |
getSelection()
Returns the selection that is applied to the results of the function or
null. |
TransitivityType |
getTransitivity()
Returns the transitivity type of how the function was applied.
|
public NavFunctionInstance(NavFunction function, TransitivityType transitivity, Selection selection)
NavFunctionInstance for the given function,
with the given transitivity type and the optional given selection.function - the function (definition)transitivity - the transitivity type of the function instanceselection - the selection applied to the results of the function or
nullpublic NavFunction getFunction()
public TransitivityType getTransitivity()
public Selection getSelection()
null.nullpublic void format(java.lang.StringBuilder s)
StringBuilder.s - the StringBuilder to append the formatted function instance to