Package org.nuiton.math.matrix
Class SemanticMapper
java.lang.Object
org.nuiton.math.matrix.SemanticMapper
Mapper used during import/export to map CSV file semantics to
real semantics value depending on execution context.
- Version:
- $Revision$ Last update : $Date$ By : $Author$
- Author:
- chatellier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn class for type identified by typeName.getTypeName(Object type) Return type name for given type.Return value identified by valueId and typetype.getValueId(Object value) Get value id for value.
-
Constructor Details
-
SemanticMapper
public SemanticMapper()
-
-
Method Details
-
getType
Return class for type identified by typeName. For example : "Population" can return "fr.ifremer.entities.Population.class" ReturnStringby default.- Parameters:
typeName- type to get class.- Returns:
- type for typeId
-
getValue
Return value identified by valueId and typetype. ReturnvalueIdby default;- Parameters:
type-valueId-- Returns:
- value identified by {valueId}
-
getTypeName
Return type name for given type.- Parameters:
type- type to get name- Returns:
- type name
-
getValueId
Get value id for value.- Parameters:
value- value to get id- Returns:
- value id
-