sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1418222 [1/2] - /sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/
Date Fri, 07 Dec 2012 08:52:27 GMT
Author: desruisseaux
Date: Fri Dec  7 08:52:17 2012
New Revision: 1418222

URL: http://svn.apache.org/viewvc?rev=1418222&view=rev
Log:
Added JAXB adapters for ISO 19115[-2] CodeLists.

Added:
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_DateTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_OnLineFunctionCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_PresentationFormCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_RoleCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DQ_EvaluationMethodTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_AssociationTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_InitiativeTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CellGeometryCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CharacterSetCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ClassificationCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CoverageContentTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DatatypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DimensionNameTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_GeometricObjectTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ImagingConditionCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_KeywordTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MaintenanceFrequencyCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumFormatCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumNameCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ObligationCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_PixelOrientationCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ProgressCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_RestrictionCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ScopeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_SpatialRepresentationTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopicCategoryCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopologyLevelCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_BandDefinition.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ContextCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_GeometryTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ObjectiveTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_OperationTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PolarizationOrientationCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PriorityCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_SequenceCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TransferFunctionTypeCode.java   (with props)
    sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TriggerCode.java   (with props)

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_DateTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_DateTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_DateTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_DateTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.citation.DateType;
+
+
+/**
+ * JAXB adapter for {@link DateType}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information
+ * about the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class CI_DateTypeCode extends CodeListAdapter<CI_DateTypeCode, DateType> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(DateType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public CI_DateTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private CI_DateTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected CI_DateTypeCode wrap(CodeListProxy proxy) {
+        return new CI_DateTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<DateType> getCodeListClass() {
+        return DateType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "CI_DateTypeCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_DateTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_DateTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_OnLineFunctionCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_OnLineFunctionCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_OnLineFunctionCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_OnLineFunctionCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,93 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.citation.OnLineFunction;
+
+
+/**
+ * JAXB adapter for {@link OnLineFunction}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about
+ * the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class CI_OnLineFunctionCode
+        extends CodeListAdapter<CI_OnLineFunctionCode, OnLineFunction>
+{
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(OnLineFunction.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public CI_OnLineFunctionCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private CI_OnLineFunctionCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected CI_OnLineFunctionCode wrap(CodeListProxy proxy) {
+        return new CI_OnLineFunctionCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<OnLineFunction> getCodeListClass() {
+        return OnLineFunction.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "CI_OnLineFunctionCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_OnLineFunctionCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_OnLineFunctionCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_PresentationFormCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_PresentationFormCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_PresentationFormCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_PresentationFormCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,93 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.citation.PresentationForm;
+
+
+/**
+ * JAXB adapter for {@link PresentationForm}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about
+ * the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class CI_PresentationFormCode
+        extends CodeListAdapter<CI_PresentationFormCode, PresentationForm>
+{
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(PresentationForm.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public CI_PresentationFormCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private CI_PresentationFormCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected CI_PresentationFormCode wrap(CodeListProxy proxy) {
+        return new CI_PresentationFormCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<PresentationForm> getCodeListClass() {
+        return PresentationForm.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "CI_PresentationFormCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_PresentationFormCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_PresentationFormCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_RoleCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_RoleCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_RoleCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_RoleCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.citation.Role;
+
+
+/**
+ * JAXB adapter for {@link Role}, in order to integrate the value in an element respecting
+ * the ISO-19139 standard. See package documentation for more information about the handling
+ * of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class CI_RoleCode extends CodeListAdapter<CI_RoleCode, Role> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(Role.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public CI_RoleCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private CI_RoleCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected CI_RoleCode wrap(CodeListProxy proxy) {
+        return new CI_RoleCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<Role> getCodeListClass() {
+        return Role.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "CI_RoleCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_RoleCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/CI_RoleCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DQ_EvaluationMethodTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DQ_EvaluationMethodTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DQ_EvaluationMethodTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DQ_EvaluationMethodTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,93 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.quality.EvaluationMethodType;
+
+
+/**
+ * JAXB adapter for {@link EvaluationMethodType}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about the
+ * handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-3.04)
+ * @version 0.3
+ * @module
+ */
+public final class DQ_EvaluationMethodTypeCode
+        extends CodeListAdapter<DQ_EvaluationMethodTypeCode, EvaluationMethodType>
+{
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(EvaluationMethodType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public DQ_EvaluationMethodTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private DQ_EvaluationMethodTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected DQ_EvaluationMethodTypeCode wrap(CodeListProxy proxy) {
+        return new DQ_EvaluationMethodTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<EvaluationMethodType> getCodeListClass() {
+        return EvaluationMethodType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "DQ_EvaluationMethodTypeCode")
+    public CodeListProxy getElement() {
+        return this.proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DQ_EvaluationMethodTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DQ_EvaluationMethodTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_AssociationTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_AssociationTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_AssociationTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_AssociationTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.identification.AssociationType;
+
+
+/**
+ * JAXB adapter for {@link AssociationType}, in order to integrate the value in a element
+ * complying with ISO-19139 standard. See package documentation to have more information
+ * about the handling of CodeList in ISO-19139.
+ *
+ * @author  Guilhem Legal (Geomatys)
+ * @since   0.3 (derived from geotk-3.00)
+ * @version 0.3
+ * @module
+ */
+public final class DS_AssociationTypeCode extends CodeListAdapter<DS_AssociationTypeCode, AssociationType> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(AssociationType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public DS_AssociationTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private DS_AssociationTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected DS_AssociationTypeCode wrap(CodeListProxy proxy) {
+        return new DS_AssociationTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<AssociationType> getCodeListClass() {
+        return AssociationType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "DS_AssociationTypeCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_AssociationTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_AssociationTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_InitiativeTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_InitiativeTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_InitiativeTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_InitiativeTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.identification.InitiativeType;
+
+
+/**
+ * JAXB adapter for {@link InitiativeType}, in order to integrate the value in a element
+ * complying with ISO-19139 standard. See package documentation to have more information
+ * about the handling of CodeList in ISO-19139.
+ *
+ * @author  Guilhem Legal (Geomatys)
+ * @since   0.3 (derived from geotk-3.00)
+ * @version 0.3
+ * @module
+ */
+public final class DS_InitiativeTypeCode extends CodeListAdapter<DS_InitiativeTypeCode, InitiativeType> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(InitiativeType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public DS_InitiativeTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private DS_InitiativeTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected DS_InitiativeTypeCode wrap(CodeListProxy proxy) {
+        return new DS_InitiativeTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<InitiativeType> getCodeListClass() {
+        return InitiativeType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "DS_InitiativeTypeCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_InitiativeTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/DS_InitiativeTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CellGeometryCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CellGeometryCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CellGeometryCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CellGeometryCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.spatial.CellGeometry;
+
+
+/**
+ * JAXB adapter for {@link CellGeometry}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information
+ * about the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_CellGeometryCode extends CodeListAdapter<MD_CellGeometryCode, CellGeometry> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(CellGeometry.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_CellGeometryCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_CellGeometryCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_CellGeometryCode wrap(CodeListProxy proxy) {
+        return new MD_CellGeometryCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<CellGeometry> getCodeListClass() {
+        return CellGeometry.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_CellGeometryCode")
+    public CodeListProxy getElement() {
+        return this.proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CellGeometryCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CellGeometryCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CharacterSetCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CharacterSetCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CharacterSetCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CharacterSetCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.identification.CharacterSet;
+
+
+/**
+ * JAXB adapter for {@link CharacterSet}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about
+ * the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_CharacterSetCode extends CodeListAdapter<MD_CharacterSetCode, CharacterSet> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(CharacterSet.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_CharacterSetCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_CharacterSetCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_CharacterSetCode wrap(CodeListProxy proxy) {
+        return new MD_CharacterSetCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<CharacterSet> getCodeListClass() {
+        return CharacterSet.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_CharacterSetCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CharacterSetCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CharacterSetCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ClassificationCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ClassificationCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ClassificationCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ClassificationCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.constraint.Classification;
+
+
+/**
+ * JAXB adapter for {@link Classification}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about
+ * the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_ClassificationCode extends CodeListAdapter<MD_ClassificationCode, Classification> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(Classification.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_ClassificationCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_ClassificationCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_ClassificationCode wrap(CodeListProxy proxy) {
+        return new MD_ClassificationCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<Classification> getCodeListClass() {
+        return Classification.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_ClassificationCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ClassificationCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ClassificationCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CoverageContentTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CoverageContentTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CoverageContentTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CoverageContentTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,93 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.content.CoverageContentType;
+
+
+/**
+ * JAXB adapter for {@link CoverageContentType}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about the
+ * handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_CoverageContentTypeCode
+        extends CodeListAdapter<MD_CoverageContentTypeCode, CoverageContentType>
+{
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(CoverageContentType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_CoverageContentTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_CoverageContentTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_CoverageContentTypeCode wrap(CodeListProxy proxy) {
+        return new MD_CoverageContentTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<CoverageContentType> getCodeListClass() {
+        return CoverageContentType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_CoverageContentTypeCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CoverageContentTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_CoverageContentTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DatatypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DatatypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DatatypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DatatypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.Datatype;
+
+
+/**
+ * JAXB adapter for {@link Datatype}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information
+ * about the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_DatatypeCode extends CodeListAdapter<MD_DatatypeCode, Datatype> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(Datatype.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_DatatypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_DatatypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_DatatypeCode wrap(CodeListProxy proxy) {
+        return new MD_DatatypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<Datatype> getCodeListClass() {
+        return Datatype.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_DatatypeCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DatatypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DatatypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DimensionNameTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DimensionNameTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DimensionNameTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DimensionNameTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,93 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.spatial.DimensionNameType;
+
+
+/**
+ * JAXB adapter for {@link DimensionNameType}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about the
+ * handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_DimensionNameTypeCode
+        extends CodeListAdapter<MD_DimensionNameTypeCode, DimensionNameType>
+{
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(DimensionNameType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_DimensionNameTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_DimensionNameTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_DimensionNameTypeCode wrap(CodeListProxy proxy) {
+        return new MD_DimensionNameTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<DimensionNameType> getCodeListClass() {
+        return DimensionNameType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_DimensionNameTypeCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DimensionNameTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_DimensionNameTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_GeometricObjectTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_GeometricObjectTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_GeometricObjectTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_GeometricObjectTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,93 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.spatial.GeometricObjectType;
+
+
+/**
+ * JAXB adapter for {@link GeometricObjectType}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about the
+ * handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_GeometricObjectTypeCode
+        extends CodeListAdapter<MD_GeometricObjectTypeCode, GeometricObjectType>
+{
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(GeometricObjectType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_GeometricObjectTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_GeometricObjectTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_GeometricObjectTypeCode wrap(CodeListProxy proxy) {
+        return new MD_GeometricObjectTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<GeometricObjectType> getCodeListClass() {
+        return GeometricObjectType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_GeometricObjectTypeCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_GeometricObjectTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_GeometricObjectTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ImagingConditionCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ImagingConditionCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ImagingConditionCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ImagingConditionCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,93 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.content.ImagingCondition;
+
+
+/**
+ * JAXB adapter for {@link ImagingCondition}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about
+ * the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_ImagingConditionCode
+        extends CodeListAdapter<MD_ImagingConditionCode, ImagingCondition>
+{
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(ImagingCondition.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_ImagingConditionCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_ImagingConditionCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_ImagingConditionCode wrap(CodeListProxy proxy) {
+        return new MD_ImagingConditionCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<ImagingCondition> getCodeListClass() {
+        return ImagingCondition.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_ImagingConditionCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ImagingConditionCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ImagingConditionCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_KeywordTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_KeywordTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_KeywordTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_KeywordTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.identification.KeywordType;
+
+
+/**
+ * JAXB adapter for {@link KeywordType}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information
+ * about the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_KeywordTypeCode extends CodeListAdapter<MD_KeywordTypeCode, KeywordType> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(KeywordType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_KeywordTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_KeywordTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_KeywordTypeCode wrap(CodeListProxy proxy) {
+        return new MD_KeywordTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<KeywordType> getCodeListClass() {
+        return KeywordType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_KeywordTypeCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_KeywordTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_KeywordTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MaintenanceFrequencyCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MaintenanceFrequencyCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MaintenanceFrequencyCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MaintenanceFrequencyCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,93 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.maintenance.MaintenanceFrequency;
+
+
+/**
+ * JAXB adapter for {@link MaintenanceFrequency}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about the
+ * handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_MaintenanceFrequencyCode
+        extends CodeListAdapter<MD_MaintenanceFrequencyCode, MaintenanceFrequency>
+{
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(MaintenanceFrequency.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_MaintenanceFrequencyCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_MaintenanceFrequencyCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_MaintenanceFrequencyCode wrap(CodeListProxy proxy) {
+        return new MD_MaintenanceFrequencyCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<MaintenanceFrequency> getCodeListClass() {
+        return MaintenanceFrequency.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_MaintenanceFrequencyCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MaintenanceFrequencyCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MaintenanceFrequencyCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumFormatCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumFormatCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumFormatCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumFormatCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.distribution.MediumFormat;
+
+
+/**
+ * JAXB adapter for {@link MediumFormat}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about the
+ * handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_MediumFormatCode extends CodeListAdapter<MD_MediumFormatCode, MediumFormat> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(MediumFormat.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_MediumFormatCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_MediumFormatCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_MediumFormatCode wrap(CodeListProxy proxy) {
+        return new MD_MediumFormatCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<MediumFormat> getCodeListClass() {
+        return MediumFormat.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_MediumFormatCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumFormatCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumFormatCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumNameCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumNameCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumNameCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumNameCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.distribution.MediumName;
+
+
+/**
+ * JAXB adapter for {@link MediumName}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information
+ * about the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_MediumNameCode extends CodeListAdapter<MD_MediumNameCode, MediumName> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(MediumName.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_MediumNameCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_MediumNameCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_MediumNameCode wrap(CodeListProxy proxy) {
+        return new MD_MediumNameCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<MediumName> getCodeListClass() {
+        return MediumName.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_MediumNameCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumNameCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_MediumNameCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ObligationCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ObligationCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ObligationCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ObligationCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,59 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import javax.xml.bind.annotation.adapters.XmlAdapter;
+import org.opengis.metadata.Obligation;
+import org.apache.sis.util.type.CodeLists;
+
+
+/**
+ * JAXB adapter for {@link Obligation}, in order to wraps the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information
+ * about the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_ObligationCode extends XmlAdapter<String, Obligation> {
+    /**
+     * Returns the obligation enumeration for the given name.
+     *
+     * @param value The obligation name.
+     * @return The obligation enumeration for the given name.
+     */
+    @Override
+    public Obligation unmarshal(String value) {
+        return CodeLists.valueOf(Obligation.class, value);
+    }
+
+    /**
+     * Returns the name of the given obligation.
+     *
+     * @param value The obligation enumeration.
+     * @return The name of the given obligation.
+     */
+    @Override
+    public String marshal(final Obligation value) {
+        if (value == null) {
+            return null;
+        }
+        return value.name();
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ObligationCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ObligationCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_PixelOrientationCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_PixelOrientationCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_PixelOrientationCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_PixelOrientationCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,101 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.spatial.PixelOrientation;
+
+
+/**
+ * JAXB adapter for {@link PixelOrientation}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about
+ * the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_PixelOrientationCode
+        extends CodeListAdapter<MD_PixelOrientationCode, PixelOrientation>
+{
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(PixelOrientation.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_PixelOrientationCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_PixelOrientationCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_PixelOrientationCode wrap(CodeListProxy proxy) {
+        return new MD_PixelOrientationCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<PixelOrientation> getCodeListClass() {
+        return PixelOrientation.class;
+    }
+
+    /**
+     * Returns {@code true} since this code list is actually an enum.
+     */
+    @Override
+    protected boolean isEnum() {
+        return true;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_PixelOrientationCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_PixelOrientationCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_PixelOrientationCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ProgressCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ProgressCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ProgressCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ProgressCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.identification.Progress;
+
+
+/**
+ * JAXB adapter for {@link MD_ProgressCode}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about
+ * the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_ProgressCode extends CodeListAdapter<MD_ProgressCode, Progress> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(Progress.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_ProgressCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_ProgressCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_ProgressCode wrap(CodeListProxy proxy) {
+        return new MD_ProgressCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<Progress> getCodeListClass() {
+        return Progress.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_ProgressCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ProgressCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ProgressCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message