|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.databene.commons.accessor.AccessorProxy<C,V>
org.databene.commons.accessor.NullSafeAccessor<C,V>
public abstract class NullSafeAccessor<C,V>
Accessor wrapper that returns a predefined value if getValue() is invoked with a 'null' source.
Created: 26.06.2005 08:22:21
| Field Summary |
|---|
| Fields inherited from class org.databene.commons.accessor.AccessorProxy |
|---|
realAccessor |
| Constructor Summary | |
|---|---|
NullSafeAccessor(Accessor<C,V> realAccessor,
V nullValue)
|
|
| Method Summary | |
|---|---|
V |
getValue(C source)
|
| Methods inherited from class org.databene.commons.accessor.AccessorProxy |
|---|
getDependencies |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullSafeAccessor(Accessor<C,V> realAccessor,
V nullValue)
| Method Detail |
|---|
public V getValue(C source)
getValue in interface Accessor<C,V>getValue in class AccessorProxy<C,V>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||