public abstract class Domain extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
distributionName |
protected Collection<DistributionParameter> |
distributionParameter |
protected Collection<Level> |
levels |
protected String |
name |
protected Object |
nominalValue |
protected PropertyChangeSupport |
pcs |
static String |
PROPERTY_DISTRIBUTION_NAME |
static String |
PROPERTY_DISTRIBUTION_PARAMETER |
static String |
PROPERTY_LEVELS |
static String |
PROPERTY_NAME |
static String |
PROPERTY_NOMINAL_VALUE |
static String |
PROPERTY_VALUE_TYPE |
protected ValueType |
valueType |
| Constructor and Description |
|---|
Domain() |
public static final String PROPERTY_NAME
public static final String PROPERTY_NOMINAL_VALUE
public static final String PROPERTY_DISTRIBUTION_NAME
public static final String PROPERTY_VALUE_TYPE
public static final String PROPERTY_LEVELS
public static final String PROPERTY_DISTRIBUTION_PARAMETER
protected String name
protected Object nominalValue
protected String distributionName
protected ValueType valueType
protected Collection<Level> levels
protected Collection<DistributionParameter> distributionParameter
protected final PropertyChangeSupport pcs
public String getName()
public void setName(String name)
public Object getNominalValue()
public void setNominalValue(Object nominalValue)
public String getDistributionName()
public void setDistributionName(String distributionName)
public ValueType getValueType()
public void setValueType(ValueType valueType)
public Level getLevels(int index)
public void addLevels(Level levels)
public void addAllLevels(Collection<Level> levels)
public boolean removeLevels(Level levels)
public boolean removeAllLevels(Collection<Level> levels)
public boolean containsLevels(Level levels)
public boolean containsAllLevels(Collection<Level> levels)
public Collection<Level> getLevels()
public void setLevels(Collection<Level> levels)
public DistributionParameter getDistributionParameter(int index)
public void addDistributionParameter(DistributionParameter distributionParameter)
public void addAllDistributionParameter(Collection<DistributionParameter> distributionParameter)
public boolean removeDistributionParameter(DistributionParameter distributionParameter)
public boolean removeAllDistributionParameter(Collection<DistributionParameter> distributionParameter)
public boolean containsDistributionParameter(DistributionParameter distributionParameter)
public boolean containsAllDistributionParameter(Collection<DistributionParameter> distributionParameter)
public Collection<DistributionParameter> getDistributionParameter()
public void setDistributionParameter(Collection<DistributionParameter> distributionParameter)
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.