svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.api / src / main / java / org / gvsig / fmap / dal / feature / DataProfile.java @ 46539
History | View | Annotate | Download (493 Bytes)
1 | 44128 | jjdelcerro | package org.gvsig.fmap.dal.feature; |
---|---|---|---|
2 | |||
3 | 44448 | jjdelcerro | import org.gvsig.tools.dataTypes.CoercionException; |
4 | import org.gvsig.tools.dataTypes.DataType; |
||
5 | 44253 | jjdelcerro | import org.gvsig.tools.dynobject.Tags; |
6 | |||
7 | 44128 | jjdelcerro | /**
|
8 | *
|
||
9 | * @author jjdelcerro
|
||
10 | */
|
||
11 | public interface DataProfile { |
||
12 | |||
13 | 44253 | jjdelcerro | public String getID(); |
14 | |||
15 | 44128 | jjdelcerro | public String getName(); |
16 | |||
17 | 44189 | jjdelcerro | public Class getDataClass(); |
18 | |||
19 | 44253 | jjdelcerro | public Object createData(Object data, Tags tags); |
20 | 44448 | jjdelcerro | |
21 | public Object coerce(DataType dataType, Object value, Tags tags) throws CoercionException; |
||
22 | 44128 | jjdelcerro | } |