org.nuiton.util.beans
Class BinderProvider.BinderEntry

java.lang.Object
  extended by org.nuiton.util.beans.BinderProvider.BinderEntry
Enclosing class:
BinderProvider

public static class BinderProvider.BinderEntry
extends Object

Definition of an binder entry (source and target types + context name).

Note :When no context is specified, we always use a null context name.


Field Summary
protected  String name
           
protected  Class<?> sourceType
           
protected  Class<?> targetType
           
 
Constructor Summary
BinderProvider.BinderEntry(Class<?> sourceType, Class<?> targetType, String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 Class<?> getSourceType()
           
 Class<?> getTargetType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

sourceType

protected final Class<?> sourceType

targetType

protected final Class<?> targetType

name

protected final String name
Constructor Detail

BinderProvider.BinderEntry

public BinderProvider.BinderEntry(Class<?> sourceType,
                                  Class<?> targetType,
                                  String name)
Method Detail

getSourceType

public Class<?> getSourceType()

getTargetType

public Class<?> getTargetType()

getName

public String getName()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2010 CodeLutin. All Rights Reserved.