Revision 2080 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/dataTypes/DataType.java
DataType.java | ||
---|---|---|
23 | 23 |
*/ |
24 | 24 |
package org.gvsig.tools.dataTypes; |
25 | 25 |
|
26 |
import org.gvsig.tools.dataTypes.DataTypesManager.Coercion; |
|
27 | 26 |
import org.gvsig.tools.util.LabeledValue; |
28 | 27 |
|
29 | 28 |
public interface DataType extends LabeledValue<DataType>, org.gvsig.tools.lang.Cloneable { |
... | ... | |
44 | 43 |
|
45 | 44 |
public String getSubtype() ; |
46 | 45 |
|
47 |
public Coercion getCoercion() ;
|
|
46 |
public Coercion getCoercion(); |
|
48 | 47 |
|
49 |
public void setCoercion(Coercion coercion) ;
|
|
48 |
// public void setCoercion(Coercion coercion);
|
|
50 | 49 |
|
51 |
public void addCoercion(Coercion coercion) ;
|
|
50 |
public void addCoercion(Coercion coercion); |
|
52 | 51 |
|
53 | 52 |
public Object coerce(Object value) throws CoercionException; |
54 | 53 |
|
Also available in: Unified diff