2 |
|
|
3 |
import java.util.HashSet; |
import java.util.HashSet; |
4 |
|
|
5 |
|
import org.geotools.feature.NameImpl; |
6 |
import org.opengis.feature.type.Name; |
import org.opengis.feature.type.Name; |
7 |
|
|
8 |
import skrueger.geotools.Copyable; |
import skrueger.geotools.Copyable; |
9 |
import skrueger.i8n.Translation; |
import skrueger.i8n.Translation; |
10 |
|
|
11 |
public interface AttributeMetadata extends Copyable<AttributeMetadata>, |
public interface AttributeMetadataInterface extends Copyable<AttributeMetadataInterface>, |
12 |
Comparable<AttributeMetadata> { |
Comparable<AttributeMetadataInterface> { |
13 |
|
|
14 |
/** |
/** |
15 |
* @return a translatable title for this attribute.. |
* @return a translatable title for this attribute.. |
20 |
* Set a translatable title for this attribute.. |
* Set a translatable title for this attribute.. |
21 |
*/ |
*/ |
22 |
public void setTitle(Translation title); |
public void setTitle(Translation title); |
23 |
|
|
24 |
|
/** |
25 |
|
* Set an untranslated title for this attribute or pass a {@link Translation} encryped as a {@link String} |
26 |
|
*/ |
27 |
|
public void setTitle(String title); |
28 |
|
|
29 |
/** |
/** |
30 |
* @return a translatable description for this attribute |
* @return a translatable description for this attribute |
37 |
public void setDesc(Translation desc); |
public void setDesc(Translation desc); |
38 |
|
|
39 |
/** |
/** |
40 |
|
* Set an untranslated description for this attribute or pass a {@link Translation} encryped as a {@link String} |
41 |
|
*/ |
42 |
|
public void setDesc(String desc); |
43 |
|
|
44 |
|
|
45 |
|
/** |
46 |
* The local name. E.g. the name of the DBF column as a {@link String}. |
* The local name. E.g. the name of the DBF column as a {@link String}. |
47 |
*/ |
*/ |
48 |
public String getLocalName(); |
public String getLocalName(); |