|
|||||||||||||||||||
This license of Clover is provided to support the development of JBind only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover. | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
TypeInstanceConstraint.java | - | 100% | 66,7% | 83,3% |
|
1 |
/* |
|
2 |
* JBind |
|
3 |
* |
|
4 |
* Copyright (c) by Stefan Wachter. All rights reserved. |
|
5 |
* |
|
6 |
* Usage, modification, and redistribution is subject to license terms that are |
|
7 |
* available at 'http://www.jbind.org'. The JBind license is like the |
|
8 |
* 'Apache Software License V 1.1'. |
|
9 |
*/ |
|
10 |
package org.jbind.xml.schema.constraint; |
|
11 |
|
|
12 |
import org.jbind.xml.core.cmp.ISourceInfo; |
|
13 |
import org.jbind.xml.core.constraint.ITypeInstanceConstraint; |
|
14 |
|
|
15 |
public abstract class TypeInstanceConstraint extends TypeIdentityConstraint implements ITypeInstanceConstraint { |
|
16 |
|
|
17 |
private static class Scope implements IScope { |
|
18 | 0 |
private Scope() {} |
19 |
} |
|
20 |
|
|
21 |
private IScope myScope; |
|
22 |
|
|
23 | 8 |
public TypeInstanceConstraint(ISourceInfo aSourceInfo, String aNamespace, String aName, IScope aScope) { |
24 | 8 |
super(aSourceInfo, aNamespace, aName); |
25 | 8 |
myScope = aScope; |
26 |
} |
|
27 |
|
|
28 | 52 |
public IScope getScope() { |
29 | 52 |
return myScope; |
30 |
} |
|
31 |
} |
|
32 |
|
|