Clover icon

jalviewX

  1. Project Clover database Wed Oct 31 2018 15:13:58 GMT
  2. Package jalview.schemabinding.version2.descriptors

File AnnotationColoursDescriptor.java

 

Coverage histogram

../../../../img/srcFileCovDistChart8.png
19% of files have more coverage

Code metrics

0
13
9
1
149
51
9
0.69
1.44
9
1

Classes

Class Line # Actions
AnnotationColoursDescriptor 21 13 9 6
0.7272727572.7%
 

Contributing tests

This file is covered by 1 test. .

Source view

1    /*
2    * This class was automatically generated with
3    * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
4    * Schema.
5    * $Id$
6    */
7   
8    package jalview.schemabinding.version2.descriptors;
9   
10    //---------------------------------/
11    //- Imported classes and packages -/
12    //---------------------------------/
13   
14    import jalview.schemabinding.version2.AnnotationColours;
15   
16    /**
17    * Class AnnotationColoursDescriptor.
18    *
19    * @version $Revision$ $Date$
20    */
 
21    public class AnnotationColoursDescriptor
22    extends
23    jalview.schemabinding.version2.descriptors.AnnotationColourSchemeDescriptor
24    {
25   
26    // --------------------------/
27    // - Class/Member Variables -/
28    // --------------------------/
29   
30    /**
31    * Field _elementDefinition.
32    */
33    private boolean _elementDefinition;
34   
35    /**
36    * Field _nsPrefix.
37    */
38    private java.lang.String _nsPrefix;
39   
40    /**
41    * Field _nsURI.
42    */
43    private java.lang.String _nsURI;
44   
45    /**
46    * Field _xmlName.
47    */
48    private java.lang.String _xmlName;
49   
50    // ----------------/
51    // - Constructors -/
52    // ----------------/
53   
 
54  6 toggle public AnnotationColoursDescriptor()
55    {
56  6 super();
57  6 setExtendsWithoutFlatten(new jalview.schemabinding.version2.descriptors.AnnotationColourSchemeDescriptor());
58  6 _nsURI = "www.jalview.org";
59  6 _xmlName = "AnnotationColours";
60  6 _elementDefinition = true;
61    }
62   
63    // -----------/
64    // - Methods -/
65    // -----------/
66   
67    /**
68    * Method getAccessMode.
69    *
70    * @return the access mode specified for this class.
71    */
 
72  0 toggle public org.exolab.castor.mapping.AccessMode getAccessMode()
73    {
74  0 return null;
75    }
76   
77    /**
78    * Method getIdentity.
79    *
80    * @return the identity field, null if this class has no identity.
81    */
 
82  18 toggle public org.exolab.castor.mapping.FieldDescriptor getIdentity()
83    {
84  18 return super.getIdentity();
85    }
86   
87    /**
88    * Method getJavaClass.
89    *
90    * @return the Java class represented by this descriptor.
91    */
 
92  4 toggle public java.lang.Class getJavaClass()
93    {
94  4 return jalview.schemabinding.version2.AnnotationColours.class;
95    }
96   
97    /**
98    * Method getNameSpacePrefix.
99    *
100    * @return the namespace prefix to use when marshaling as XML.
101    */
 
102  2 toggle public java.lang.String getNameSpacePrefix()
103    {
104  2 return _nsPrefix;
105    }
106   
107    /**
108    * Method getNameSpaceURI.
109    *
110    * @return the namespace URI used when marshaling and unmarshaling as XML.
111    */
 
112  0 toggle public java.lang.String getNameSpaceURI()
113    {
114  0 return _nsURI;
115    }
116   
117    /**
118    * Method getValidator.
119    *
120    * @return a specific validator for the class described by this
121    * ClassDescriptor.
122    */
 
123  2 toggle public org.exolab.castor.xml.TypeValidator getValidator()
124    {
125  2 return this;
126    }
127   
128    /**
129    * Method getXMLName.
130    *
131    * @return the XML Name for the Class being described.
132    */
 
133  12 toggle public java.lang.String getXMLName()
134    {
135  12 return _xmlName;
136    }
137   
138    /**
139    * Method isElementDefinition.
140    *
141    * @return true if XML schema definition of this Class is that of a global
142    * element or element with anonymous type definition.
143    */
 
144  0 toggle public boolean isElementDefinition()
145    {
146  0 return _elementDefinition;
147    }
148   
149    }