com.endeca.infront.navigation.model
Class PropertyFilter

java.lang.Object
  extended by com.endeca.infront.navigation.model.Filter
      extended by com.endeca.infront.navigation.model.PropertyFilter
All Implemented Interfaces:
Cloneable

public class PropertyFilter
extends Filter

A filter for a single record.


Constructor Summary
PropertyFilter()
          Creates a filter for a single record.
PropertyFilter(String name, String value)
           
 
Method Summary
 PropertyFilter clone()
           
 boolean equals(Object obj)
           
 String getName()
          The property name.
 String getValue()
          The property value.
 int hashCode()
           
 void setName(String name)
           
 void setValue(String value)
           
 
Methods inherited from class com.endeca.infront.navigation.model.Filter
verifyNotNull
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyFilter

public PropertyFilter()
Creates a filter for a single record. The name and value must also be set.

See Also:
setName(String), setValue(String)

PropertyFilter

public PropertyFilter(String name,
                      String value)
Parameters:
name -
value -
Method Detail

getName

public String getName()
The property name.


setName

public void setName(String name)
Parameters:
name - the property name, cannot be null.
See Also:
getName()

getValue

public String getValue()
The property value.


setValue

public void setValue(String value)
Parameters:
value - the property value, cannot be null.
See Also:
getValue()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public PropertyFilter clone()
Overrides:
clone in class Filter


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.