net.sourceforge.atunes.kernel.modules.search
Class SimpleRule

java.lang.Object
  extended by net.sourceforge.atunes.kernel.modules.search.SimpleRule

public class SimpleRule
extends java.lang.Object

This class represents a simple rule.


Constructor Summary
SimpleRule(java.lang.String attribute, java.lang.String operator, java.lang.String value)
          Instantiates a new simple rule.
 
Method Summary
 java.lang.String getAttribute()
          Gets the attribute.
 java.lang.String getOperator()
          Gets the operator.
 java.lang.String getValue()
          Gets the value.
 void setAttribute(java.lang.String attribute)
          Sets the attribute.
 void setOperator(java.lang.String operator)
          Sets the operator.
 void setValue(java.lang.String value)
          Sets the value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleRule

public SimpleRule(java.lang.String attribute,
                  java.lang.String operator,
                  java.lang.String value)
Instantiates a new simple rule.

Parameters:
attribute - the attribute
operator - the operator
value - the value
Method Detail

getAttribute

public java.lang.String getAttribute()
Gets the attribute.

Returns:
the attribute

setAttribute

public void setAttribute(java.lang.String attribute)
Sets the attribute.

Parameters:
attribute - the attribute to set

getOperator

public java.lang.String getOperator()
Gets the operator.

Returns:
the operator

setOperator

public void setOperator(java.lang.String operator)
Sets the operator.

Parameters:
operator - the operator to set

getValue

public java.lang.String getValue()
Gets the value.

Returns:
the value

setValue

public void setValue(java.lang.String value)
Sets the value.

Parameters:
value - the value to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.