sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1483030 - in /sis/branches/JDK7: core/sis-utility/src/main/java/org/apache/sis/util/resources/ storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/
Date Wed, 15 May 2013 19:32:04 GMT
Author: desruisseaux
Date: Wed May 15 19:32:03 2013
New Revision: 1483030

URL: http://svn.apache.org/r1483030
Log:
Minor javadoc formatting, and added resources to be needed later.

Modified:
    sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.java
    sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.properties
    sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties
    sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.java
    sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.properties
    sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary_fr.properties
    sis/branches/JDK7/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.java?rev=1483030&r1=1483029&r2=1483030&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.java
[UTF-8] Wed May 15 19:32:03 2013
@@ -154,6 +154,11 @@ public final class Errors extends Indexe
         public static final int ExcessiveArgumentSize_3 = 52;
 
         /**
+         * A size of {1} elements is excessive for the “{0}” list.
+         */
+        public static final int ExcessiveListSize_2 = 94;
+
+        /**
          * Attribute “{0}” is not allowed for an object of type ‘{1}’.
          */
         public static final int ForbiddenAttribute_2 = 21;
@@ -436,11 +441,21 @@ public final class Errors extends Indexe
         public static final int UnexpectedChange_1 = 56;
 
         /**
+         * Unexpected end of file while reading “{0}”.
+         */
+        public static final int UnexpectedEndOfFile_1 = 91;
+
+        /**
          * More characters were expected at the end of “{0}”.
          */
         public static final int UnexpectedEndOfString_1 = 30;
 
         /**
+         * File “{1}” does not seem to be encoded in the “{0}” format.
+         */
+        public static final int UnexpectedFileFormat_2 = 92;
+
+        /**
          * Type of the “{0}” property is unknown.
          */
         public static final int UnknownTypeForProperty_1 = 80;
@@ -506,6 +521,11 @@ public final class Errors extends Indexe
         public static final int UnsupportedType_1 = 69;
 
         /**
+         * Version {0} is not supported.
+         */
+        public static final int UnsupportedVersion_1 = 93;
+
+        /**
          * A value is already defined for “{0}”.
          */
         public static final int ValueAlreadyDefined_1 = 13;

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.properties?rev=1483030&r1=1483029&r2=1483030&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.properties
[ISO-8859-1] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.properties
[ISO-8859-1] Wed May 15 19:32:03 2013
@@ -42,6 +42,7 @@ EmptyDictionary                 = The di
 EmptyEnvelope2D                 = Envelope must be at least two-dimensional and non-empty.
 EmptyProperty_1                 = Property named \u201c{0}\u201d shall not be empty.
 ExcessiveArgumentSize_3         = Argument \u2018{0}\u2019 shall not contain more than {1}
elements. A number of {2} is excessive.
+ExcessiveListSize_2             = A size of {1} elements is excessive for the \u201c{0}\u201d
list.
 ForbiddenAttribute_2            = Attribute \u201c{0}\u201d is not allowed for an object
of type \u2018{1}\u2019.
 IllegalArgumentClass_2          = Argument \u2018{0}\u2019 can not be an instance of \u2018{1}\u2019.
 IllegalArgumentClass_3          = Argument \u2018{0}\u2019 can not be an instance of \u2018{2}\u2019.
Expected an instance of \u2018{1}\u2019 or derived type.
@@ -99,7 +100,9 @@ RequireDecimalSeparator         = A deci
 StalledThread_1                 = Thread \u201c{0}\u201d seems stalled.
 UndefinedOrderingForElements_2  = Ordering between \u201c{0}\u201d and \u201c{1}\u201d elements
is undefined.
 UnexpectedChange_1              = Unexpected change in \u2018{0}\u2019.
+UnexpectedEndOfFile_1           = Unexpected end of file while reading \u201c{0}\u201d.
 UnexpectedEndOfString_1         = More characters were expected at the end of \u201c{0}\u201d.
