com.evolveum.midpoint.repo.api.query
Class SimpleFilter<T>

java.lang.Object
  extended by com.evolveum.midpoint.repo.api.query.SimpleFilter<T>
All Implemented Interfaces:
QueryFilter

public class SimpleFilter<T>
extends Object
implements QueryFilter

Author:
lazyman

Constructor Summary
SimpleFilter()
           
SimpleFilter(SimpleFilterType filterType, ItemPath propertyPath)
           
SimpleFilter(SimpleFilterType filterType, ItemPath propertyPath, PrismPropertyValue<T> value)
           
 
Method Summary
 SimpleFilterType getFilterType()
           
 ItemPath getPropertyPath()
           
 QName getType()
           
 PrismPropertyValue<T> getValue()
           
 void setFilterType(SimpleFilterType filterType)
           
 void setPropertyPath(ItemPath propertyPath)
           
 void setType(QName type)
           
 void setValue(PrismPropertyValue<T> value)
           
 void toDOM(Element parent)
          This method is used for query serialization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFilter

public SimpleFilter()

SimpleFilter

public SimpleFilter(SimpleFilterType filterType,
                    ItemPath propertyPath)

SimpleFilter

public SimpleFilter(SimpleFilterType filterType,
                    ItemPath propertyPath,
                    PrismPropertyValue<T> value)
Method Detail

getFilterType

public SimpleFilterType getFilterType()

getPropertyPath

public ItemPath getPropertyPath()

getValue

public PrismPropertyValue<T> getValue()

setFilterType

public void setFilterType(SimpleFilterType filterType)

setPropertyPath

public void setPropertyPath(ItemPath propertyPath)

setValue

public void setValue(PrismPropertyValue<T> value)

getType

public QName getType()
Specified by:
getType in interface QueryFilter
Returns:
prism container qname type

setType

public void setType(QName type)
Specified by:
setType in interface QueryFilter

toDOM

public void toDOM(Element parent)
Description copied from interface: QueryFilter
This method is used for query serialization.

Specified by:
toDOM in interface QueryFilter


Copyright © 2013 evolveum. All Rights Reserved.