|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slim3.container.Binding
public class Binding
A binding class for Resource annotation.
| Field Summary | |
|---|---|
protected Field |
field
The field. |
protected String |
name
The name. |
protected Method |
writeMethod
The write method. |
| Constructor Summary | |
|---|---|
Binding(String name,
Field field)
Constructor. |
|
Binding(String name,
Field field,
Method writeMethod)
Constructor. |
|
| Method Summary | |
|---|---|
void |
bind(Object bean,
S3Container container)
Binds specified object to the bean. |
Field |
getField()
Returns the field. |
String |
getName()
Returns the name. |
Method |
getWriteMethod()
Returns the write method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected Field field
protected Method writeMethod
| Constructor Detail |
|---|
public Binding(String name,
Field field)
name - the namefield - the fieldBinding(String, Field, Method)
public Binding(String name,
Field field,
Method writeMethod)
throws NullPointerException
name - the namefield - the fieldwriteMethod - the write method
NullPointerException - if the name parameter is null or if the field parameter is
null| Method Detail |
|---|
public String getName()
public Field getField()
public Method getWriteMethod()
public void bind(Object bean,
S3Container container)
throws BindingFailureRuntimeException,
PropertyCanNotWriteRuntimeException
bean - the beancontainer - the container
BindingFailureRuntimeException - if an exception is encountered while looking up the container
PropertyCanNotWriteRuntimeException - if an exception is encountered while writing property value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||