fr.ifremer.isisfish.util
Class IsisMatrixSemanticMapper

java.lang.Object
  extended by org.nuiton.math.matrix.SemanticMapper
      extended by fr.ifremer.isisfish.util.IsisMatrixSemanticMapper

public class IsisMatrixSemanticMapper
extends org.nuiton.math.matrix.SemanticMapper

Implementation du mapper de semantique pour Isis pour que l'import/export des matrices en N dimensions de nuiton matrix fonctionne.

Version:
$Revision: 3507 $ Last update : $Date: 2011-10-28 15:47:33 +0200 (Fri, 28 Oct 2011) $ By : $Author: echatellier $
Author:
chatellier

Constructor Summary
IsisMatrixSemanticMapper()
           
 
Method Summary
 Class getType(String typeName)
          Return class for type identified by typeName.
 Object getValue(Class type, String valueId)
          Return value identified by valueId and type type.
 
Methods inherited from class org.nuiton.math.matrix.SemanticMapper
getTypeName, getValueId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsisMatrixSemanticMapper

public IsisMatrixSemanticMapper()
Method Detail

getType

public Class getType(String typeName)
Return class for type identified by typeName. For example : "Population" can return "fr.ifremer.entities.Population.class" Return String by default.

Overrides:
getType in class org.nuiton.math.matrix.SemanticMapper
Parameters:
typeName - type to get class.
Returns:
type for typeId

getValue

public Object getValue(Class type,
                       String valueId)
Return value identified by valueId and type type. Return valueId by default;

Overrides:
getValue in class org.nuiton.math.matrix.SemanticMapper
Parameters:
type -
valueId -
Returns:
value identified by {valueId}


Copyright © 1999-2012 CodeLutin. All Rights Reserved.