|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.fuzzyservices.beans.Consequent
public class Consequent
This class represents an then-clause (consequent) of a rule according to JavaBeans conventions.
Consequent,
Serialized Form| Field Summary | |
|---|---|
static String |
LINGUISTIC_TERM_NAME_PROPERTY
Bound property name for linguisticTermName. |
static String |
LINGUISTIC_VARIABLE_NAME_PROPERTY
Bound property name for linguisticVariableName. |
| Constructor Summary | |
|---|---|
Consequent()
Default Consequent constructor. |
|
Consequent(String newLinguisticVariableName,
String newLinguisticTermName)
Constructs an new antecedent with specified property values. |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list. |
Object |
clone()
|
boolean |
equals(Object obj)
|
String |
getLinguisticTermName()
Returns the name of a linguistic term belongs to the consequent. |
String |
getLinguisticVariableName()
Returns the name of a linguistic variable belongs to the consequent. |
int |
hashCode()
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a PropertyChangeListener from the listener list. |
void |
setLinguisticTermName(String lingTermName)
Sets the name of a linguistic term belongs to the consequent. |
void |
setLinguisticVariableName(String lingVariableName)
Sets the name of a linguistic variable belongs to this consequent. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String LINGUISTIC_VARIABLE_NAME_PROPERTY
linguisticVariableName.
public static final String LINGUISTIC_TERM_NAME_PROPERTY
linguisticTermName.
| Constructor Detail |
|---|
public Consequent()
Consequent constructor.
public Consequent(String newLinguisticVariableName,
String newLinguisticTermName)
newLinguisticVariableName - The new value for the property linguisticVariableName.newLinguisticTermName - The new value for the property linguisticTermName.newCompatibilityOperator - The new value for the property compatibilityOperator.| Method Detail |
|---|
public String getLinguisticTermName()
linguisticTermName propertysetLinguisticTermName(java.lang.String)public String getLinguisticVariableName()
linguisticVariableName propertysetLinguisticVariableName(java.lang.String)public final void setLinguisticTermName(String lingTermName)
lingTermName - The new value for the property.getLinguisticTermName()public final void setLinguisticVariableName(String lingVariableName)
linguisticTermName property is
set to null.
lingVariableName - The new value for the property.getLinguisticVariableName()public final void addPropertyChangeListener(PropertyChangeListener listener)
PropertyChangeListener to the listener list. The listener is registered for all properties.
A PropertyChangeEvent will get fired in response to setting a bound property.
listener - the PropertyChangeListener to be addedpublic final void removePropertyChangeListener(PropertyChangeListener listener)
PropertyChangeListener from the listener list.
This removes a PropertyChangeListener that was registered for all properties.
listener - the PropertyChangeListener to be removedpublic Object clone()
clone in class Objectpublic final boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||