This project has retired. For details please refer to its Attic page.
Coverage Report
Coverage Report - org.apache.ws.scout.registry.infomodel.RegistryEntryImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
RegistryEntryImpl
15%
2/13
N/A
1.917
 
 1  
 /*
 2  
  * Copyright 2001-2004 The Apache Software Foundation.
 3  
  *
 4  
  * Licensed under the Apache License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  *      http://www.apache.org/licenses/LICENSE-2.0
 9  
  *
 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 RegistryEntry
 33  
 {
 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  
     {
 47  302
         super(lifeCycleManager);
 48  302
     }
 49  
 
 50  
     public Date getExpiration() throws JAXRException
 51  
     {
 52  0
         throw new UnsupportedCapabilityException("Level 1 feature");
 53  
     }
 54  
 
 55  
     public int getMajorVersion() throws JAXRException
 56  
     {
 57  0
         throw new UnsupportedCapabilityException("Level 1 feature");
 58  
     }
 59  
 
 60  
     public int getMinorVersion() throws JAXRException
 61  
     {
 62  0
         throw new UnsupportedCapabilityException("Level 1 feature");
 63  
     }
 64  
 
 65  
     public int getStability() throws JAXRException
 66  
     {
 67  0
         throw new UnsupportedCapabilityException("Level 1 feature");
 68  
     }
 69  
 
 70  
     public int getStatus() throws JAXRException
 71  
     {
 72  0
         throw new UnsupportedCapabilityException("Level 1 feature");
 73  
     }
 74  
 
 75  
     public String getUserVersion() throws JAXRException
 76  
     {
 77  0
         throw new UnsupportedCapabilityException("Level 1 feature");
 78  
     }
 79  
 
 80  
     public void setExpiration(Date date) throws JAXRException
 81  
     {
 82  0
         throw new UnsupportedCapabilityException("Level 1 feature");
 83  
     }
 84  
 
 85  
     public void setMajorVersion(int param) throws JAXRException
 86  
     {
 87  0
         throw new UnsupportedCapabilityException("Level 1 feature");
 88  
     }
 89  
 
 90  
     public void setMinorVersion(int param) throws JAXRException
 91  
     {
 92  0
         throw new UnsupportedCapabilityException("Level 1 feature");
 93  
     }
 94  
 
 95  
     public void setStability(int param) throws JAXRException
 96  
     {
 97  0
         throw new UnsupportedCapabilityException("Level 1 feature");
 98  
     }
 99  
 
 100  
     public void setUserVersion(String str) throws JAXRException
 101  
     {
 102  0
         throw new UnsupportedCapabilityException("Level 1 feature");
 103  
     }
 104  
 
 105  
 }