EMMA Coverage Report (generated Fri Aug 26 14:14:05 EDT 2011)
[all classes][org.jclouds.rimuhosting.miro.domain]

COVERAGE SUMMARY FOR SOURCE FILE [BillingData.java]

nameclass, %method, %block, %line, %
BillingData.java100% (1/1)27%  (3/11)24%  (9/38)19%  (3/16)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class BillingData100% (1/1)27%  (3/11)24%  (9/38)19%  (3/16)
getDataPrepaidUntil (): Timestamp 0%   (0/1)0%   (0/3)0%   (0/1)
getDateOrdered (): Timestamp 0%   (0/1)0%   (0/3)0%   (0/1)
getMonthlyCharge (): Double 0%   (0/1)0%   (0/3)0%   (0/1)
setDataPrepaidUntil (Timestamp): void 0%   (0/1)0%   (0/4)0%   (0/2)
setDateCancelled (Timestamp): void 0%   (0/1)0%   (0/4)0%   (0/2)
setDateOrdered (Timestamp): void 0%   (0/1)0%   (0/4)0%   (0/2)
setDateSuspended (Timestamp): void 0%   (0/1)0%   (0/4)0%   (0/2)
setMonthlyCharge (Double): void 0%   (0/1)0%   (0/4)0%   (0/2)
BillingData (): void 100% (1/1)100% (3/3)100% (1/1)
getDateCancelled (): Timestamp 100% (1/1)100% (3/3)100% (1/1)
getDateSuspended (): Timestamp 100% (1/1)100% (3/3)100% (1/1)

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 */
19package org.jclouds.rimuhosting.miro.domain;
20 
21import com.google.gson.annotations.SerializedName;
22 
23import java.sql.Timestamp;
24 
25/**
26 * Billing data. Need to make it inteface with jclouds.
27 * TODO: test
28 *
29 * @author Ivan Meredith
30 */
31public class BillingData {
32   @SerializedName("cancellation_date")
33   private Timestamp dateCancelled;
34   @SerializedName("monthly_recurring_fee")
35   private Double monthlyCharge;
36   @SerializedName("order_date")
37   private Timestamp dateOrdered;
38   @SerializedName("prepaid_until")
39   private Timestamp dataPrepaidUntil;
40   @SerializedName("suspended_date")
41   private Timestamp dateSuspended;
42 
43   public Timestamp getDateCancelled() {
44      return dateCancelled;
45   }
46 
47   public void setDateCancelled(Timestamp dateCancelled) {
48      this.dateCancelled = dateCancelled;
49   }
50 
51   public Double getMonthlyCharge() {
52      return monthlyCharge;
53   }
54 
55   public void setMonthlyCharge(Double monthlyCharge) {
56      this.monthlyCharge = monthlyCharge;
57   }
58 
59   public Timestamp getDateOrdered() {
60      return dateOrdered;
61   }
62 
63   public void setDateOrdered(Timestamp dateOrdered) {
64      this.dateOrdered = dateOrdered;
65   }
66 
67   public Timestamp getDataPrepaidUntil() {
68      return dataPrepaidUntil;
69   }
70 
71   public void setDataPrepaidUntil(Timestamp dataPrepaidUntil) {
72      this.dataPrepaidUntil = dataPrepaidUntil;
73   }
74 
75   public Timestamp getDateSuspended() {
76      return dateSuspended;
77   }
78 
79   public void setDateSuspended(Timestamp dateSuspended) {
80      this.dateSuspended = dateSuspended;
81   }
82}

[all classes][org.jclouds.rimuhosting.miro.domain]
EMMA 2.0.5312 (C) Vladimir Roubtsov