Drools Workbench - Data Model API 6.2.0.CR4

org.drools.workbench.models.datamodel.rule
Class RuleAttribute

java.lang.Object
  extended by org.drools.workbench.models.datamodel.rule.RuleAttribute

public class RuleAttribute
extends Object

This holds values for rule attributes (eg salience, agenda-group etc).


Constructor Summary
RuleAttribute()
           
RuleAttribute(String name, String value)
           
 
Method Summary
 boolean equals(Object o)
           
 String getAttributeName()
           
 String getValue()
           
 int hashCode()
           
 void setAttributeName(String attributeName)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleAttribute

public RuleAttribute(String name,
                     String value)

RuleAttribute

public RuleAttribute()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getAttributeName

public String getAttributeName()

setAttributeName

public void setAttributeName(String attributeName)

getValue

public String getValue()

setValue

public void setValue(String value)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Drools Workbench - Data Model API 6.2.0.CR4

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.