public class ReachableState extends java.lang.Object implements PropertyChangeInterface, de.uniks.networkparser.interfaces.SendableEntity
| Modifier and Type | Field and Description |
|---|---|
static ReachableStateSet |
EMPTY_SET |
protected java.beans.PropertyChangeSupport |
listeners |
long |
noOfRuleMatchesDone |
static java.lang.String |
PROPERTY_FAILURE_STATE |
static java.lang.String |
PROPERTY_GRAPHROOT |
static java.lang.String |
PROPERTY_METRICVALUE |
static java.lang.String |
PROPERTY_NUMBER |
static java.lang.String |
PROPERTY_PARENT
many one
ReachableState ----------------------------------- ReachabilityGraph
states parent
|
static java.lang.String |
PROPERTY_RESULTOF
one many
ReachableState ----------------------------------- RuleApplication
tgt resultOf
|
static java.lang.String |
PROPERTY_RULEAPPLICATIONS
one many
ReachableState ----------------------------------- RuleApplication
src ruleapplications
|
| Constructor and Description |
|---|
ReachableState() |
public long noOfRuleMatchesDone
protected java.beans.PropertyChangeSupport listeners
public static final ReachableStateSet EMPTY_SET
public static final java.lang.String PROPERTY_PARENT
many one
ReachableState ----------------------------------- ReachabilityGraph
states parent
public static final java.lang.String PROPERTY_GRAPHROOT
public static final java.lang.String PROPERTY_NUMBER
public static final java.lang.String PROPERTY_RULEAPPLICATIONS
one many
ReachableState ----------------------------------- RuleApplication
src ruleapplications
public static final java.lang.String PROPERTY_RESULTOF
one many
ReachableState ----------------------------------- RuleApplication
tgt resultOf
public static final java.lang.String PROPERTY_METRICVALUE
public static java.lang.String PROPERTY_FAILURE_STATE
public java.lang.String getCertificate()
public void setCertificate(java.lang.String certificate)
public java.lang.String computeCertificate(de.uniks.networkparser.IdMap map)
public java.beans.PropertyChangeSupport getPropertyChangeSupport()
PropertyChangeInterfacegetPropertyChangeSupport in interface PropertyChangeInterfacepublic boolean addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener in interface de.uniks.networkparser.interfaces.SendableEntitypublic boolean addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
de.uniks.networkparser.interfaces.SendableEntityaddPropertyChangeListener in interface de.uniks.networkparser.interfaces.SendableEntitypropertyName - the property namelistener - the listenerpublic boolean removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener in interface de.uniks.networkparser.interfaces.SendableEntitypublic boolean removePropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
removePropertyChangeListener in interface de.uniks.networkparser.interfaces.SendableEntitypublic void removeYou()
public ReachabilityGraph getParent()
public boolean setParent(ReachabilityGraph value)
public ReachableState withParent(ReachabilityGraph value)
public ReachabilityGraph createParent()
public java.util.HashMap<java.lang.String,java.lang.String> getNode2certificates()
public java.lang.Object getGraphRoot()
public void setGraphRoot(java.lang.Object value)
public ReachableState withGraphRoot(java.lang.Object value)
public long getNumber()
public void setNumber(long value)
public ReachableState withNumber(long value)
public java.lang.String toString()
toString in class java.lang.Objectpublic RuleApplicationSet getRuleapplications()
public boolean addToRuleapplications(RuleApplication value)
public boolean removeFromRuleapplications(RuleApplication value)
public ReachableState withRuleapplications(RuleApplication value)
public ReachableState withoutRuleapplications(RuleApplication value)
public void removeAllFromRuleapplications()
public RuleApplication createRuleapplications()
public RuleApplicationSet getResultOf()
public boolean addToResultOf(RuleApplication value)
public boolean removeFromResultOf(RuleApplication value)
public ReachableState withResultOf(RuleApplication value)
public ReachableState withoutResultOf(RuleApplication value)
public void removeAllFromResultOf()
public RuleApplication createResultOf()
public ReachableState withRuleapplications(RuleApplication... value)
public ReachableState withoutRuleapplications(RuleApplication... value)
public ReachableState withResultOf(RuleApplication... value)
public ReachableState withoutResultOf(RuleApplication... value)
public double getMetricValue()
public void setMetricValue(double value)
public ReachableState withMetricValue(double value)
public void setFailureState(boolean b)
public boolean isFailureState()
public boolean firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)