| 37 | import org.apache.cloudstack.utils.reflectiontostringbuilderutils.ReflectionToStringBuilderUtils; |
| 38 | |
| 39 | @Entity |
| 40 | @Table(name = "snapshots") |
| 41 | public class SnapshotVO implements Snapshot { |
| 42 | |
| 43 | @Id |
| 44 | @GeneratedValue(strategy = GenerationType.IDENTITY) |
| 45 | @Column(name = "id") |
| 46 | private long id; |
| 47 | |
| 48 | @Column(name = "data_center_id") |
| 49 | long dataCenterId; |
| 50 | |
| 51 | @Column(name = "account_id") |
| 52 | long accountId; |
| 53 | |
| 54 | @Column(name = "domain_id") |
| 55 | long domainId; |
| 56 | |
| 57 | @Column(name = "volume_id") |
| 58 | Long volumeId; |
| 59 | |
| 60 | @Column(name = "disk_offering_id") |
| 61 | Long diskOfferingId; |
| 62 | |
| 63 | @Expose |
| 64 | @Column(name = "name") |
| 65 | String name; |
| 66 | |
| 67 | @Expose |
| 68 | @Column(name = "status", updatable = true, nullable = false) |
| 69 | @Enumerated(value = EnumType.STRING) |
| 70 | private State state; |
| 71 | |
| 72 | @Column(name = "snapshot_type") |
| 73 | short snapshotType; |
| 74 | |
| 75 | @Expose |
| 76 | @Column(name = "location_type", updatable = true, nullable = true) |
| 77 | @Enumerated(value = EnumType.STRING) |
| 78 | private LocationType locationType; |
| 79 | |
| 80 | @Column(name = "type_description") |
| 81 | String typeDescription; |
| 82 | |
| 83 | @Column(name = "size") |
| 84 | long size; |
| 85 | |
| 86 | @Column(name = GenericDao.CREATED_COLUMN) |
| 87 | Date created; |
| 88 | |
| 89 | @Column(name = GenericDao.REMOVED_COLUMN) |
| 90 | Date removed; |
| 91 | |
| 92 | @Column(name = "hypervisor_type") |
| 93 | @Convert(converter = HypervisorTypeConverter.class) |
| 94 | HypervisorType hypervisorType; |
| 95 | |
| 96 | @Expose |
nothing calls this directly
no outgoing calls
no test coverage detected