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 java.util.Collection; |
20 | |
|
21 | |
import javax.xml.registry.JAXRException; |
22 | |
import javax.xml.registry.LifeCycleManager; |
23 | |
import javax.xml.registry.infomodel.InternationalString; |
24 | |
import javax.xml.registry.infomodel.RegistryObject; |
25 | |
import javax.xml.registry.infomodel.ServiceBinding; |
26 | |
import javax.xml.registry.infomodel.SpecificationLink; |
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
public class SpecificationLinkImpl extends RegistryObjectImpl |
35 | |
implements SpecificationLink |
36 | |
{ |
37 | |
private Collection usageParams; |
38 | |
private InternationalString descr; |
39 | |
private RegistryObject specObj; |
40 | |
private ServiceBinding binding; |
41 | |
|
42 | |
public SpecificationLinkImpl(LifeCycleManager lifeCycleManager) |
43 | |
{ |
44 | 0 | super(lifeCycleManager); |
45 | 0 | } |
46 | |
|
47 | |
public ServiceBinding getServiceBinding() throws JAXRException |
48 | |
{ |
49 | 0 | return binding; |
50 | |
} |
51 | |
|
52 | |
public RegistryObject getSpecificationObject() throws JAXRException |
53 | |
{ |
54 | 0 | return specObj; |
55 | |
} |
56 | |
|
57 | |
public InternationalString getUsageDescription() throws JAXRException |
58 | |
{ |
59 | 0 | return descr; |
60 | |
} |
61 | |
|
62 | |
public Collection getUsageParameters() throws JAXRException |
63 | |
{ |
64 | 0 | return usageParams; |
65 | |
} |
66 | |
|
67 | |
public void setSpecificationObject(RegistryObject registryObject) throws JAXRException |
68 | |
{ |
69 | 0 | specObj = registryObject; |
70 | 0 | } |
71 | |
|
72 | |
public void setUsageDescription(InternationalString is) throws JAXRException |
73 | |
{ |
74 | 0 | descr = is; |
75 | 0 | } |
76 | |
|
77 | |
public void setUsageParameters(Collection collection) throws JAXRException |
78 | |
{ |
79 | 0 | usageParams = collection; |
80 | 0 | } |
81 | |
|
82 | |
|
83 | |
public void setServiceBinding(ServiceBinding s) |
84 | |
{ |
85 | 0 | binding = s; |
86 | 0 | } |
87 | |
} |