Revision 2081 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/dataTypes/DataType.java

View differences:

DataType.java
27 27

  
28 28
public interface DataType extends LabeledValue<DataType>, org.gvsig.tools.lang.Cloneable {
29 29

  
30
	public boolean isObject() ;
31
	
32
	public boolean isDynObject();
30
  public boolean isObject();
33 31

  
34
	public boolean isContainer() ;
35
	
36
	public boolean isNumeric();
37
	
38
	public String getName() ;
39
	
40
	public int getType() ;
32
  public boolean isDynObject();
41 33

  
42
	public Class getDefaultClass() ;
34
  public boolean isContainer();
43 35

  
44
	public String getSubtype() ;
36
  public boolean isNumeric();
45 37

  
46
	public Coercion getCoercion();
47
	
38
  public String getName();
39

  
40
  public int getType();
41

  
42
  public Class getDefaultClass();
43

  
44
  public String getSubtype();
45

  
46
  public Coercion getCoercion();
47

  
48 48
//	public void setCoercion(Coercion coercion);
49
	
50
	public void addCoercion(Coercion coercion);
51
	
52
	public Object coerce(Object value) throws CoercionException;
53
        
54
        public String getIconName();
49
  public void addCoercion(Coercion coercion);
55 50

  
56
        @Override
57
        public DataType clone() throws CloneNotSupportedException;
51
  public Object coerce(Object value) throws CoercionException;
58 52

  
53
  public Object coerce(Object value, CoercionContext context) throws CoercionException;
54

  
55
  public String getIconName();
56

  
57
  @Override
58
  public DataType clone() throws CloneNotSupportedException;
59

  
59 60
}

Also available in: Unified diff