DefaultDataIdentification changes for revisions 24924:24925

This commit propagates the names change which was done in GeoAPI. There is no way such change could be done differently, since not renaming the packages cause a compilation error.

Action: all contributions forced by changes in GeoAPI interfaces (mostly import statements and method signatures) have been rewritten from scratch by creating an empty Java class implementing the interface, clicking on the "Implement all abstract methods" contextual menu in NetBeans, removing the <? extends> part in parameterized type of collections, adding the synchronized keyword (for now) and finally adding the corresponding private fields. This action has been committed in the Apache SIS JDK7 branch at revision 1458238.

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r24924:24925 https://svn.osgeo.org/geotools/trunk/modules/library/metadata/src/main/java/org/geotools/metadata/iso/identification/DataIdentificationImpl.java
Revision 24924Revision 24925
// J2SE direct dependencies
import java.util.Collection;
import java.util.Locale;
import java.nio.charset.Charset;
// J2SE direct dependencies
import java.util.Collection;
import java.util.Collections;
import java.util.Locale;
import java.nio.charset.Charset;
import org.opengis.metadata.identification.DataIdentification;
import org.opengis.metadata.extent.Extent;
import org.opengis.metadata.extent.GeographicBoundingBox;
import org.opengis.metadata.identification.Resolution;
import org.opengis.metadata.identification.TopicCategory;
import org.opengis.metadata.spatial.SpatialRepresentationType;
import org.opengis.metadata.identification.DataIdentification;
import org.opengis.metadata.extent.Extent;
import org.opengis.metadata.extent.GeographicBoundingBox;
import org.opengis.metadata.identification.CharacterSet;
import org.opengis.metadata.identification.Resolution;
import org.opengis.metadata.identification.TopicCategory;
import org.opengis.metadata.spatial.SpatialRepresentationType;
/**
 * Full name of the character coding standard used for the dataset.
 */
private Charset characterSet;

/**
 * Main theme(s) of the datset.
/**
 * Full name of the character coding standard used for the dataset.
 */
private CharacterSet characterSet;

/**
 * Main theme(s) of the datset.
 * Full name of the character coding standard used for the dataset.
 */
public Charset getCharacterSet() {
    return characterSet;
}

/**
 * Set the full name of the character coding standard used for the dataset.
 */
public synchronized void setCharacterSet(final Charset newValue)  {
    checkWritePermission();
    characterSet = newValue;
}
 * Full name of the character coding standard used for the dataset.
 */
public Charset getCharacterSet() {
    return characterSet.toCharset();
}
public Collection getCharacterSets() {
    return Collections.singleton( characterSet );
}

/**
 * Set the full name of the character coding standard used for the dataset.
 */
public synchronized void setCharacterSet(final CharacterSet newValue)  {
    checkWritePermission();
    characterSet = newValue;
}
spatialRepresentationTypes = (Collection)          unmodifiable(spatialRepresentationTypes);
spatialResolutions         = (Collection)          unmodifiable(spatialResolutions);
language                   = (Collection)          unmodifiable(language);
characterSet               = (Charset)             unmodifiable(characterSet);
topicCategories            = (Collection)          unmodifiable(topicCategories);
geographicBox              = (Collection)          unmodifiable(geographicBox);
geographicDescription      = (Collection)          unmodifiable(geographicDescription);
spatialRepresentationTypes = (Collection)          unmodifiable(spatialRepresentationTypes);
spatialResolutions         = (Collection)          unmodifiable(spatialResolutions);
language                   = (Collection)          unmodifiable(language);
characterSet               = (CharacterSet)        unmodifiable(characterSet);
topicCategories            = (Collection)          unmodifiable(topicCategories);
geographicBox              = (Collection)          unmodifiable(geographicBox);
geographicDescription      = (Collection)          unmodifiable(geographicDescription);