ru.metrika4j.entity
Class Filter

java.lang.Object
  extended by ru.metrika4j.entity.Filter
All Implemented Interfaces:
Entity<java.lang.Integer>

public class Filter
extends java.lang.Object
implements Entity<java.lang.Integer>

See Also:
Фильтр.

Nested Class Summary
static class Filter.Action
           
static class Filter.Attr
           
static class Filter.Status
           
static class Filter.Type
           
 
Constructor Summary
Filter()
           
 
Method Summary
static Filter createFilter(Filter.Attr attr, Filter.Type type, java.lang.String value, Filter.Action action)
           
static Filter createOnlyMirrorsFilter()
           
 boolean equals(java.lang.Object o)
           
 Filter.Action getAction()
           
 Filter.Attr getAttr()
           
 java.lang.Integer getId()
           
 Filter.Status getStatus()
           
 Filter.Type getType()
           
 java.lang.String getValue()
           
 int hashCode()
           
 void setAction(Filter.Action action)
           
 void setAttr(Filter.Attr attr)
           
 void setId(int id)
           
 void setStatus(Filter.Status status)
           
 void setType(Filter.Type type)
           
 void setValue(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Filter

public Filter()
Method Detail

createFilter

public static Filter createFilter(Filter.Attr attr,
                                  Filter.Type type,
                                  java.lang.String value,
                                  Filter.Action action)

createOnlyMirrorsFilter

public static Filter createOnlyMirrorsFilter()

getId

public java.lang.Integer getId()
Specified by:
getId in interface Entity<java.lang.Integer>

setId

public void setId(int id)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

getAction

public Filter.Action getAction()

setAction

public void setAction(Filter.Action action)

getAttr

public Filter.Attr getAttr()

setAttr

public void setAttr(Filter.Attr attr)

getType

public Filter.Type getType()

setType

public void setType(Filter.Type type)

getStatus

public Filter.Status getStatus()

setStatus

public void setStatus(Filter.Status status)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

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


Copyright © 2011. All Rights Reserved.