public class PatternObject<POC,MC> extends PatternElement<POC>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_ATTRCONSTRAINTS |
static java.lang.String |
PROPERTY_CANDIDATES |
static java.lang.String |
PROPERTY_CARDCONSTRAINTS |
static java.lang.String |
PROPERTY_CURRENTMATCH |
static java.lang.String |
PROPERTY_DESTROYELEM |
static java.lang.String |
PROPERTY_EXCLUDERS |
static java.lang.String |
PROPERTY_INCOMMING |
static java.lang.String |
PROPERTY_MATCHOTHERTHEN |
static java.lang.String |
PROPERTY_OUTGOING |
EMPTY_SET, hasMatch, listeners, PROPERTY_DOALLMATCHES, PROPERTY_HASMATCH, PROPERTY_MODIFIER, PROPERTY_PATTERN, PROPERTY_PATTERNOBJECTNAME| Constructor and Description |
|---|
PatternObject() |
addPropertyChangeListener, addPropertyChangeListener, createPattern, createPatternNew, dumpHostGraphObject, firePropertyChange, getDoAllMatches, getHasMatch, getModifier, getPattern, getPatternObjectName, getPropertyChangeSupport, getTopPattern, isDoAllMatches, isHasMatch, removePropertyChangeListener, removePropertyChangeListener, setDoAllMatches, setHasMatch, setModifier, setPattern, setPatternObjectName, valueSetString, withDoAllMatches, withHasMatch, withModifier, withPattern, withPatternObjectNamepublic static final java.lang.String PROPERTY_ATTRCONSTRAINTS
public static final java.lang.String PROPERTY_CANDIDATES
public static final java.lang.String PROPERTY_CARDCONSTRAINTS
public static final java.lang.String PROPERTY_CURRENTMATCH
public static final java.lang.String PROPERTY_DESTROYELEM
public static final java.lang.String PROPERTY_EXCLUDERS
public static final java.lang.String PROPERTY_INCOMMING
public static final java.lang.String PROPERTY_MATCHOTHERTHEN
public static final java.lang.String PROPERTY_OUTGOING
protected void newInstance(de.uniks.networkparser.IdMap map)
protected void newInstance(de.uniks.networkparser.IdMap map,
java.lang.Object[] hostGraphObject)
public <POSC extends PatternObject> POSC instanceOf(POSC subclassPO)
public boolean rebind(MC o)
public POC nextMatch()
public POC matchAsSet()
public boolean findNextMatch()
findNextMatch in class PatternElement<POC>public java.lang.String getLHSPatternObjectName()
public void resetSearch()
resetSearch in class PatternElement<POC>public POC startCreate()
public POC endCreate()
public POC startDestroy()
public POC endDestroy()
public POC startNAC()
public POC endNAC()
public POC startSubPattern()
public POC endSubPattern()
public POC doAllMatches()
public Table createResultTable()
public POC destroy()
public void removeYou()
removeYou in class PatternElement<POC>public MC getCurrentMatch()
public void setCurrentMatch(java.lang.Object value)
public PatternObject withCurrentMatch(java.lang.Object value)
public PatternLinkSet getIncomming()
one many
PatternObject ----------------------------------- PatternLink
tgt incomming
public boolean addToIncomming(PatternLink value)
public boolean removeFromIncomming(PatternLink value)
public PatternObject withIncomming(PatternLink value)
public PatternObject withoutIncomming(PatternLink value)
public void removeAllFromIncomming()
public PatternLinkSet getOutgoing()
one many
PatternObject ----------------------------------- PatternLink
src outgoing
public boolean addToOutgoing(PatternLink value)
public boolean removeFromOutgoing(PatternLink value)
public PatternObject withOutgoing(PatternLink value)
public PatternObject withoutOutgoing(PatternLink value)
public void removeAllFromOutgoing()
public java.lang.Object getCandidates()
public void setCandidates(java.lang.Object value)
public PatternObject withCandidates(java.lang.Object value)
public AttributeConstraintSet getAttrConstraints()
one many
PatternObject ----------------------------------- AttributeConstraint
src attrConstraints
public boolean addToAttrConstraints(AttributeConstraint value)
public void addToPattern(PatternObject po)
public boolean removeFromAttrConstraints(AttributeConstraint value)
public PatternObject withAttrConstraints(AttributeConstraint value)
public PatternObject withoutAttrConstraints(AttributeConstraint value)
public void removeAllFromAttrConstraints()
public void hasLink(java.lang.String roleName,
PatternObject result)
protected void filterAttr()
@Deprecated public POC has(de.uniks.networkparser.interfaces.Condition<java.lang.Object> condition, java.lang.String text)
condition - The condition used for filtering@Deprecated public POC has(de.uniks.networkparser.interfaces.Condition<java.lang.Object> condition)
condition - The condition used for filteringpublic POC createCondition(de.uniks.networkparser.interfaces.Condition<MC> condition)
public <TPOC extends PatternObject> TPOC createPath(PathExpression expression, TPOC targetPatternObject)
public DestroyObjectElem getDestroyElem()
one one
PatternObject ----------------------------------- DestroyObjectElem
patternObject destroyElem
public boolean setDestroyElem(DestroyObjectElem value)
public PatternObject withDestroyElem(DestroyObjectElem value)
public java.lang.String toString()
toString in class PatternElement<POC>public CardinalityConstraintSet getCardConstraints()
one many
PatternObject ----------------------------------- CardinalityConstraint
src cardConstraints
public boolean addToCardConstraints(CardinalityConstraint value)
public boolean removeFromCardConstraints(CardinalityConstraint value)
public PatternObject withCardConstraints(CardinalityConstraint value)
public PatternObject withoutCardConstraints(CardinalityConstraint value)
public void removeAllFromCardConstraints()
public POC hasLinkConstraint(PatternObject tgt, java.lang.String roleName)
public POC hasLinkConstraint(PatternObject tgt, java.lang.String roleName, java.lang.String modifier)
public MatchOtherThenSet getMatchOtherThen()
one many
PatternObject ----------------------------------- MatchOtherThen
src matchOtherThen
public boolean addToMatchOtherThen(MatchOtherThen value)
public boolean removeFromMatchOtherThen(MatchOtherThen value)
public PatternObject withMatchOtherThen(MatchOtherThen value)
public PatternObject withoutMatchOtherThen(MatchOtherThen value)
public void removeAllFromMatchOtherThen()
public POC hasMatchOtherThen(PatternObject forbidden)
public MatchOtherThenSet getExcluders()
one many
PatternObject ----------------------------------- MatchOtherThen
forbidden excluders
public boolean addToExcluders(MatchOtherThen value)
public boolean removeFromExcluders(MatchOtherThen value)
public PatternObject withExcluders(MatchOtherThen value)
public PatternObject withoutExcluders(MatchOtherThen value)
public void removeAllFromExcluders()
public PatternObject withAttrConstraints(AttributeConstraint... value)
public PatternObject withoutAttrConstraints(AttributeConstraint... value)
public AttributeConstraint createAttrConstraintsNew()
public PatternObject withCardConstraints(CardinalityConstraint... value)
public PatternObject<?,?> withoutCardConstraints(CardinalityConstraint... value)
public PatternObject withMatchOtherThen(MatchOtherThen... value)
public PatternObject withoutMatchOtherThen(MatchOtherThen... value)
public PatternObject withExcluders(MatchOtherThen... value)
public PatternObject withoutExcluders(MatchOtherThen... value)
public java.lang.Object createAttrConstraints()