|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.nuiton.math.matrix.SemanticMapper
public class SemanticMapper
Mapper used during import/export to map CSV file semantics to real semantics value depending on execution context.
| Constructor Summary | |
|---|---|
SemanticMapper()
|
|
| Method Summary | |
|---|---|
Class |
getType(String typeName)
Return class for type identified by typeName. |
String |
getTypeName(Object type)
Return type name for given type. |
Object |
getValue(Class type,
String valueId)
Return value identified by valueId and type type. |
String |
getValueId(Object value)
Get value id for value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SemanticMapper()
| Method Detail |
|---|
public Class getType(String typeName)
String by default.
typeName - type to get class.
public Object getValue(Class type,
String valueId)
type.
Return valueId by default;
type - valueId -
public String getTypeName(Object type)
type - type to get name
public String getValueId(Object value)
value - value to get id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||