it.amattioli.dominate.specifications.beans
Class BeanSpecification<T extends Entity<?>>

Show UML class diagram
java.lang.Object
  extended by it.amattioli.dominate.specifications.AbstractSpecification<T>
      extended by it.amattioli.dominate.specifications.CompositeSpecification<T>
          extended by it.amattioli.dominate.specifications.ConjunctionSpecification<T>
              extended by it.amattioli.dominate.specifications.beans.BeanSpecification<T>
All Implemented Interfaces:
Specification<T>, PropertyChangeEmitter, org.apache.commons.beanutils.DynaBean

public class BeanSpecification<T extends Entity<?>>
extends ConjunctionSpecification<T>
implements org.apache.commons.beanutils.DynaBean


Constructor Summary
BeanSpecification(Class<T> beanClass)
           
BeanSpecification(org.apache.commons.beanutils.DynaClass dynaClass)
           
 
Method Summary
 boolean contains(String name, String key)
           
 Object get(String propertyName)
           
 Object get(String arg0, int arg1)
           
 Object get(String arg0, String arg1)
           
 org.apache.commons.beanutils.DynaClass getDynaClass()
           
static void registerFactory(PropertySpecificationFactory factory)
           
 void remove(String arg0, String arg1)
           
 void set(String arg0, int arg1, Object arg2)
           
 void set(String propertyName, Object specValue)
           
 void set(String arg0, String arg1, Object arg2)
           
 
Methods inherited from class it.amattioli.dominate.specifications.ConjunctionSpecification
assembleQuery, create, create, isSatisfiedBy
 
Methods inherited from class it.amattioli.dominate.specifications.CompositeSpecification
addSpecification, getSpecifications, removeSpecification, supportsAssembler, wasSet
 
Methods inherited from class it.amattioli.dominate.specifications.AbstractSpecification
addPropertyChangeListener, firePropertyChange, isSatisfiedIfNotSet, removePropertyChangeListener, setSatisfiedIfNotSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanSpecification

public BeanSpecification(org.apache.commons.beanutils.DynaClass dynaClass)

BeanSpecification

public BeanSpecification(Class<T> beanClass)
Method Detail

registerFactory

public static void registerFactory(PropertySpecificationFactory factory)

contains

public boolean contains(String name,
                        String key)
Specified by:
contains in interface org.apache.commons.beanutils.DynaBean

get

public Object get(String arg0,
                  int arg1)
Specified by:
get in interface org.apache.commons.beanutils.DynaBean

get

public Object get(String arg0,
                  String arg1)
Specified by:
get in interface org.apache.commons.beanutils.DynaBean

get

public Object get(String propertyName)
Specified by:
get in interface org.apache.commons.beanutils.DynaBean

getDynaClass

public org.apache.commons.beanutils.DynaClass getDynaClass()
Specified by:
getDynaClass in interface org.apache.commons.beanutils.DynaBean

remove

public void remove(String arg0,
                   String arg1)
Specified by:
remove in interface org.apache.commons.beanutils.DynaBean

set

public void set(String arg0,
                int arg1,
                Object arg2)
Specified by:
set in interface org.apache.commons.beanutils.DynaBean

set

public void set(String propertyName,
                Object specValue)
Specified by:
set in interface org.apache.commons.beanutils.DynaBean

set

public void set(String arg0,
                String arg1,
                Object arg2)
Specified by:
set in interface org.apache.commons.beanutils.DynaBean


Copyright © 2011. All Rights Reserved.