/[schmitzm]/branches/2.4.x/src/skrueger/AttributeMetadataInterface.java
ViewVC logotype

Diff of /branches/2.4.x/src/skrueger/AttributeMetadataInterface.java

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

trunk/src/skrueger/AttributeMetadata.java revision 770 by alfonx, Sun Mar 21 11:36:11 2010 UTC branches/2.4.x/src/skrueger/AttributeMetadataInterface.java revision 1383 by alfonx, Wed Jan 26 13:46:20 2011 UTC
# Line 2  package skrueger; Line 2  package skrueger;
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..
# Line 20  public interface AttributeMetadata exten Line 19  public interface AttributeMetadata exten
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
# Line 32  public interface AttributeMetadata exten Line 36  public interface AttributeMetadata exten
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();
# Line 47  public interface AttributeMetadata exten Line 57  public interface AttributeMetadata exten
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

Legend:
Removed from v.770  
changed lines
  Added in v.1383

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26