#region Disclaimer / License
// Copyright (C) 2009, Kenneth Skovhede
// http://www.hexad.dk, opensource@hexad.dk
//
// 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.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
#endregion
namespace OSGeo.MapGuide.MaestroAPI {
///
[System.Xml.Serialization.XmlRootAttribute("PropertySet", Namespace="", IsNullable=false)]
public class PropertySetType {
public static readonly string SchemaName = "SelectAggregate-1.0.0.xsd";
[System.Xml.Serialization.XmlAttribute("noNamespaceSchemaLocation", Namespace="http://www.w3.org/2001/XMLSchema-instance")]
public string XsdSchema
{
get { return SchemaName; }
set { if (value != SchemaName) throw new System.Exception("Cannot set the schema name"); }
}
private PropertySetTypePropertyDefinitions m_propertyDefinitions;
private PropertySetTypeProperties m_properties;
///
public PropertySetTypePropertyDefinitions PropertyDefinitions {
get {
return this.m_propertyDefinitions;
}
set {
this.m_propertyDefinitions = value;
}
}
///
public PropertySetTypeProperties Properties {
get {
return this.m_properties;
}
set {
this.m_properties = value;
}
}
}
///
public class PropertySetTypePropertyDefinitions : PropertyDefinitionsType {
private PropertyDefinitionTypeCollection m_propertyDefinition;
///
[System.Xml.Serialization.XmlElementAttribute("PropertyDefinition")]
public PropertyDefinitionTypeCollection PropertyDefinition {
get {
return this.m_propertyDefinition;
}
set {
this.m_propertyDefinition = value;
}
}
}
///
public class PropertyDefinitionType {
private string m_name;
private PropertyDefinitionTypeType m_type;
///
public string Name {
get {
return this.m_name;
}
set {
this.m_name = value;
}
}
///
public PropertyDefinitionTypeType Type {
get {
return this.m_type;
}
set {
this.m_type = value;
}
}
}
///
public enum PropertyDefinitionTypeType {
///
boolean,
///
@byte,
///
datetime,
///
@decimal,
///
@double,
///
int16,
///
int32,
///
int64,
///
single,
///
@string,
///
blob,
///
clob,
}
///
public class PropertyType {
private string m_name;
private string m_value;
///
public string Name {
get {
return this.m_name;
}
set {
this.m_name = value;
}
}
///
public string Value {
get {
return this.m_value;
}
set {
this.m_value = value;
}
}
}
///
[System.Xml.Serialization.XmlIncludeAttribute(typeof(PropertySetTypePropertiesPropertyCollection))]
public class PropertyCollectionType {
}
///
public class PropertySetTypePropertiesPropertyCollection : PropertyCollectionType {
private PropertyTypeCollection m_property;
///
[System.Xml.Serialization.XmlElementAttribute("Property")]
public PropertyTypeCollection Property {
get {
return this.m_property;
}
set {
this.m_property = value;
}
}
}
///
[System.Xml.Serialization.XmlIncludeAttribute(typeof(PropertySetTypeProperties))]
public class PropertiesType {
}
///
public class PropertySetTypeProperties : PropertiesType {
private PropertySetTypePropertiesPropertyCollectionCollection m_propertyCollection;
///
[System.Xml.Serialization.XmlElementAttribute("PropertyCollection")]
public PropertySetTypePropertiesPropertyCollectionCollection PropertyCollection {
get {
return this.m_propertyCollection;
}
set {
this.m_propertyCollection = value;
}
}
}
///
[System.Xml.Serialization.XmlIncludeAttribute(typeof(PropertySetTypePropertyDefinitions))]
public class PropertyDefinitionsType {
}
public class PropertyDefinitionTypeCollection : System.Collections.CollectionBase {
public PropertyDefinitionType this[int idx] {
get {
return ((PropertyDefinitionType)(base.InnerList[idx]));
}
set {
base.InnerList[idx] = value;
}
}
public int Add(PropertyDefinitionType value) {
return base.InnerList.Add(value);
}
}
public class PropertyTypeCollection : System.Collections.CollectionBase {
public PropertyType this[int idx] {
get {
return ((PropertyType)(base.InnerList[idx]));
}
set {
base.InnerList[idx] = value;
}
}
public int Add(PropertyType value) {
return base.InnerList.Add(value);
}
}
public class PropertySetTypePropertiesPropertyCollectionCollection : System.Collections.CollectionBase {
public PropertySetTypePropertiesPropertyCollection this[int idx] {
get {
return ((PropertySetTypePropertiesPropertyCollection)(base.InnerList[idx]));
}
set {
base.InnerList[idx] = value;
}
}
public int Add(PropertySetTypePropertiesPropertyCollection value) {
return base.InnerList.Add(value);
}
}
}