1 /*******************************************************************************
2 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.1)
3 * Copyright (C) 2014 The Jalview Authors
5 * This file is part of Jalview.
7 * Jalview is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
11 * Jalview is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along with Jalview.
17 * If not, see <http://www.gnu.org/licenses/>.
18 * The Jalview Authors are detailed in the 'AUTHORS' file.
19 ******************************************************************************/
21 * This class was automatically generated with
22 * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
27 package jalview.schemabinding.version2.descriptors;
29 //---------------------------------/
30 //- Imported classes and packages -/
31 //---------------------------------/
33 import jalview.schemabinding.version2.UserColourScheme;
36 * Class UserColourSchemeDescriptor.
38 * @version $Revision$ $Date$
40 public class UserColourSchemeDescriptor
42 jalview.schemabinding.version2.descriptors.JalviewUserColoursDescriptor
45 // --------------------------/
46 // - Class/Member Variables -/
47 // --------------------------/
50 * Field _elementDefinition.
52 private boolean _elementDefinition;
57 private java.lang.String _nsPrefix;
62 private java.lang.String _nsURI;
67 private java.lang.String _xmlName;
73 public UserColourSchemeDescriptor()
76 setExtendsWithoutFlatten(new jalview.schemabinding.version2.descriptors.JalviewUserColoursDescriptor());
77 _nsURI = "www.jalview.org";
78 _xmlName = "UserColourScheme";
79 _elementDefinition = true;
87 * Method getAccessMode.
89 * @return the access mode specified for this class.
91 public org.exolab.castor.mapping.AccessMode getAccessMode()
99 * @return the identity field, null if this class has no identity.
101 public org.exolab.castor.mapping.FieldDescriptor getIdentity()
103 return super.getIdentity();
107 * Method getJavaClass.
109 * @return the Java class represented by this descriptor.
111 public java.lang.Class getJavaClass()
113 return jalview.schemabinding.version2.UserColourScheme.class;
117 * Method getNameSpacePrefix.
119 * @return the namespace prefix to use when marshaling as XML.
121 public java.lang.String getNameSpacePrefix()
127 * Method getNameSpaceURI.
129 * @return the namespace URI used when marshaling and unmarshaling as XML.
131 public java.lang.String getNameSpaceURI()
137 * Method getValidator.
139 * @return a specific validator for the class described by this
142 public org.exolab.castor.xml.TypeValidator getValidator()
150 * @return the XML Name for the Class being described.
152 public java.lang.String getXMLName()
158 * Method isElementDefinition.
160 * @return true if XML schema definition of this Class is that of a global
161 * element or element with anonymous type definition.
163 public boolean isElementDefinition()
165 return _elementDefinition;