|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.data.structure.AbstractSimpleComputation
com.sdm.quasar.client.core.data.structure.IntegerToStringConversion
Converts an Integer value to a String value. If the String cannot be converted into an Integer, the default value is used.
| Constructor Summary | |
IntegerToStringConversion(java.lang.Integer defaultValue)
Constructor |
|
| Method Summary | |
java.lang.Object |
computeFromValues(java.lang.Object[] sourceValues)
Converts the Integer value to a String |
java.lang.Class[] |
getSourceTypes()
|
java.lang.Class |
getType()
|
java.lang.Object[] |
reverseComputationToValues(java.lang.Object targetValue,
java.lang.Object[] sourceValues)
Converts the String value into an Integer. |
boolean |
supportsReverse()
This implementation returns false. |
| Methods inherited from class com.sdm.quasar.client.core.data.structure.AbstractSimpleComputation |
computeIndexSet, computeValue, reverseValueComputation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IntegerToStringConversion(java.lang.Integer defaultValue)
defaultValue - the default value that is used when the String cannot be converted into an Integer.| Method Detail |
public java.lang.Class getType()
Computation.getType()public java.lang.Class[] getSourceTypes()
Computation.getSourceTypes()public java.lang.Object computeFromValues(java.lang.Object[] sourceValues)
computeFromValues in class AbstractSimpleComputationsourceValues - the source values
AbstractSimpleComputation.computeFromValues(Object[])public boolean supportsReverse()
AbstractSimpleComputation
supportsReverse in interface ComputationsupportsReverse in class AbstractSimpleComputationComputation.supportsReverse()
public java.lang.Object[] reverseComputationToValues(java.lang.Object targetValue,
java.lang.Object[] sourceValues)
reverseComputationToValues in class AbstractSimpleComputationtargetValue - the target valuesourceValues - the current source values
AbstractSimpleComputation.reverseComputationToValues(java.lang.Object, java.lang.Object[])
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||