+UnexpectedFileFormat_2          = File \u201c{1}\u201d does not seem to be encoded in the
\u201c{0}\u201d format.
 UnknownType_1                   = Type \u2018{0}\u2019 is unknown in this context.
 UnknownTypeForProperty_1        = Type of the \u201c{0}\u201d property is unknown.
 UnmodifiableAffineTransform     = This affine transform is unmodifiable.
@@ -113,6 +116,7 @@ UnspecifiedFormatForClass_1     = No for
 UnsupportedImplementation_1     = Can not handle instances of \u2018{0}\u2019 because arbitrary
implementations are not yet supported.
 UnsupportedOperation_1          = The \u2018{0}\u2019 operation is unsupported.
 UnsupportedType_1               = The \u2018{0}\u2019 type is unsupported.
+UnsupportedVersion_1            = Version {0} is not supported.
 ValueAlreadyDefined_1           = A value is already defined for \u201c{0}\u201d.
 ValueNotGreaterThanZero_2       = Value \u2018{0}\u2019={1} is invalid. Expected a number
greater than 0.
 ValueOutOfRange_4               = Value \u2018{0}\u2019={3} is invalid. Expected a value
in the [{1} \u2026 {2}] range.

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties?rev=1483030&r1=1483029&r2=1483030&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties
[ISO-8859-1] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties
[ISO-8859-1] Wed May 15 19:32:03 2013
@@ -32,6 +32,7 @@ EmptyDictionary                 = Le dic
 EmptyEnvelope2D                 = L\u2019enveloppe doit avoir au moins deux dimensions et
ne pas \u00eatre vide.
 EmptyProperty_1                 = La propri\u00e9t\u00e9 nomm\u00e9e \u201c{0}\u201d ne doit
pas \u00eatre vide.
 ExcessiveArgumentSize_3         = L\u2019argument \u2018{0}\u2019 ne peut pas contenir plus
de {1} \u00e9l\u00e9ments. Un nombre de {2} est excessif.
+ExcessiveListSize_2             = Une taille de {1} \u00e9l\u00e9ments est excessive pour
la liste \u201c{0}\u201d.
 ForbiddenAttribute_2            = L\u2019attribut \u201c{0}\u201d n\u2019est pas autoris\u00e9
pour un objet de type \u2018{1}\u2019.
 IllegalArgumentClass_2          = L\u2019argument \u2018{0}\u2019 ne peut pas \u00eatre de
type \u2018{1}\u2019.
 IllegalArgumentClass_3          = L\u2019argument \u2018{0}\u2019 ne peut pas \u00eatre de
type \u2018{2}\u2019. Une instance de \u2018{1}\u2019 ou d\u2019un type d\u00e9riv\u00e9 \u00e9tait
attendue.
@@ -88,7 +89,9 @@ RequireDecimalSeparator         = Un s\u
 StalledThread_1                 = La t\u00e2che \u201c{0}\u201d semble bloqu\u00e9e.
 UndefinedOrderingForElements_2  = L\u2019ordre entre les \u00e9l\u00e9ments \u201c{0}\u201d
et \u201c{1}\u201d n\u2019est pas d\u00e9fini.
 UnexpectedChange_1              = Changement inattendu dans \u2018{0}\u2019.
+UnexpectedEndOfFile_1           = Fin de fichier inattendue lors de la lecture de \u201c{0}\u201d.
 UnexpectedEndOfString_1         = D\u2019autres caract\u00e8res \u00e9taient attendus \u00e0
la fin du texte \u201c{0}\u201d.
+UnexpectedFileFormat_2          = Le fichier \u201c{1}\u201d ne semble pas \u00eatre encod\u00e9
selon le format \u201c{0}\u201d.
 UnknownType_1                   = Le type \u2018{0}\u2019 n\u2019est pas reconnu dans ce
contexte.
 UnknownTypeForProperty_1        = Le type de la propri\u00e9t\u00e9 \u201c{0}\u201d est inconnu.
 UnmodifiableAffineTransform     = Cette transformation affine n\u2019est pas modifiable.
