|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectikbs.rco.rules.Condition
public class Condition
| Field Summary | |
|---|---|
protected Value |
condition
La valeur conditionnelle qui active la règle |
protected java.lang.String |
nomIdentElement
|
protected java.lang.String |
valeurCondition
La valeur conditionnelle qui active la règle sous forme textuelle Cette valeur s'exprime sous la forme d'un arbre binaire ET |
protected boolean |
valide
la condition est-elle valide ? |
protected boolean |
verbose
|
| Constructor Summary | |
|---|---|
Condition(java.lang.String s)
|
|
Condition(Value cond)
Constructeur |
|
| Method Summary | |
|---|---|
boolean |
analyse(java.lang.String s)
Analyser une chaine exprimant une condition du type attribut[objet]=valeur ou attribut1[objet1]=valeur1 && attribut2[objet2]=valeur2, etc. |
boolean |
egal(Condition c)
|
DescriptiveElement |
getElementSource()
Retourne le type associé à la valeur |
java.lang.String |
getNomIdentElement()
|
java.lang.String |
getValeurCondition()
Accès à la variable valeurCondition |
Value |
getValue()
Accès à la variable condition |
void |
setValeurCondition(java.lang.String s)
Affectation de la variable valeurCondition |
void |
setValue(Value v)
Affectation de la variable |
java.lang.String |
toString()
|
DescriptiveElement |
type()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Value condition
protected java.lang.String nomIdentElement
protected java.lang.String valeurCondition
protected boolean valide
protected boolean verbose
| Constructor Detail |
|---|
public Condition(Value cond)
public Condition(java.lang.String s)
| Method Detail |
|---|
public java.lang.String getNomIdentElement()
public Value getValue()
public void setValue(Value v)
public DescriptiveElement type()
public java.lang.String getValeurCondition()
public void setValeurCondition(java.lang.String s)
public DescriptiveElement getElementSource()
public boolean analyse(java.lang.String s)
public boolean egal(Condition c)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||