public interface Context extends Identifiable, Nameable
A context is a collection of joins which provide a valid query path. See the Information Design Tool User Guide for more information.
Use DataFoundationFactory.createContext(String, DataFoundation) to instantiate a context for a data foundation.
The following features are supported:
| Modifier and Type | Method and Description |
|---|---|
DataFoundation |
getDataFoundation()
Returns the value of the 'Data Foundation' container reference.
|
java.lang.String |
getDescription()
Returns the value of the 'Description' attribute.
|
java.util.List<Join> |
getExcludedJoins()
Returns the value of the 'Excluded Joins' reference list.
|
java.util.List<Join> |
getIncludedJoins()
Returns the value of the 'Included Joins' reference list.
|
void |
setDescription(java.lang.String value)
Sets the value of the '
Description' attribute. |
getIdentifierjava.lang.String getDescription()
This string represents the description of the context.
setDescription(String)void setDescription(java.lang.String value)
Description' attribute.
This string represents the description of the context.
value - the new value of the 'Description' attribute.getDescription()DataFoundation getDataFoundation()
Contexts'.
This is the data foundation to which the current context is attached.
DataFoundation.getContexts()java.util.List<Join> getExcludedJoins()
Join.
This is the list of joins of "excluded" state in the context.
You can use the add method to append a join to the end of the 'Excluded Joins' list.
For example:
getExcludedJoins().add(Join), if Join is not null.
java.util.List<Join> getIncludedJoins()
Join.
This is the list of joins of "included" state in the context.
You can use the add method to append a join to the end of the 'Included Joins' list.
For example:
getIncludedJoins().add(Join), if Join is not null.