@@ -102,6 +105,7 @@ UnparsableStringForClass_3      = Le tex
 UnsupportedImplementation_1     = Les instances de \u2018{0}\u2019 ne peuvent pas \u00eatre
g\u00e9r\u00e9es parce que les impl\u00e9mentations arbitraires ne sont pas encore support\u00e9es.
 UnsupportedOperation_1          = L\u2019op\u00e9ration \u2018{0}\u2019 n\u2019est pas support\u00e9e.
 UnsupportedType_1               = Le type \u2018{0}\u2019 n\u2019est pas support\u00e9.
+UnsupportedVersion_1            = La version {0} n\u2019est pas support\u00e9e.
 ValueAlreadyDefined_1           = Une valeur est d\u00e9j\u00e0 d\u00e9finie pour \u201c{0}\u201d.
 ValueNotGreaterThanZero_2       = La valeur \u2018{0}\u2019={1} n\u2019est pas valide. On
attendait un nombre positif non-nul.
 ValueOutOfRange_4               = La valeur \u2018{0}\u2019={3} est invalide. Une valeur
dans la plage [{1} \u2026 {2}] \u00e9tait attendue.

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.java?rev=1483030&r1=1483029&r2=1483030&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.java
[UTF-8] Wed May 15 19:32:03 2013
@@ -75,6 +75,11 @@ public final class Vocabulary extends In
         public static final int AngularSeconds = 12;
 
         /**
+         * Attributes
+         */
+        public static final int Attributes = 45;
+
+        /**
          * Character encoding
          */
         public static final int CharacterEncoding = 17;
@@ -110,6 +115,11 @@ public final class Vocabulary extends In
         public static final int Destination = 38;
 
         /**
+         * Dimensions
+         */
+        public static final int Dimensions = 46;
+
+        /**
          * Directory
          */
         public static final int Directory = 36;
@@ -275,6 +285,11 @@ public final class Vocabulary extends In
         public static final int Value = 13;
 
         /**
+         * Variables
+         */
+        public static final int Variables = 47;
+
+        /**
          * Versions
          */
         public static final int Versions = 15;

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.properties?rev=1483030&r1=1483029&r2=1483030&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.properties
[ISO-8859-1] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.properties
[ISO-8859-1] Wed May 15 19:32:03 2013
@@ -18,6 +18,7 @@ Angle              = Angle
 AngularDegrees     = Degrees
 AngularMinutes     = Minutes
 AngularSeconds     = Seconds
+Attributes         = Attributes
 CharacterEncoding  = Character encoding
 Classpath          = Classpath
 Code_1             = {0} code
@@ -25,6 +26,7 @@ CurrentDateTime    = Current date and ti
 CurrentDirectory   = Current directory
 DaylightTime       = Daylight time
 Destination        = Destination
+Dimensions         = Dimensions
 Directory          = Directory
 Identifier         = Identifier
 Index              = Index
@@ -58,4 +60,5 @@ Type               = Type
 Untitled           = Untitled
 UserHome           = User home directory
 Value              = Value
+Variables          = Variables
 Versions           = Versions

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary_fr.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary_fr.properties?rev=1483030&r1=1483029&r2=1483030&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary_fr.properties
[ISO-8859-1] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary_fr.properties
[ISO-8859-1] Wed May 15 19:32:03 2013
@@ -18,6 +18,7 @@ Angle              = Angle
 AngularDegrees     = Degr\u00e9s
 AngularMinutes     = Minutes
 AngularSeconds     = Secondes
+Attributes         = Attributs
 CharacterEncoding  = Encodage des caract\u00e8res
 Classpath          = Chemin de classes
 Code_1             = Code {0}
@@ -25,6 +26,7 @@ CurrentDateTime    = Date et heure coura
 CurrentDirectory   = R\u00e9pertoire courant
 DaylightTime       = Heure normale
 Destination        = Destination
