public class PatternReference extends PatternElement
| Constructor and Description |
|---|
PatternReference(String patternName,
PatternCollection collection)
creates a reference to the pattern named patternName in
collection collection.
|
| Modifier and Type | Method and Description |
|---|---|
PatternGraph |
toGraph(Id id)
converts the PatternReference to a graph which can be inserted into
a pattern graph.
|
String |
toString()
returns a printable form of the pattern reference: the pattern name.
|
public PatternReference(String patternName, PatternCollection collection)
public String toString()
toString in class PatternElementpublic PatternGraph toGraph(Id id)
toGraph in class PatternElementCopyright © 2016 New York University. All rights reserved.