Data Transfer Object used for GeoServer FeatureTypeInfo information.
FeatureTypeInfo is used because FeatureType is already used to represent
schema information in GeoTools2.
Data Transfer object are used to communicate between the GeoServer
application and its configuration and persistent layers. As such the class
is final - to allow for its future use as an on-the-wire message.
Example:
FeatureTypeInfoDTO ftiDto = new FeatureTypeInfoDTO();
ftiDto.setName("My Feature Type");
ftiDto.setTitle("The Best Feature Type");
ftiDto.setSRS(23769);
Creates a copy of the FeatureTypeInfo provided. If the FeatureTypeInfo
provided is null then default values are used. All the data structures
are cloned.
Parameters: dto - The featuretype to copy. throws: NullPointerException - DOCUMENT ME!
Gets the schema.xml file associated with this FeatureType. This is set
during the reading of configuration, it is not persisted as an element
of the FeatureTypeInfoDTO, since it is just whether the schema.xml file
was persisted, and its location. If there is no schema.xml file then
this method will return a File object with the location where the schema
file would be located, but the file will return false for exists().