ISO 19115 defines MD_PixelOrientationCode and MD_TopicCategory as enums, not CodeLists
Description
Environment
Activity
CodeHaus Comment From: desruisseaux - Time: Sun, 15 Mar 2015 09:43:17 -0500
---------------------
<p><tt>Enumerated</tt> should be renamed <tt>ControlledVocabulary</tt>, which better match the terms used in OGC activities.</p>
CodeHaus Comment From: desruisseaux - Time: Mon, 28 Jul 2014 12:13:04 -0500
---------------------
<p>One problem of defining the above-cited types as <tt>Enum</tt> instead of <tt>CodeList</tt> is that it forces developers to duplicate some code for those two kind of enumerated values. As an attempt to avoid this inconvenient, an <tt>Enumerated</tt> interface has been added as of revision 2168.</p>
CodeHaus Comment From: desruisseaux - Time: Fri, 22 Feb 2013 09:57:09 -0600
---------------------
<p>An other code list which was supposed to be an enumeration is <tt>org.opengis.metadata.Obligation</tt>. If we change this code list into an enumeration, this allow us to remove the <tt>org.opengis.annotation.Obligation</tt> enumeration, which duplicate the values of the metadata one.</p>
The following classes:
http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/spatial/PixelOrientation.html - PixelOrientation
* http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/identification/TopicCategory.html - TopicCategory
* http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/Obligation.html - Obligation
are declared as enumerations in ISO 19115. GeoAPI wrongly implemented them as code lists. We should consider turning them into enumerations for GeoAPI 4.0.