1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.apache.ws.scout.registry.infomodel; |
18 | |
|
19 | |
import javax.xml.registry.JAXRException; |
20 | |
import javax.xml.registry.LifeCycleManager; |
21 | |
import javax.xml.registry.infomodel.ClassificationScheme; |
22 | |
import javax.xml.registry.infomodel.InternationalString; |
23 | |
import javax.xml.registry.infomodel.RegistryObject; |
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
public class ExternalIdentifierImpl extends RegistryObjectImpl |
32 | |
implements javax.xml.registry.infomodel.ExternalIdentifier |
33 | |
{ |
34 | |
|
35 | 0 | private ClassificationScheme identity = new ClassificationSchemeImpl(null); |
36 | 0 | private String value = new String(); |
37 | |
private RegistryObject parent; |
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
public ExternalIdentifierImpl(LifeCycleManager lifeCycleManager) |
43 | |
{ |
44 | 0 | super(lifeCycleManager); |
45 | 0 | } |
46 | |
|
47 | |
public ExternalIdentifierImpl(LifeCycleManager lifeCycleManager, |
48 | |
ClassificationScheme identity, |
49 | |
InternationalString name, |
50 | |
String value) |
51 | |
{ |
52 | 0 | super(lifeCycleManager, name); |
53 | 0 | this.identity = identity; |
54 | 0 | this.value = value; |
55 | 0 | } |
56 | |
|
57 | |
public ClassificationScheme getIdentificationScheme() |
58 | |
throws JAXRException |
59 | |
{ |
60 | 0 | return identity; |
61 | |
} |
62 | |
|
63 | |
public RegistryObject getRegistryObject() throws JAXRException |
64 | |
{ |
65 | 0 | return parent; |
66 | |
} |
67 | |
|
68 | |
public String getValue() throws JAXRException |
69 | |
{ |
70 | 0 | return value; |
71 | |
} |
72 | |
|
73 | |
public void setIdentificationScheme(ClassificationScheme cs) |
74 | |
throws JAXRException |
75 | |
{ |
76 | 0 | identity = cs; |
77 | 0 | } |
78 | |
|
79 | |
public void setValue(String str) throws JAXRException |
80 | |
{ |
81 | 0 | value = str; |
82 | 0 | } |
83 | |
|
84 | |
|
85 | |
public void setRegistryObject(RegistryObject obj) |
86 | |
{ |
87 | 0 | parent = obj; |
88 | 0 | } |
89 | |
|
90 | |
} |