it.amattioli.workstate.hibernate
Class HqlMachineSpecification<T extends it.amattioli.dominate.Entity<?>>

Show UML class diagram
java.lang.Object
  extended by it.amattioli.dominate.specifications.AbstractSpecification<T>
      extended by it.amattioli.dominate.specifications.ChainedSpecification<T>
          extended by it.amattioli.workstate.specifications.MachineSpecification<T>
              extended by it.amattioli.workstate.hibernate.HqlMachineSpecification<T>
All Implemented Interfaces:
it.amattioli.dominate.Specification<T>, it.amattioli.dominate.util.PropertyChangeEmitter

public class HqlMachineSpecification<T extends it.amattioli.dominate.Entity<?>>
extends MachineSpecification<T>


Constructor Summary
HqlMachineSpecification()
           
HqlMachineSpecification(String propertyName, String workflowName)
           
HqlMachineSpecification(String propertyName, String workflowName, MachineSpecification<T> chained)
           
HqlMachineSpecification(String propertyName, String workflowName, String alias)
           
 
Method Summary
 void addHqlCondition(it.amattioli.dominate.specifications.hibernate.HqlAssembler assembler)
           
 void itselfAssembleQuery(it.amattioli.dominate.specifications.Assembler assembler)
           
 boolean itselfSupportsAssembler(it.amattioli.dominate.specifications.Assembler assembler)
           
 void setHqlParam(it.amattioli.dominate.specifications.hibernate.HqlAssembler assembler)
           
 
Methods inherited from class it.amattioli.workstate.specifications.MachineSpecification
getMetaState, getPropertyName, getStateName, getWorkflowName, isSatisfiedBy, newInstance, setPropertyName, setStateName, setWorkflowName, wasSet
 
Methods inherited from class it.amattioli.dominate.specifications.ChainedSpecification
assembleQuery, chainAssembler, createChain, getNextInChain, setNextInChain, supportsAssembler
 
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

HqlMachineSpecification

public HqlMachineSpecification()

HqlMachineSpecification

public HqlMachineSpecification(String propertyName,
                               String workflowName)

HqlMachineSpecification

public HqlMachineSpecification(String propertyName,
                               String workflowName,
                               MachineSpecification<T> chained)

HqlMachineSpecification

public HqlMachineSpecification(String propertyName,
                               String workflowName,
                               String alias)
Method Detail

itselfAssembleQuery

public void itselfAssembleQuery(it.amattioli.dominate.specifications.Assembler assembler)
Specified by:
itselfAssembleQuery in class it.amattioli.dominate.specifications.ChainedSpecification<T extends it.amattioli.dominate.Entity<?>>

itselfSupportsAssembler

public boolean itselfSupportsAssembler(it.amattioli.dominate.specifications.Assembler assembler)
Specified by:
itselfSupportsAssembler in class it.amattioli.dominate.specifications.ChainedSpecification<T extends it.amattioli.dominate.Entity<?>>

addHqlCondition

public void addHqlCondition(it.amattioli.dominate.specifications.hibernate.HqlAssembler assembler)

setHqlParam

public void setHqlParam(it.amattioli.dominate.specifications.hibernate.HqlAssembler assembler)


Copyright © 2011. All Rights Reserved.