1 |
package skrueger; |
package skrueger; |
2 |
|
|
3 |
|
import java.io.Serializable; |
4 |
import java.util.HashSet; |
import java.util.HashSet; |
5 |
|
import java.util.Set; |
6 |
|
|
7 |
import org.geotools.feature.NameImpl; |
import org.geotools.feature.NameImpl; |
8 |
import org.opengis.feature.type.Name; |
import org.opengis.feature.type.Name; |
10 |
import skrueger.geotools.Copyable; |
import skrueger.geotools.Copyable; |
11 |
import skrueger.i8n.Translation; |
import skrueger.i8n.Translation; |
12 |
|
|
13 |
public interface AttributeMetadata extends Copyable<AttributeMetadata>, |
public interface AttributeMetadataInterface extends Copyable<AttributeMetadataInterface>, |
14 |
Comparable<AttributeMetadata> { |
Comparable<AttributeMetadataInterface> { |
15 |
|
|
16 |
/** |
/** |
17 |
* @return a translatable title for this attribute.. |
* @return a translatable title for this attribute.. |
22 |
* Set a translatable title for this attribute.. |
* Set a translatable title for this attribute.. |
23 |
*/ |
*/ |
24 |
public void setTitle(Translation title); |
public void setTitle(Translation title); |
25 |
|
|
26 |
|
/** |
27 |
|
* Set an untranslated title for this attribute or pass a {@link Translation} encryped as a {@link String} |
28 |
|
*/ |
29 |
|
public void setTitle(String title); |
30 |
|
|
31 |
/** |
/** |
32 |
* @return a translatable description for this attribute |
* @return a translatable description for this attribute |
39 |
public void setDesc(Translation desc); |
public void setDesc(Translation desc); |
40 |
|
|
41 |
/** |
/** |
42 |
|
* Set an untranslated description for this attribute or pass a {@link Translation} encryped as a {@link String} |
43 |
|
*/ |
44 |
|
public void setDesc(String desc); |
45 |
|
|
46 |
|
|
47 |
|
/** |
48 |
* 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}. |
49 |
*/ |
*/ |
50 |
public String getLocalName(); |
public String getLocalName(); |