Clover icon

jalviewX

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

File FeaturesDescriptor.java

 

Coverage histogram

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

Code metrics

0
13
9
1
148
50
9
0.69
1.44
9
1

Classes

Class Line # Actions
FeaturesDescriptor 21 13 9 6
0.7272727572.7%
 

Contributing tests

This file is covered by 9 tests. .

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