• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 Copyright 2016 The Android Open Source Project
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 package com.example.android.wearable.wear.weardrawers;
17 
18 /**
19  * Represents planet for app.
20  */
21 public class Planet {
22 
23     private String name;
24     private String navigationIcon;
25     private String image;
26     private String moons;
27     private String volume;
28     private String surfaceArea;
29 
Planet( String name, String navigationIcon, String image, String moons, String volume, String surfaceArea)30     public Planet(
31             String name,
32             String navigationIcon,
33             String image,
34             String moons,
35             String volume,
36             String surfaceArea) {
37 
38         this.name = name;
39         this.navigationIcon = navigationIcon;
40         this.image = image;
41         this.moons = moons;
42         this.volume = volume;
43         this.surfaceArea = surfaceArea;
44     }
45 
getName()46     public String getName() {
47         return name;
48     }
49 
getNavigationIcon()50     public String getNavigationIcon() {
51         return navigationIcon;
52     }
53 
getImage()54     public String getImage() {
55         return image;
56     }
57 
getMoons()58     public String getMoons() {
59         return moons;
60     }
61 
getVolume()62     public String getVolume() {
63         return volume;
64     }
65 
getSurfaceArea()66     public String getSurfaceArea() {
67         return surfaceArea;
68     }
69 }