org.nodal.util
Class CharSetterUtil

java.lang.Object
  extended byorg.nodal.util.GetterFilter
      extended byorg.nodal.util.AtomicSetterUtil
          extended byorg.nodal.util.CharSetterUtil
All Implemented Interfaces:
Getter, Setter, TxnMonitorable

public class CharSetterUtil
extends AtomicSetterUtil

Utility class for defining Setters of char values.


Nested Class Summary
static interface CharSetterUtil.CharSetter
          Implement this interface to use CharSetterUtil.
 
Field Summary
 
Fields inherited from class org.nodal.util.AtomicSetterUtil
typeName
 
Fields inherited from class org.nodal.util.GetterFilter
getter
 
Constructor Summary
CharSetterUtil(GetterUtil g, CharSetterUtil.CharSetter s)
           
 
Method Summary
 char setChar(char c)
          Set the value to a character.
protected  java.lang.Object setObject(java.lang.Object obj)
           
 java.lang.String setString(java.lang.String val)
          Set the value to that parsed from a String.
 
Methods inherited from class org.nodal.util.AtomicSetterUtil
path, set, setBoolean, setByte, setDouble, setFloat, setInt, setLong, setNode, setShort
 
Methods inherited from class org.nodal.util.GetterFilter
addTxnHandler, get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getNode, getShort, getString, removeTxnHandler, type, valueEquals
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nodal.model.Getter
get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getNode, getShort, getString, type, valueEquals
 
Methods inherited from interface org.nodal.model.TxnMonitorable
addTxnHandler, removeTxnHandler
 

Constructor Detail

CharSetterUtil

public CharSetterUtil(GetterUtil g,
                      CharSetterUtil.CharSetter s)
Method Detail

setChar

public char setChar(char c)
             throws ConstraintFailure
Description copied from interface: Setter
Set the value to a character.

Specified by:
setChar in interface Setter
Overrides:
setChar in class AtomicSetterUtil
Throws:
ConstraintFailure

setObject

protected java.lang.Object setObject(java.lang.Object obj)
                              throws ConstraintFailure
Specified by:
setObject in class AtomicSetterUtil
Throws:
ConstraintFailure

setString

public java.lang.String setString(java.lang.String val)
                           throws ConstraintFailure
Description copied from interface: Setter
Set the value to that parsed from a String.

Specified by:
setString in interface Setter
Specified by:
setString in class AtomicSetterUtil
Throws:
ConstraintFailure