01: /*
02: * Copyright 2001-2004 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.apache.ws.scout.registry.infomodel;
18:
19: import java.util.Date;
20:
21: import javax.xml.registry.JAXRException;
22: import javax.xml.registry.LifeCycleManager;
23: import javax.xml.registry.UnsupportedCapabilityException;
24: import javax.xml.registry.infomodel.RegistryEntry;
25:
26: /**
27: * Implements JAXR Interface.
28: * For futher details, look into the JAXR API Javadoc.
29: *
30: * @author Anil Saldhana <anil@apache.org>
31: */
32: public class RegistryEntryImpl extends RegistryObjectImpl implements
33: RegistryEntry {
34: //private Date expiry = null;
35: //private int major = 1;
36: //private int minor = 0;
37: //private int stability = 1;
38: //private int status = 1;
39:
40: //private String userversion = new String();
41:
42: /**
43: * Creates a new instance of RegistryEntryImpl
44: */
45: public RegistryEntryImpl(LifeCycleManager lifeCycleManager) {
46: super (lifeCycleManager);
47: }
48:
49: public Date getExpiration() throws JAXRException {
50: throw new UnsupportedCapabilityException("Level 1 feature");
51: }
52:
53: public int getMajorVersion() throws JAXRException {
54: throw new UnsupportedCapabilityException("Level 1 feature");
55: }
56:
57: public int getMinorVersion() throws JAXRException {
58: throw new UnsupportedCapabilityException("Level 1 feature");
59: }
60:
61: public int getStability() throws JAXRException {
62: throw new UnsupportedCapabilityException("Level 1 feature");
63: }
64:
65: public int getStatus() throws JAXRException {
66: throw new UnsupportedCapabilityException("Level 1 feature");
67: }
68:
69: public String getUserVersion() throws JAXRException {
70: throw new UnsupportedCapabilityException("Level 1 feature");
71: }
72:
73: public void setExpiration(Date date) throws JAXRException {
74: throw new UnsupportedCapabilityException("Level 1 feature");
75: }
76:
77: public void setMajorVersion(int param) throws JAXRException {
78: throw new UnsupportedCapabilityException("Level 1 feature");
79: }
80:
81: public void setMinorVersion(int param) throws JAXRException {
82: throw new UnsupportedCapabilityException("Level 1 feature");
83: }
84:
85: public void setStability(int param) throws JAXRException {
86: throw new UnsupportedCapabilityException("Level 1 feature");
87: }
88:
89: public void setUserVersion(String str) throws JAXRException {
90: throw new UnsupportedCapabilityException("Level 1 feature");
91: }
92:
93: }
|