org.nuiton.util.beans
Class BinderFactory.BinderModelEntry
java.lang.Object
org.nuiton.util.beans.BinderFactory.BinderModelEntry
- Enclosing class:
- BinderFactory
public static class BinderFactory.BinderModelEntry
- extends Object
Definition of an binder model entry (source and target types + context name).
Note :When no context is specified, we always use a
null context name.
sourceType
protected final Class<?> sourceType
targetType
protected final Class<?> targetType
name
protected final String name
BinderFactory.BinderModelEntry
public BinderFactory.BinderModelEntry(Class<?> sourceType,
Class<?> targetType,
String name)
BinderFactory.BinderModelEntry
public BinderFactory.BinderModelEntry(Binder.BinderModel<?,?> model,
String contextName)
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-2011 CodeLutin. All Rights Reserved.