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

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

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

trunk/src/skrueger/AttributeMetadata.java revision 771 by alfonx, Sun Mar 21 11:36:11 2010 UTC trunk/src/skrueger/AttributeMetadataInterface.java revision 772 by alfonx, Sun Mar 21 14:05:26 2010 UTC
# Line 1  Line 1 
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;
# Line 8  import org.opengis.feature.type.Name; Line 10  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..
# Line 20  public interface AttributeMetadata exten Line 22  public interface AttributeMetadata exten
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
# Line 32  public interface AttributeMetadata exten Line 39  public interface AttributeMetadata exten
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();

Legend:
Removed from v.771  
changed lines
  Added in v.772

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26