Clover icon

jalviewX

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

File MatchConditionDescriptor.java

 

Coverage histogram

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

Code metrics

0
12
9
1
148
50
9
0.75
1.33
9
1

Classes

Class Line # Actions
MatchConditionDescriptor 21 12 9 4
0.809523881%
 

Contributing tests

This file is covered by 2 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.MatchCondition;
15   
16    /**
17    * Class MatchConditionDescriptor.
18    *
19    * @version $Revision$ $Date$
20    */
 
21    public class MatchConditionDescriptor extends
22    jalview.schemabinding.version2.descriptors.FeatureMatcherDescriptor
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  35 toggle public MatchConditionDescriptor()
54    {
55  35 super();
56  35 setExtendsWithoutFlatten(
57    new jalview.schemabinding.version2.descriptors.FeatureMatcherDescriptor());
58  35 _xmlName = "matchCondition";
59  35 _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  45 toggle public org.exolab.castor.mapping.FieldDescriptor getIdentity()
82    {
83  45 return super.getIdentity();
84    }
85   
86    /**
87    * Method getJavaClass.
88    *
89    * @return the Java class represented by this descriptor.
90    */
 
91  25 toggle public java.lang.Class getJavaClass()
92    {
93  25 return jalview.schemabinding.version2.MatchCondition.class;
94    }
95   
96    /**
97    * Method getNameSpacePrefix.
98    *
99    * @return the namespace prefix to use when marshaling as XML.
100    */
 
101  10 toggle public java.lang.String getNameSpacePrefix()
102    {
103  10 return _nsPrefix;
104    }
105   
106    /**
107    * Method getNameSpaceURI.
108    *
109    * @return the namespace URI used when marshaling and unmarshaling as XML.
110    */
 
111  10 toggle public java.lang.String getNameSpaceURI()
112    {
113  10 return _nsURI;
114    }
115   
116    /**
117    * Method getValidator.
118    *
119    * @return a specific validator for the class described by this
120    * ClassDescriptor.
121    */
 
122  15 toggle public org.exolab.castor.xml.TypeValidator getValidator()
123    {
124  15 return this;
125    }
126   
127    /**
128    * Method getXMLName.
129    *
130    * @return the XML Name for the Class being described.
131    */
 
132  70 toggle public java.lang.String getXMLName()
133    {
134  70 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    }