--- trunk/src/skrueger/AttributeMetadata.java 2010/03/21 12:12:06 771 +++ trunk/src/skrueger/AttributeMetadataInterface.java 2010/03/21 14:05:26 772 @@ -1,6 +1,8 @@ package skrueger; +import java.io.Serializable; import java.util.HashSet; +import java.util.Set; import org.geotools.feature.NameImpl; import org.opengis.feature.type.Name; @@ -8,8 +10,8 @@ import skrueger.geotools.Copyable; import skrueger.i8n.Translation; -public interface AttributeMetadata extends Copyable, - Comparable { +public interface AttributeMetadataInterface extends Copyable, + Comparable { /** * @return a translatable title for this attribute.. @@ -20,6 +22,11 @@ * Set a translatable title for this attribute.. */ public void setTitle(Translation title); + + /** + * Set an untranslated title for this attribute or pass a {@link Translation} encryped as a {@link String} + */ + public void setTitle(String title); /** * @return a translatable description for this attribute @@ -32,6 +39,12 @@ public void setDesc(Translation desc); /** + * Set an untranslated description for this attribute or pass a {@link Translation} encryped as a {@link String} + */ + public void setDesc(String desc); + + + /** * The local name. E.g. the name of the DBF column as a {@link String}. */ public String getLocalName();