EMMA Coverage Report (generated Mon Oct 17 05:41:20 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 * Licensed to jclouds, Inc. (jclouds) under one or more
3 * contributor license agreements.  See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership.  jclouds 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
17 * under the License.
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