/[schmitzm]/trunk/src/skrueger/AbstractAttributeMetadata.java
ViewVC logotype

Diff of /trunk/src/skrueger/AbstractAttributeMetadata.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 769 by alfonx, Sun Mar 21 11:02:34 2010 UTC revision 797 by alfonx, Sat Apr 10 16:12:40 2010 UTC
# Line 8  import org.opengis.feature.type.Name; Line 8  import org.opengis.feature.type.Name;
8  import skrueger.geotools.StyledLayerUtil;  import skrueger.geotools.StyledLayerUtil;
9  import skrueger.i8n.Translation;  import skrueger.i8n.Translation;
10    
11  public abstract class AbstractAttributeMetadata implements AttributeMetadata {  public abstract class AbstractAttributeMetadata implements AttributeMetadataInterface {
12    
13          /** The Name of the attribute. This is the 'primary key' **/          /** The Name of the attribute. This is the 'primary key' **/
14          protected Name name;          protected Name name;
# Line 44  public abstract class AbstractAttributeM Line 44  public abstract class AbstractAttributeM
44          public String getUnit() {          public String getUnit() {
45                  return unit;                  return unit;
46          }          }
47            
48            @Override
49            public void setTitle(final String title) {
50                    this.title = new Translation(title);
51            }
52    
53            @Override
54            public void setDesc(final String desc) {
55                    this.desc = new Translation(desc);
56            }
57            
58          /**          /**
59           * When listed, the attributes are listed according to their {@link #weight}           * When listed, the attributes are listed according to their {@link #weight}
60           * (heavier => further down)           * (heavier => further down)

Legend:
Removed from v.769  
changed lines
  Added in v.797

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26