public abstract class Factor extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
Factor() |
public static final String PROPERTY_ID
public static final String PROPERTY_NAME
public static final String PROPERTY_UNIT
public static final String PROPERTY_DESCRIPTION
public static final String PROPERTY_DOMAIN
public static final String PROPERTY_FEATURE
protected String id
protected String name
protected String unit
protected String description
protected Domain domain
protected Collection<Feature> feature
protected final PropertyChangeSupport pcs
public String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public String getUnit()
public void setUnit(String unit)
public String getDescription()
public void setDescription(String description)
public Domain getDomain()
public void setDomain(Domain domain)
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 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.