fr.reseaumexico.model
Class Factor

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

public abstract class Factor
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  String description
           
protected  Domain domain
           
protected  Collection<Feature> feature
           
protected  String id
           
protected  String name
           
protected  PropertyChangeSupport pcs
           
static String PROPERTY_DESCRIPTION
           
static String PROPERTY_DOMAIN
           
static String PROPERTY_FEATURE
           
static String PROPERTY_ID
           
static String PROPERTY_NAME
           
static String PROPERTY_UNIT
           
protected  String unit
           
 
Constructor Summary
Factor()
           
 
Method Summary
 void addAllFeature(Collection<Feature> feature)
           
 void addFeature(Feature feature)
           
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
           
 boolean containsAllFeature(Collection<Feature> feature)
           
 boolean containsFeature(Feature feature)
           
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 getDescription()
           
 Domain getDomain()
           
 Collection<Feature> getFeature()
           
 Feature getFeature(int index)
           
 String getId()
           
 String getName()
           
 String getUnit()
           
 boolean removeAllFeature(Collection<Feature> feature)
           
 boolean removeFeature(Feature feature)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
           
 void setDescription(String description)
           
 void setDomain(Domain domain)
           
 void setFeature(Collection<Feature> feature)
           
 void setId(String id)
           
 void setName(String name)
           
 void setUnit(String unit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_ID

public static final String PROPERTY_ID
See Also:
Constant Field Values

PROPERTY_NAME

public static final String PROPERTY_NAME
See Also:
Constant Field Values

PROPERTY_UNIT

public static final String PROPERTY_UNIT
See Also:
Constant Field Values

PROPERTY_DESCRIPTION

public static final String PROPERTY_DESCRIPTION
See Also:
Constant Field Values

PROPERTY_DOMAIN

public static final String PROPERTY_DOMAIN
See Also:
Constant Field Values

PROPERTY_FEATURE

public static final String PROPERTY_FEATURE
See Also:
Constant Field Values

id

protected String id

name

protected String name

unit

protected String unit

description

protected String description

domain

protected Domain domain

feature

protected Collection<Feature> feature

pcs

protected final PropertyChangeSupport pcs
Constructor Detail

Factor

public Factor()
Method Detail

getId

public String getId()

setId

public void setId(String id)

getName

public String getName()

setName

public void setName(String name)

getUnit

public String getUnit()

setUnit

public void setUnit(String unit)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getDomain

public Domain getDomain()

setDomain

public void setDomain(Domain domain)

getFeature

public Feature getFeature(int index)

addFeature

public void addFeature(Feature feature)

addAllFeature

public void addAllFeature(Collection<Feature> feature)

removeFeature

public boolean removeFeature(Feature feature)

removeAllFeature

public boolean removeAllFeature(Collection<Feature> feature)

containsFeature

public boolean containsFeature(Feature feature)

containsAllFeature

public boolean containsAllFeature(Collection<Feature> feature)

getFeature

public Collection<Feature> getFeature()

setFeature

public void setFeature(Collection<Feature> feature)

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.