| 1 | /** |
| 2 | * |
| 3 | * Copyright (C) 2011 Cloud Conscious, LLC. <info@cloudconscious.com> |
| 4 | * |
| 5 | * ==================================================================== |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * 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, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | * ==================================================================== |
| 18 | */ |
| 19 | package org.jclouds.cloudservers.domain; |
| 20 | |
| 21 | public class Version { |
| 22 | |
| 23 | private String docURL; |
| 24 | private String id = "v1.0"; |
| 25 | private VersionStatus status; |
| 26 | private String wadl; |
| 27 | |
| 28 | public void setDocURL(String docURL) { |
| 29 | this.docURL = docURL; |
| 30 | } |
| 31 | |
| 32 | public String getDocURL() { |
| 33 | return docURL; |
| 34 | } |
| 35 | |
| 36 | public void setId(String id) { |
| 37 | this.id = id; |
| 38 | } |
| 39 | |
| 40 | public String getId() { |
| 41 | return id; |
| 42 | } |
| 43 | |
| 44 | public void setStatus(VersionStatus status) { |
| 45 | this.status = status; |
| 46 | } |
| 47 | |
| 48 | public VersionStatus getStatus() { |
| 49 | return status; |
| 50 | } |
| 51 | |
| 52 | public void setWadl(String wadl) { |
| 53 | this.wadl = wadl; |
| 54 | } |
| 55 | |
| 56 | public String getWadl() { |
| 57 | return wadl; |
| 58 | } |
| 59 | } |