Coverage Report - org.apache.shindig.social.core.model.NameImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
NameImpl
100%
23/23
N/A
1
 
 1  
 /*
 2  
  * Licensed to the Apache Software Foundation (ASF) under one
 3  
  * or more contributor license agreements. See the NOTICE file
 4  
  * distributed with this work for additional information
 5  
  * regarding copyright ownership. The ASF licenses this file
 6  
  * to you under the Apache License, Version 2.0 (the
 7  
  * "License"); you may not use this file except in compliance
 8  
  * with the License. You may obtain a copy of the License at
 9  
  *
 10  
  *     http://www.apache.org/licenses/LICENSE-2.0
 11  
  *
 12  
  * Unless required by applicable law or agreed to in writing,
 13  
  * software distributed under the License is distributed on an
 14  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 15  
  * KIND, either express or implied. See the License for the
 16  
  * specific language governing permissions and limitations under the License.
 17  
  */
 18  
 package org.apache.shindig.social.core.model;
 19  
 
 20  
 import org.apache.shindig.social.opensocial.model.Name;
 21  
 
 22  
 public class NameImpl implements Name {
 23  
 
 24  
   private String additionalName;
 25  
   private String familyName;
 26  
   private String givenName;
 27  
   private String honorificPrefix;
 28  
   private String honorificSuffix;
 29  
   private String unstructured;
 30  
 
 31  33
   public NameImpl() {
 32  33
   }
 33  
 
 34  48
   public NameImpl(String unstructured) {
 35  48
     this.unstructured = unstructured;
 36  48
   }
 37  
 
 38  
   public String getUnstructured() {
 39  52
     return unstructured;
 40  
   }
 41  
 
 42  
   public void setUnstructured(String unstructured) {
 43  33
     this.unstructured = unstructured;
 44  33
   }
 45  
 
 46  
   public String getAdditionalName() {
 47  22
     return additionalName;
 48  
   }
 49  
 
 50  
   public void setAdditionalName(String additionalName) {
 51  10
     this.additionalName = additionalName;
 52  10
   }
 53  
 
 54  
   public String getFamilyName() {
 55  22
     return familyName;
 56  
   }
 57  
 
 58  
   public void setFamilyName(String familyName) {
 59  36
     this.familyName = familyName;
 60  36
   }
 61  
 
 62  
   public String getGivenName() {
 63  22
     return givenName;
 64  
   }
 65  
 
 66  
   public void setGivenName(String givenName) {
 67  36
     this.givenName = givenName;
 68  36
   }
 69  
 
 70  
   public String getHonorificPrefix() {
 71  22
     return honorificPrefix;
 72  
   }
 73  
 
 74  
   public void setHonorificPrefix(String honorificPrefix) {
 75  10
     this.honorificPrefix = honorificPrefix;
 76  10
   }
 77  
 
 78  
   public String getHonorificSuffix() {
 79  22
     return honorificSuffix;
 80  
   }
 81  
 
 82  
   public void setHonorificSuffix(String honorificSuffix) {
 83  10
     this.honorificSuffix = honorificSuffix;
 84  10
   }
 85  
 }