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

Field Detail

sourceType

protected final java.lang.Class<?> sourceType

targetType

protected final java.lang.Class<?> targetType

name

protected final java.lang.String name
Constructor Detail

BinderProvider.BinderEntry

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

getSourceType

public java.lang.Class<?> getSourceType()

getTargetType

public java.lang.Class<?> getTargetType()

getName

public java.lang.String getName()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2010 CodeLutin. All Rights Reserved.