+Dimensions         = Dimensions
 Directory          = R\u00e9pertoire
 Identifier         = Identifiant
 Index              = Index
@@ -58,4 +60,5 @@ Type               = Type
 Untitled           = Sans titre
 UserHome           = R\u00e9pertoire de l'utilisateur
 Value              = Valeur
+Variables          = Variables
 Versions           = Versions

Modified: sis/branches/JDK7/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java?rev=1483030&r1=1483029&r2=1483030&view=diff
==============================================================================
--- sis/branches/JDK7/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java
[UTF-8] (original)
+++ sis/branches/JDK7/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java
[UTF-8] Wed May 15 19:32:03 2013
@@ -21,6 +21,7 @@ package org.apache.sis.storage.netcdf;
  * for its static final String constants, which are inlined by javac. Consequently
  * the compiled file of this class should have no dependency to the UCAR packages.
  */
+import java.io.Serializable;
 import ucar.nc2.Group;
 import ucar.nc2.NetcdfFile;
 import ucar.nc2.VariableSimpleIF;
@@ -372,43 +373,44 @@ public class AttributeNames {
 
     /**
      * Holds the attribute names describing a responsible party.
-     * Values are:
+     * In the following table, the header lists the constants defined in the {@link AttributeNames}
+     * class and the other cells give the values assigned in this class fields for those
constants.
      *
      * <table class="sis"><tr>
-     *   <th>Attribute</th>
-     *   <th>{@link AttributeNames#CREATOR}</th>
-     *   <th>{@link AttributeNames#CONTRIBUTOR}</th>
-     *   <th>{@link AttributeNames#PUBLISHER}</th>
-     * </tr><tr>
-     *   <td>{@link #NAME}</td>
-     *   <td>{@code "creator_name"}</td>
-     *   <td>{@code "contributor_name"}</td>
-     *   <td>{@code "publisher_name"}</td>
-     * </tr><tr>
-     *   <td>{@link #INSTITUTION}</td>
-     *   <td>{@code "institution"}</td>
-     *   <td></td>
-     *   <td></td>
-     * </tr><tr>
-     *   <td>{@link #URL}</td>
-     *   <td>{@code "creator_url"}</td>
-     *   <td>{@code "contributor_url"}</td>
-     *   <td>{@code "publisher_url"}</td>
-     * </tr><tr>
-     *   <td>{@link #EMAIL}</td>
-     *   <td>{@code "creator_email"}</td>
-     *   <td>{@code "contributor_email"}</td>
-     *   <td>{@code "publisher_email"}</td>
-     * </tr><tr>
-     *   <td>{@link #ROLE}</td>
-     *   <td></td>
-     *   <td>{@code "contributor_role"}</td>
-     *   <td></td>
-     * </tr><tr>
-     *   <td>{@link #DEFAULT_ROLE}</td>
-     *   <td>{@link Role#ORIGINATOR}</td>
-     *   <td></td>
-     *   <td>{@link Role#PUBLISHER}</td>
+     *   <th            >Field in this class</th>
+     *   <th class="sep">{@link AttributeNames#CREATOR     CREATOR}</th>
+     *   <th            >{@link AttributeNames#CONTRIBUTOR CONTRIBUTOR}</th>
+     *   <th            >{@link AttributeNames#PUBLISHER   PUBLISHER}</th>
+     * </tr><tr>
+     *   <td            >{@link #NAME}</td>
+     *   <td class="sep">{@code "creator_name"}</td>
+     *   <td            >{@code "contributor_name"}</td>
+     *   <td            >{@code "publisher_name"}</td>
+     * </tr><tr>
+     *   <td            >{@link #INSTITUTION}</td>
+     *   <td class="sep">{@code "institution"}</td>
+     *   <td            ></td>
+     *   <td            ></td>
+     * </tr><tr>
+     *   <td            >{@link #URL}</td>
+     *   <td class="sep">{@code "creator_url"}</td>
+     *   <td            >{@code "contributor_url"}</td>
+     *   <td            >{@code "publisher_url"}</td>
+     * </tr><tr>
+     *   <td            >{@link #EMAIL}</td>
+     *   <td class="sep">{@code "creator_email"}</td>
+     *   <td            >{@code "contributor_email"}</td>
+     *   <td            >{@code "publisher_email"}</td>
+     * </tr><tr>
+     *   <td            >{@link #ROLE}</td>
+     *   <td class="sep"></td>
+     *   <td            >{@code "contributor_role"}</td>
+     *   <td            ></td>
+     * </tr><tr>
+     *   <td            >{@link #DEFAULT_ROLE}</td>
+     *   <td class="sep">{@link Role#ORIGINATOR}</td>
+     *   <td            ></td>
+     *   <td>           {@link Role#PUBLISHER}</td>
      * </tr></table>
      *
      * {@note The member names in this class are upper-cases because they should be considered
@@ -421,8 +423,15 @@ public class AttributeNames {
      * @since   0.3 (derived from geotk-3.20)
      * @version 0.3
      * @module
+     *
+     * @see org.apache.sis.storage.netcdf.AttributeNames.Dimension
      */
-    public static class Responsible {
+    public static class Responsible implements Serializable {
+        /**
+         * For cross-version compatibility.
+         */
+        private static final long serialVersionUID = 2680152633273321012L;
+
         /**
          * The attribute name for the responsible's name. Possible values are
          * {@code "creator_name"}, {@code "contributor_name"} or {@code "publisher_name"}.
@@ -647,56 +656,57 @@ public class AttributeNames {
 
     /**
      * Holds the attribute names describing a simple latitude, longitude, and vertical bounding
box.
-     * Values are:
+     * In the following table, the header lists the constants defined in the {@link AttributeNames}
+     * class and the other cells give the values assigned in this class fields for those
constants.
      *
      * <table class="sis"><tr>
-     *   <th>Attributes</th>
-     *   <th>{@link AttributeNames#LATITUDE}</th>
-     *   <th>{@link AttributeNames#LONGITUDE}</th>
-     *   <th>{@link AttributeNames#VERTICAL}</th>
-     *   <th>{@link AttributeNames#TIME}</th>
-     * </tr><tr>
-     *   <td>{@link #MINIMUM}</td>
-     *   <td>{@code "geospatial_lat_min"}</td>
-     *   <td>{@code "geospatial_lon_min"}</td>
-     *   <td>{@code "geospatial_vertical_min"}</td>
-     *   <td>{@code "time_coverage_start"}</td>
-     * </tr><tr>
-     *   <td>{@link #MAXIMUM}</td>
-     *   <td>{@code "geospatial_lat_max"}</td>
-     *   <td>{@code "geospatial_lon_max"}</td>
-     *   <td>{@code "geospatial_vertical_max"}</td>
-     *   <td>{@code "time_coverage_end"}</td>
-     * </tr><tr>
-     *   <td>{@link #SPAN}</td>
-     *   <td></td>
-     *   <td></td>
-     *   <td></td>
-     *   <td>{@code "time_coverage_duration"}</td>
-     * </tr><tr>
-     *   <td>{@link #RESOLUTION}</td>
-     *   <td>{@code "geospatial_lat_resolution"}</td>
-     *   <td>{@code "geospatial_lon_resolution"}</td>
-     *   <td>{@code "geospatial_vertical_resolution"}</td>
-     *   <td>{@code "time_coverage_resolution"}</td>
-     * </tr><tr>
-     *   <td>{@link #UNITS}</td>
-     *   <td>{@code "geospatial_lat_units"}</td>
-     *   <td>{@code "geospatial_lon_units"}</td>
-     *   <td>{@code "geospatial_vertical_units"}</td>
-     *   <td>{@code "time_coverage_units"}</td>
-     * </tr><tr>
-     *   <td>{@link #POSITIVE}</td>
-     *   <td></td>
-     *   <td></td>
-     *   <td>{@code "geospatial_vertical_positive"}</td>
-     *   <td></td>
-     * </tr><tr>
-     *   <td>{@link #DEFAULT_NAME_TYPE}</td>
-     *   <td>{@link DimensionNameType#ROW}</td>
-     *   <td>{@link DimensionNameType#COLUMN}</td>
-     *   <td>{@link DimensionNameType#VERTICAL}</td>
-     *   <td>{@link DimensionNameType#TIME}</td>
+     *   <th            >Field in this class</th>
+     *   <th class="sep">{@link AttributeNames#LATITUDE  LATITUDE}</th>
+     *   <th            >{@link AttributeNames#LONGITUDE LONGITUDE}</th>
+     *   <th            >{@link AttributeNames#VERTICAL  VERTICAL}</th>
+     *   <th            >{@link AttributeNames#TIME      TIME}</th>
+     * </tr><tr>
+     *   <td            >{@link #MINIMUM}</td>
+     *   <td class="sep">{@code "geospatial_lat_min"}</td>
+     *   <td            >{@code "geospatial_lon_min"}</td>
+     *   <td            >{@code "geospatial_vertical_min"}</td>
+     *   <td            >{@code "time_coverage_start"}</td>
+     * </tr><tr>
+     *   <td            >{@link #MAXIMUM}</td>
+     *   <td class="sep">{@code "geospatial_lat_max"}</td>
+     *   <td            >{@code "geospatial_lon_max"}</td>
+     *   <td            >{@code "geospatial_vertical_max"}</td>
+     *   <td            >{@code "time_coverage_end"}</td>
+     * </tr><tr>
+     *   <td            >{@link #SPAN}</td>
+     *   <td class="sep"></td>
+     *   <td            ></td>
+     *   <td            ></td>
+     *   <td            >{@code "time_coverage_duration"}</td>
+     * </tr><tr>
+     *   <td            >{@link #RESOLUTION}</td>
+     *   <td class="sep">{@code "geospatial_lat_resolution"}</td>
+     *   <td            >{@code "geospatial_lon_resolution"}</td>
+     *   <td            >{@code "geospatial_vertical_resolution"}</td>
+     *   <td            >{@code "time_coverage_resolution"}</td>
+     * </tr><tr>
+     *   <td            >{@link #UNITS}</td>
+     *   <td class="sep">{@code "geospatial_lat_units"}</td>
+     *   <td            >{@code "geospatial_lon_units"}</td>
+     *   <td            >{@code "geospatial_vertical_units"}</td>
+     *   <td            >{@code "time_coverage_units"}</td>
+     * </tr><tr>
+     *   <td            >{@link #POSITIVE}</td>
+     *   <td class="sep"></td>
+     *   <td            ></td>
+     *   <td            >{@code "geospatial_vertical_positive"}</td>
+     *   <td></td>
+     * </tr><tr>
+     *   <td            >{@link #DEFAULT_NAME_TYPE}</td>
+     *   <td class="sep">{@link DimensionNameType#ROW}</td>
+     *   <td            >{@link DimensionNameType#COLUMN}</td>
+     *   <td            >{@link DimensionNameType#VERTICAL}</td>
+     *   <td            >{@link DimensionNameType#TIME}</td>
      * </tr></table>
      *
      * {@note The member names in this class are upper-cases because they should be considered
@@ -710,8 +720,15 @@ public class AttributeNames {
      * @since   0.3 (derived from geotk-3.20)
      * @version 0.3
      * @module
+     *
+     * @see org.apache.sis.storage.netcdf.AttributeNames.Responsible
      */
-    public static class Dimension {
+    public static class Dimension implements Serializable {
+        /**
+         * For cross-version compatibility.
+         */
+        private static final long serialVersionUID = 5063525623830032591L;
+
         /**
          * The attribute name for the minimal value of the bounding box (<em>Recommended</em>).
          * Possible values are {@code "geospatial_lat_min"}, {@code "geospatial_lon_min"},



Mime
View raw message