fr.reseaumexico.model
Class Domain

java.lang.Object
  extended by fr.reseaumexico.model.Domain
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DomainImpl

public abstract class Domain
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
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 Summary
Domain()
           
 
Method Summary
 void addAllDistributionParameter(Collection<DistributionParameter> distributionParameter)
           
 void addAllLevels(Collection<Level> levels)
           
 void addDistributionParameter(DistributionParameter distributionParameter)
           
 void addLevels(Level levels)
           
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
           
 boolean containsAllDistributionParameter(Collection<DistributionParameter> distributionParameter)
           
 boolean containsAllLevels(Collection<Level> levels)
           
 boolean containsDistributionParameter(DistributionParameter distributionParameter)
           
 boolean containsLevels(Level levels)
           
protected  void firePropertyChange(String propertyName, Object newValue)
           
protected  void firePropertyChange(String propertyName, Object oldValue, Object newValue)
           
protected
<T> T
getChild(Collection<T> childs, int index)
           
 String getDistributionName()
           
 Collection<DistributionParameter> getDistributionParameter()
           
 DistributionParameter getDistributionParameter(int index)
           
 Collection<Level> getLevels()
           
 Level getLevels(int index)
           
 String getName()
           
 Object getNominalValue()
           
 ValueType getValueType()
           
 boolean removeAllDistributionParameter(Collection<DistributionParameter> distributionParameter)
           
 boolean removeAllLevels(Collection<Level> levels)
           
 boolean removeDistributionParameter(DistributionParameter distributionParameter)
           
 boolean removeLevels(Level levels)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
           
 void setDistributionName(String distributionName)
           
 void setDistributionParameter(Collection<DistributionParameter> distributionParameter)
           
 void setLevels(Collection<Level> levels)
           
 void setName(String name)
           
 void setNominalValue(Object nominalValue)
           
 void setValueType(ValueType valueType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_NAME

public static final String PROPERTY_NAME
See Also:
Constant Field Values

PROPERTY_NOMINAL_VALUE

public static final String PROPERTY_NOMINAL_VALUE
See Also:
Constant Field Values

PROPERTY_DISTRIBUTION_NAME

public static final String PROPERTY_DISTRIBUTION_NAME
See Also:
Constant Field Values

PROPERTY_VALUE_TYPE

public static final String PROPERTY_VALUE_TYPE
See Also:
Constant Field Values

PROPERTY_LEVELS

public static final String PROPERTY_LEVELS
See Also:
Constant Field Values

PROPERTY_DISTRIBUTION_PARAMETER

public static final String PROPERTY_DISTRIBUTION_PARAMETER
See Also:
Constant Field Values

name

protected String name

nominalValue

protected Object nominalValue

distributionName

protected String distributionName

valueType

protected ValueType valueType

levels

protected Collection<Level> levels

distributionParameter

protected Collection<DistributionParameter> distributionParameter

pcs

protected final PropertyChangeSupport pcs
Constructor Detail

Domain

public Domain()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getNominalValue

public Object getNominalValue()

setNominalValue

public void setNominalValue(Object nominalValue)

getDistributionName

public String getDistributionName()

setDistributionName

public void setDistributionName(String distributionName)

getValueType

public ValueType getValueType()

setValueType

public void setValueType(ValueType valueType)

getLevels

public Level getLevels(int index)

addLevels

public void addLevels(Level levels)

addAllLevels

public void addAllLevels(Collection<Level> levels)

removeLevels

public boolean removeLevels(Level levels)

removeAllLevels

public boolean removeAllLevels(Collection<Level> levels)

containsLevels

public boolean containsLevels(Level levels)

containsAllLevels

public boolean containsAllLevels(Collection<Level> levels)

getLevels

public Collection<Level> getLevels()

setLevels

public void setLevels(Collection<Level> levels)

getDistributionParameter

public DistributionParameter getDistributionParameter(int index)

addDistributionParameter

public void addDistributionParameter(DistributionParameter distributionParameter)

addAllDistributionParameter

public void addAllDistributionParameter(Collection<DistributionParameter> distributionParameter)

removeDistributionParameter

public boolean removeDistributionParameter(DistributionParameter distributionParameter)

removeAllDistributionParameter

public boolean removeAllDistributionParameter(Collection<DistributionParameter> distributionParameter)

containsDistributionParameter

public boolean containsDistributionParameter(DistributionParameter distributionParameter)

containsAllDistributionParameter

public boolean containsAllDistributionParameter(Collection<DistributionParameter> distributionParameter)

getDistributionParameter

public Collection<DistributionParameter> getDistributionParameter()

setDistributionParameter

public void setDistributionParameter(Collection<DistributionParameter> distributionParameter)

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)

addPropertyChangeListener

public void addPropertyChangeListener(String propertyName,
                                      PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(String propertyName,
                                         PropertyChangeListener listener)

firePropertyChange

protected void firePropertyChange(String propertyName,
                                  Object oldValue,
                                  Object newValue)

firePropertyChange

protected void firePropertyChange(String propertyName,
                                  Object newValue)

getChild

protected <T> T getChild(Collection<T> childs,
                         int index)


Copyright © 2011-2012 Code Lutin. All Rights Reserved.