This project has retired. For details please refer to its Attic page.
Coverage Report
Coverage Report - org.apache.ws.scout.registry.infomodel.PersonNameImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
PersonNameImpl
100%
15/15
N/A
1.6
 
 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 javax.xml.registry.JAXRException;
 20  
 import javax.xml.registry.UnsupportedCapabilityException;
 21  
 
 22  
 /**
 23  
  * Implements JAXR Interface.
 24  
  * For futher details, look into the JAXR API Javadoc.
 25  
  *
 26  
  * @author Anil Saldhana  <anil@apache.org>
 27  
  */
 28  
 public class PersonNameImpl implements javax.xml.registry.infomodel.PersonName
 29  
 {
 30  
 
 31  127
     private String fullname = "";
 32  
 
 33  
     /**
 34  
      * Creates a new instance of PersonNameImpl
 35  
      */
 36  
     public PersonNameImpl()
 37  36
     {
 38  36
     }
 39  
 
 40  
     public PersonNameImpl(String fullname)
 41  91
     {
 42  91
         this.fullname = fullname;
 43  91
     }
 44  
 
 45  
     public String getFullName() throws JAXRException
 46  
     {
 47  124
         return this.fullname;
 48  
     }
 49  
 
 50  
     public void setFullName(String str) throws JAXRException
 51  
     {
 52  32
         this.fullname = str;
 53  32
     }
 54  
 
 55  
     public String getFirstName() throws JAXRException
 56  
     {
 57  2
         throw new UnsupportedCapabilityException();
 58  
     }
 59  
 
 60  
     public String getLastName() throws JAXRException
 61  
     {
 62  2
         throw new UnsupportedCapabilityException();
 63  
     }
 64  
 
 65  
     public String getMiddleName() throws JAXRException
 66  
     {
 67  2
         throw new UnsupportedCapabilityException();
 68  
     }
 69  
 
 70  
     public void setFirstName(String str) throws JAXRException
 71  
     {
 72  2
         throw new UnsupportedCapabilityException();
 73  
     }
 74  
 
 75  
     public void setLastName(String str) throws JAXRException
 76  
     {
 77  2
         throw new UnsupportedCapabilityException();
 78  
     }
 79  
 
 80  
     public void setMiddleName(String str) throws JAXRException
 81  
     {
 82  2
         throw new UnsupportedCapabilityException();
 83  
     }
 84  
 }