public abstract class Scenario extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Map<Factor,Object> |
factorValues |
protected Collection<Feature> |
feature |
protected String |
name |
protected int |
orderNumber |
protected PropertyChangeSupport |
pcs |
static String |
PROPERTY_FACTOR_VALUES |
static String |
PROPERTY_FEATURE |
static String |
PROPERTY_NAME |
static String |
PROPERTY_ORDER_NUMBER |
| Constructor and Description |
|---|
Scenario() |
public static final String PROPERTY_ORDER_NUMBER
public static final String PROPERTY_NAME
public static final String PROPERTY_FACTOR_VALUES
public static final String PROPERTY_FEATURE
protected int orderNumber
protected String name
protected Collection<Feature> feature
protected final PropertyChangeSupport pcs
public int getOrderNumber()
public void setOrderNumber(int orderNumber)
public String getName()
public void setName(String name)
public Feature getFeature(int index)
public void addFeature(Feature feature)
public void addAllFeature(Collection<Feature> feature)
public boolean removeFeature(Feature feature)
public boolean removeAllFeature(Collection<Feature> feature)
public boolean containsFeature(Feature feature)
public boolean containsAllFeature(Collection<Feature> feature)
public Collection<Feature> getFeature()
public void setFeature(Collection<Feature> feature)
public abstract void addFactorValueListener(ScenarioFactorValueListener factorListener)
public abstract void removeFactorValueListener(ScenarioFactorValueListener factorListener)
public void addPropertyChangeListener(PropertyChangeListener listener)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)
protected <T> T getChild(Collection<T> childs, int index)
Copyright © 2011-2012 Code Lutin. All Rights Reserved.