| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| BodyTypeImpl |
|
| 1.0;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.BodyType; | |
| 21 | ||
| 22 | /** | |
| 23 | * see | |
| 24 | * http://code.google.com/apis/opensocial/docs/0.7/reference/opensocial.BodyType.Field.html | |
| 25 | * | |
| 26 | */ | |
| 27 | 9 | public class BodyTypeImpl implements BodyType { |
| 28 | ||
| 29 | private String build; | |
| 30 | private String eyeColor; | |
| 31 | private String hairColor; | |
| 32 | private Float height; | |
| 33 | private Float weight; | |
| 34 | ||
| 35 | public String getBuild() { | |
| 36 | 4 | return build; |
| 37 | } | |
| 38 | ||
| 39 | public void setBuild(String build) { | |
| 40 | 9 | this.build = build; |
| 41 | 9 | } |
| 42 | ||
| 43 | public String getEyeColor() { | |
| 44 | 4 | return eyeColor; |
| 45 | } | |
| 46 | ||
| 47 | public void setEyeColor(String eyeColor) { | |
| 48 | 9 | this.eyeColor = eyeColor; |
| 49 | 9 | } |
| 50 | ||
| 51 | public String getHairColor() { | |
| 52 | 4 | return hairColor; |
| 53 | } | |
| 54 | ||
| 55 | public void setHairColor(String hairColor) { | |
| 56 | 9 | this.hairColor = hairColor; |
| 57 | 9 | } |
| 58 | ||
| 59 | public Float getHeight() { | |
| 60 | 4 | return height; |
| 61 | } | |
| 62 | ||
| 63 | public void setHeight(Float height) { | |
| 64 | 9 | this.height = height; |
| 65 | 9 | } |
| 66 | ||
| 67 | public Float getWeight() { | |
| 68 | 4 | return weight; |
| 69 | } | |
| 70 | ||
| 71 | public void setWeight(Float weight) { | |
| 72 | 9 | this.weight = weight; |
| 73 | 9 | } |
| 74 | } |