org.nuiton.wikitty.search.operators
Class Or

java.lang.Object
  extended by org.nuiton.wikitty.search.operators.Restriction
      extended by org.nuiton.wikitty.search.operators.Or
All Implemented Interfaces:
Serializable

Deprecated. since 3.3 use new query api WikittyQuery

@Deprecated
public class Or
extends Restriction
implements Serializable

Or operator is used to build disjunctive restriction for request on content. It take at least 2 args.

For example, use:

See Also:
Serialized Form

Field Summary
protected  List<Restriction> restrictions
          Deprecated.  
 
Fields inherited from class org.nuiton.wikitty.search.operators.Restriction
name
 
Constructor Summary
Or()
          Deprecated. Default constructor
Or(List<Restriction> restrictions)
          Deprecated. Constructor with all parameters initialized
 
Method Summary
 boolean equals(Object other)
          Deprecated. Equality test based attributes values
 List<Restriction> getRestrictions()
          Deprecated. Return restrictions
 int hashCode()
          Deprecated.  
 void setRestrictions(List<Restriction> restrictions)
          Deprecated. Set a value to parameter restrictions.
 
Methods inherited from class org.nuiton.wikitty.search.operators.Restriction
getName, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

restrictions

protected List<Restriction> restrictions
Deprecated. 
Constructor Detail

Or

public Or()
Deprecated. 
Default constructor


Or

public Or(List<Restriction> restrictions)
Deprecated. 
Constructor with all parameters initialized

Parameters:
restrictions -
Method Detail

getRestrictions

public List<Restriction> getRestrictions()
Deprecated. 
Return restrictions

Returns:

setRestrictions

public void setRestrictions(List<Restriction> restrictions)
Deprecated. 
Set a value to parameter restrictions.

Parameters:
restrictions -

equals

public boolean equals(Object other)
Deprecated. 
Equality test based attributes values

Overrides:
equals in class Restriction
Parameters:
other - Value to compare

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Restriction


Copyright © 2009-2012 CodeLutin. All Rights Reserved.