--- trunk/src/skrueger/AbstractAttributeMetadata.java 2010/03/21 12:12:06 771 +++ trunk/src/skrueger/AbstractAttributeMetadata.java 2010/03/21 14:05:26 772 @@ -8,7 +8,7 @@ import skrueger.geotools.StyledLayerUtil; import skrueger.i8n.Translation; -public abstract class AbstractAttributeMetadata implements AttributeMetadata { +public abstract class AbstractAttributeMetadata implements AttributeMetadataInterface { /** The Name of the attribute. This is the 'primary key' **/ protected NameImpl name; @@ -44,7 +44,17 @@ public String getUnit() { return unit; } + + @Override + public void setTitle(final String title) { + this.title = new Translation(title); + } + @Override + public void setDesc(final String desc) { + this.desc = new Translation(desc); + } + /** * When listed, the attributes are listed according to their {@link #weight} * (heavier => further down)