- All Implemented Interfaces:
NumberWrapper<Short>,Wrapper<Short>
- Direct Known Subclasses:
PrimitiveShortWrapper
A wrapper for the
Short class.-
Field Summary
Fields inherited from class org.seasar.doma.wrapper.AbstractWrapper
basicClass, value -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.seasar.doma.wrapper.AbstractWrapper
doGet, doGetCopy, doHasEqualValue, doSet, get, getBasicClass, getCopy, getDefault, hasEqualValue, set, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.seasar.doma.wrapper.Wrapper
get, getBasicClass, getCopy, getDefault, hasEqualValue, isPrimitiveWrapper
-
Constructor Details
-
ShortWrapper
public ShortWrapper() -
ShortWrapper
-
-
Method Details
-
set
Description copied from interface:WrapperSets the value.- Specified by:
setin interfaceNumberWrapper<Short>- Parameters:
v- the value
-
increment
public void increment()Description copied from interface:NumberWrapperIncrements this object.- Specified by:
incrementin interfaceNumberWrapper<Short>
-
decrement
public void decrement()Description copied from interface:NumberWrapperDecrements this object.- Specified by:
decrementin interfaceNumberWrapper<Short>
-
accept
public <R,P, R acceptQ, TH extends Throwable> (WrapperVisitor<R, P, throws THQ, TH> visitor, P p, Q q) Description copied from interface:WrapperAccept a visitor.- Specified by:
acceptin interfaceWrapper<Short>- Type Parameters:
R- The resultP- The first parameter typeQ- The second parameter typeTH- The error or exception type- Parameters:
visitor- the visitorp- the first parameterq- the second parameter- Returns:
- the result
- Throws:
TH- the error or exception type
-