public class OptionalSubPatternPO extends PatternObject<OptionalSubPatternPO,OptionalSubPattern>
PROPERTY_ATTRCONSTRAINTS, PROPERTY_CANDIDATES, PROPERTY_CARDCONSTRAINTS, PROPERTY_CURRENTMATCH, PROPERTY_DESTROYELEM, PROPERTY_EXCLUDERS, PROPERTY_INCOMMING, PROPERTY_MATCHOTHERTHEN, PROPERTY_OUTGOINGEMPTY_SET, hasMatch, listeners, PROPERTY_DOALLMATCHES, PROPERTY_HASMATCH, PROPERTY_MODIFIER, PROPERTY_PATTERN, PROPERTY_PATTERNOBJECTNAME| Constructor and Description |
|---|
OptionalSubPatternPO() |
OptionalSubPatternPO(OptionalSubPattern... hostGraphObject) |
OptionalSubPatternPO(java.lang.String modifier) |
addToAttrConstraints, addToCardConstraints, addToExcluders, addToIncomming, addToMatchOtherThen, addToOutgoing, addToPattern, createAttrConstraints, createAttrConstraintsNew, createCondition, createPath, createResultTable, destroy, doAllMatches, endCreate, endDestroy, endNAC, endSubPattern, filterAttr, findNextMatch, getAttrConstraints, getCandidates, getCardConstraints, getCurrentMatch, getDestroyElem, getExcluders, getIncomming, getLHSPatternObjectName, getMatchOtherThen, getOutgoing, has, has, hasLink, hasLinkConstraint, hasLinkConstraint, hasMatchOtherThen, instanceOf, matchAsSet, newInstance, newInstance, nextMatch, rebind, removeAllFromAttrConstraints, removeAllFromCardConstraints, removeAllFromExcluders, removeAllFromIncomming, removeAllFromMatchOtherThen, removeAllFromOutgoing, removeFromAttrConstraints, removeFromCardConstraints, removeFromExcluders, removeFromIncomming, removeFromMatchOtherThen, removeFromOutgoing, removeYou, resetSearch, setCandidates, setCurrentMatch, setDestroyElem, startCreate, startDestroy, startNAC, startSubPattern, toString, withAttrConstraints, withAttrConstraints, withCandidates, withCardConstraints, withCardConstraints, withCurrentMatch, withDestroyElem, withExcluders, withExcluders, withIncomming, withMatchOtherThen, withMatchOtherThen, withoutAttrConstraints, withoutAttrConstraints, withoutCardConstraints, withoutCardConstraints, withoutExcluders, withoutExcluders, withOutgoing, withoutIncomming, withoutMatchOtherThen, withoutMatchOtherThen, withoutOutgoingaddPropertyChangeListener, addPropertyChangeListener, createPattern, createPatternNew, dumpHostGraphObject, firePropertyChange, getPropertyChangeSupport, getTopPattern, isDoAllMatches, isHasMatch, removePropertyChangeListener, removePropertyChangeListener, setDoAllMatches, setHasMatch, setModifier, setPattern, setPatternObjectName, valueSetString, withPatternpublic OptionalSubPatternPO()
public OptionalSubPatternPO(OptionalSubPattern... hostGraphObject)
public OptionalSubPatternPO(java.lang.String modifier)
public OptionalSubPatternSet allMatches()
public OptionalSubPatternPO createMatchForwardCondition(boolean value)
public OptionalSubPatternPO createMatchForwardAssignment(boolean value)
public boolean getMatchForward()
public OptionalSubPatternPO withMatchForward(boolean value)
public OptionalSubPatternPO createDebugModeCondition(int value)
public OptionalSubPatternPO createDebugModeCondition(int lower, int upper)
public OptionalSubPatternPO createDebugModeAssignment(int value)
public int getDebugMode()
public OptionalSubPatternPO withDebugMode(int value)
public OptionalSubPatternPO createNameCondition(java.lang.String value)
public OptionalSubPatternPO createNameCondition(java.lang.String lower, java.lang.String upper)
public OptionalSubPatternPO createNameAssignment(java.lang.String value)
public java.lang.String getName()
public OptionalSubPatternPO withName(java.lang.String value)
public OptionalSubPatternPO createModifierCondition(java.lang.String value)
public OptionalSubPatternPO createModifierCondition(java.lang.String lower, java.lang.String upper)
public OptionalSubPatternPO createModifierAssignment(java.lang.String value)
public java.lang.String getModifier()
getModifier in class PatternElement<OptionalSubPatternPO>public OptionalSubPatternPO withModifier(java.lang.String value)
withModifier in class PatternElement<OptionalSubPatternPO>public OptionalSubPatternPO createHasMatchCondition(boolean value)
public OptionalSubPatternPO createHasMatchAssignment(boolean value)
public boolean getHasMatch()
getHasMatch in class PatternElement<OptionalSubPatternPO>public OptionalSubPatternPO withHasMatch(boolean value)
withHasMatch in class PatternElement<OptionalSubPatternPO>public OptionalSubPatternPO createPatternObjectNameCondition(java.lang.String value)
public OptionalSubPatternPO createPatternObjectNameCondition(java.lang.String lower, java.lang.String upper)
public OptionalSubPatternPO createPatternObjectNameAssignment(java.lang.String value)
public java.lang.String getPatternObjectName()
getPatternObjectName in class PatternElement<OptionalSubPatternPO>public OptionalSubPatternPO withPatternObjectName(java.lang.String value)
withPatternObjectName in class PatternElement<OptionalSubPatternPO>public OptionalSubPatternPO createDoAllMatchesCondition(boolean value)
public OptionalSubPatternPO createDoAllMatchesAssignment(boolean value)
public boolean getDoAllMatches()
getDoAllMatches in class PatternElement<OptionalSubPatternPO>public OptionalSubPatternPO withDoAllMatches(boolean value)
withDoAllMatches in class PatternElement<OptionalSubPatternPO>public PatternPO createPatternPO()
public PatternPO createPatternPO(java.lang.String modifier)
public OptionalSubPatternPO createPatternLink(PatternPO tgt)
public OptionalSubPatternPO createPatternLink(PatternPO tgt, java.lang.String modifier)
public Pattern getPattern()
PatternElement
many one
PatternElement ----------------------------------- Pattern
elements pattern
getPattern in class PatternElement<OptionalSubPatternPO>public PatternElementPO createElementsPO()
public PatternElementPO createElementsPO(java.lang.String modifier)
public OptionalSubPatternPO createElementsLink(PatternElementPO tgt)
public OptionalSubPatternPO createElementsLink(PatternElementPO tgt, java.lang.String modifier)
public PatternElementSet getElements()
public PatternPO createCurrentSubPatternPO()
public PatternPO createCurrentSubPatternPO(java.lang.String modifier)
public OptionalSubPatternPO createCurrentSubPatternLink(PatternPO tgt)
public OptionalSubPatternPO createCurrentSubPatternLink(PatternPO tgt, java.lang.String modifier)
public Pattern getCurrentSubPattern()