-
Notifications
You must be signed in to change notification settings - Fork 1.3k
CLOUDSTACK-9438: Fix for CLOUDSTACK-9252 - Make NFS version changeable in UI #1615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,61 +23,61 @@ | |
| import javax.persistence.Id; | ||
| import javax.persistence.Table; | ||
|
|
||
| import org.apache.cloudstack.api.InternalIdentity; | ||
| import org.apache.cloudstack.api.ResourceDetail; | ||
|
|
||
| @Entity | ||
| @Table(name = "image_store_details") | ||
| public class ImageStoreDetailVO implements InternalIdentity { | ||
| public class ImageStoreDetailVO implements ResourceDetail { | ||
| @Id | ||
| @GeneratedValue(strategy = GenerationType.IDENTITY) | ||
| @Column(name = "id") | ||
| long id; | ||
|
|
||
| @Column(name = "store_id") | ||
| long storeId; | ||
| long resourceId; | ||
|
|
||
| @Column(name = "name") | ||
| String name; | ||
|
|
||
| @Column(name = "value") | ||
| String value; | ||
|
|
||
| @Column(name = "display") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the need for this field?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We added it to make it consistent with |
||
| private boolean display = true; | ||
|
|
||
| public ImageStoreDetailVO() { | ||
| } | ||
|
|
||
| public ImageStoreDetailVO(long storeId, String name, String value) { | ||
| this.storeId = storeId; | ||
| public ImageStoreDetailVO(long storeId, String name, String value, boolean display) { | ||
| this.resourceId = storeId; | ||
| this.name = name; | ||
| this.value = value; | ||
| this.display = display; | ||
| } | ||
|
|
||
| @Override | ||
| public long getId() { | ||
| return id; | ||
| } | ||
|
|
||
| public long getStoreId() { | ||
| return storeId; | ||
| } | ||
|
|
||
| public void setStoreId(long storeId) { | ||
| this.storeId = storeId; | ||
| @Override | ||
| public long getResourceId() { | ||
| return resourceId; | ||
| } | ||
|
|
||
| @Override | ||
| public String getName() { | ||
| return name; | ||
| } | ||
|
|
||
| public void setName(String name) { | ||
| this.name = name; | ||
| } | ||
|
|
||
| @Override | ||
| public String getValue() { | ||
| return value; | ||
| } | ||
|
|
||
| public void setValue(String value) { | ||
| this.value = value; | ||
| @Override | ||
| public boolean isDisplay() { | ||
| return display; | ||
| } | ||
|
|
||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason for moving this file to a new location?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @koushik-das, the reason was to avoid a dependency cycle on Maven poms, I tried explaining it under Important section in this PR's description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed that out previously, thanks