/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2010, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotoolkit.data.kml.model;
import java.net.URI;
import java.util.List;
/**
* <p>This interface maps SchemaData element.</p>
*
* <pre>
* <element name="SchemaData" type="kml:SchemaDataType" substitutionGroup="kml:AbstractObjectGroup"/>
*
* <complexType name="SchemaDataType" final="#all">
* <complexContent>
* <extension base="kml:AbstractObjectType">
* <sequence>
* <element ref="kml:SimpleData" minOccurs="0" maxOccurs="unbounded"/>
* <element ref="kml:SchemaDataExtension" minOccurs="0" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="schemaUrl" type="anyURI"/>
* </extension>
* </complexContent>
* </complexType>
*
* <element name="SchemaDataExtension" abstract="true"/>
* </pre>
*
* @author Samuel Andrés
* @module
*/
public interface SchemaData extends AbstractObject {
/**
*
* @return
*/
URI getSchemaURL();
/**
*
* @return the list of SimpleData simple extensions.
*/
List<SimpleData> getSimpleDatas();
/**
*
* @return the list of SimpleData object extensions.
*/
List<Object> getSchemaDataExtensions();
/**
*
* @return
*/
void setSchemaURL(URI schemaURL);
/**
*
* @return the list of SimpleData simple extensions.
*/
void setSimpleDatas(List<SimpleData> simpleDatas);
/**
*
* @return the list of SimpleData object extensions.
*/
void setSchemaDataExtensions(List<Object> schemaDataExtensions);
}