|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.core.common.Converter
public class Converter
A class used for converting simple types to other types (i.e. java.lang.String -> java.lang.Integer, etc).
| Constructor Summary | |
|---|---|
Converter()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
convert(java.lang.Object object,
java.lang.Class expectedType)
Attempts to convert the object to the expectedType. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Converter()
| Method Detail |
|---|
public static java.lang.Object convert(java.lang.Object object,
java.lang.Class expectedType)
object to the expectedType.
object - the object to convert.expectedType - the type to which it should be converted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||