MCPcopy Create free account
hub / github.com/apache/cloudstack / VolumeVO

Class VolumeVO

engine/schema/src/main/java/com/cloud/storage/VolumeVO.java:44–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42import com.cloud.utils.db.GenericDao;
43
44@Entity
45@Table(name = "volumes")
46public class VolumeVO implements Volume {
47 @Id
48 @TableGenerator(name = "volume_sq", table = "sequence", pkColumnName = "name", valueColumnName = "value", pkColumnValue = "volume_seq", allocationSize = 1)
49 @GeneratedValue(strategy = GenerationType.TABLE)
50 @Column(name = "id")
51 private long id;
52
53 @Column(name = "last_id")
54 private long lastId;
55
56 @Column(name = "name")
57 private String name;
58
59 @Column(name = "pool_id")
60 private Long poolId;
61
62 @Column(name = "last_pool_id")
63 private Long lastPoolId;
64
65 @Column(name = "account_id")
66 private long accountId;
67
68 @Column(name = "domain_id")
69 private long domainId;
70
71 @Column(name = "instance_id")
72 private Long instanceId = null;
73
74 @Column(name = "device_id")
75 private Long deviceId = null;
76
77 @Column(name = "size")
78 private Long size;
79
80 @Column(name = "min_iops")
81 private Long minIops;
82
83 @Column(name = "max_iops")
84 private Long maxIops;
85
86 @Column(name = "folder")
87 private String folder;
88
89 @Column(name = "path")
90 private String path;
91
92 @Column(name = "pod_id")
93 private Long podId;
94
95 @Column(name = "created")
96 private Date created;
97
98 @Column(name = "attached")
99 @Temporal(value = TemporalType.TIMESTAMP)
100 private Date attached;
101

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected