com.anasoft.os.daofusion.criteria
Class NestedPropertyCriterion.NestedPropertyCriterionBuilder<T extends NestedPropertyCriterion<V>,V extends NestedPropertyCriterionVisitor>

java.lang.Object
  extended by com.anasoft.os.daofusion.criteria.NestedPropertyCriterion.NestedPropertyCriterionBuilder<T,V>
Direct Known Subclasses:
FilterCriterion.FilterCriterionBuilder, SortCriterion.SortCriterionBuilder
Enclosing class:
NestedPropertyCriterion<V extends NestedPropertyCriterionVisitor>

protected abstract static class NestedPropertyCriterion.NestedPropertyCriterionBuilder<T extends NestedPropertyCriterion<V>,V extends NestedPropertyCriterionVisitor>
extends java.lang.Object

Base class for specific NestedPropertyCriterion builders.

Author:
vojtech.szocs

Field Summary
protected  AssociationPath associationPath
           
protected  java.lang.String targetPropertyName
           
 
Constructor Summary
NestedPropertyCriterion.NestedPropertyCriterionBuilder(AssociationPath associationPath, java.lang.String targetPropertyName)
          Creates a new criterion builder.
 
Method Summary
abstract  T build()
          Builds a NestedPropertyCriterion instance according to the state of this builder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

associationPath

protected final AssociationPath associationPath

targetPropertyName

protected final java.lang.String targetPropertyName
Constructor Detail

NestedPropertyCriterion.NestedPropertyCriterionBuilder

public NestedPropertyCriterion.NestedPropertyCriterionBuilder(AssociationPath associationPath,
                                                              java.lang.String targetPropertyName)
Creates a new criterion builder.

Parameters:
associationPath - AssociationPath which points to the given property of the target persistent entity.
targetPropertyName - Name of the target property of the given persistent entity.
Method Detail

build

public abstract T build()
Builds a NestedPropertyCriterion instance according to the state of this builder.

Returns:
Resulting NestedPropertyCriterion instance.


Copyright © 2008-2009 ANASOFT and contributors. All Rights Reserved.