net.sf.adatagenerator.api
Interface FieldDependency<B>

Type Parameters:
B - the bean type
All Known Implementing Classes:
DefaultFieldDependency

public interface FieldDependency<B>


Method Summary
 boolean addDependency(String dependentName)
          Adds a dependency to this field
 void addReverseDependency(FieldDependency<B> fieldDependency)
           
 Set<FieldDependency<B>> getDependencies()
          Returns an unmodifiable copy of the dependencies of this field
 FieldDependencyManager<B> getFieldDependencyManager()
           
 String getFieldName()
           
 Set<FieldDependency<B>> getReverseDependencies()
          Returns an unmodifiable copy of the dependencies on this field
 boolean isVisited()
           
 void setVisited(boolean b)
           
 

Method Detail

isVisited

boolean isVisited()

setVisited

void setVisited(boolean b)

getFieldName

String getFieldName()

getFieldDependencyManager

FieldDependencyManager<B> getFieldDependencyManager()

getDependencies

Set<FieldDependency<B>> getDependencies()
Returns an unmodifiable copy of the dependencies of this field


getReverseDependencies

Set<FieldDependency<B>> getReverseDependencies()
Returns an unmodifiable copy of the dependencies on this field


addDependency

boolean addDependency(String dependentName)
Adds a dependency to this field

Parameters:
dependentName - the name of the field on which this field will become dependent.

addReverseDependency

void addReverseDependency(FieldDependency<B> fieldDependency)


Copyright © 2011-2012. All Rights Reserved.