2 |
|
|
3 |
import java.util.HashSet; |
import java.util.HashSet; |
4 |
|
|
|
import org.geotools.feature.NameImpl; |
|
5 |
import org.opengis.feature.type.Name; |
import org.opengis.feature.type.Name; |
6 |
|
|
7 |
import skrueger.geotools.Copyable; |
import skrueger.geotools.Copyable; |
8 |
import skrueger.i8n.Translation; |
import skrueger.i8n.Translation; |
9 |
|
|
10 |
public interface AttributeMetadata extends Copyable<AttributeMetadata>, |
public interface AttributeMetadataInterface extends Copyable<AttributeMetadataInterface>, |
11 |
Comparable<AttributeMetadata> { |
Comparable<AttributeMetadataInterface> { |
12 |
|
|
13 |
/** |
/** |
14 |
* @return a translatable title for this attribute.. |
* @return a translatable title for this attribute.. |
19 |
* Set a translatable title for this attribute.. |
* Set a translatable title for this attribute.. |
20 |
*/ |
*/ |
21 |
public void setTitle(Translation title); |
public void setTitle(Translation title); |
22 |
|
|
23 |
|
/** |
24 |
|
* Set an untranslated title for this attribute or pass a {@link Translation} encryped as a {@link String} |
25 |
|
*/ |
26 |
|
public void setTitle(String title); |
27 |
|
|
28 |
/** |
/** |
29 |
* @return a translatable description for this attribute |
* @return a translatable description for this attribute |
36 |
public void setDesc(Translation desc); |
public void setDesc(Translation desc); |
37 |
|
|
38 |
/** |
/** |
39 |
|
* Set an untranslated description for this attribute or pass a {@link Translation} encryped as a {@link String} |
40 |
|
*/ |
41 |
|
public void setDesc(String desc); |
42 |
|
|
43 |
|
|
44 |
|
/** |
45 |
* 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}. |
46 |
*/ |
*/ |
47 |
public String getLocalName(); |
public String getLocalName(); |
57 |
* {@link #getLocalName()} value. The first may be <code>null</code> or |
* {@link #getLocalName()} value. The first may be <code>null</code> or |
58 |
* represent the layer name. |
* represent the layer name. |
59 |
*/ |
*/ |
60 |
public NameImpl getName(); |
public Name getName(); |
61 |
|
|
62 |
/** |
/** |
63 |
* set the fully qualified {@link Name} of this attribute. |
* set the fully qualified {@link Name} of this attribute. |
64 |
*/ |
*/ |
65 |
public void setName(NameImpl name); |
public void setName(Name name); |
66 |
|
|
67 |
/** |
/** |
68 |
* A list og objects that represent NODATA-values for this attribute. The |
* A list og objects that represent NODATA-values for this attribute. The |