Tal Nisan has uploaded a new change for review. Change subject: core: Remove unused entities ......................................................................
core: Remove unused entities Change-Id: I916ff0ac4745d4f05811d4f0737f93d764620ebe Signed-off-by: Tal Nisan <tni...@redhat.com> --- D backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/event_subscriber_notification_methods.java D backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/image_vm_map.java D backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/image_vm_map_id.java D backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/roles_actions.java D backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage_pool_iso_map_id.java 5 files changed, 0 insertions(+), 286 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/00/12400/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/event_subscriber_notification_methods.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/event_subscriber_notification_methods.java deleted file mode 100644 index 30283d8..0000000 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/event_subscriber_notification_methods.java +++ /dev/null @@ -1,49 +0,0 @@ -package org.ovirt.engine.core.common.businessentities; - -import java.io.Serializable; - -import org.ovirt.engine.core.compat.*; - -public class event_subscriber_notification_methods implements Serializable { - private static final long serialVersionUID = -5043610606679829895L; - - public event_subscriber_notification_methods() { - } - - public event_subscriber_notification_methods(Guid subscriber_id, String event_up_name, String method_type) { - this.subscriber_idField = subscriber_id; - this.event_up_nameField = event_up_name; - this.method_typeField = method_type; - } - - private Guid subscriber_idField = new Guid(); - - public Guid getsubscriber_id() { - return this.subscriber_idField; - } - - public void setsubscriber_id(Guid value) { - this.subscriber_idField = value; - } - - private String event_up_nameField; - - public String getevent_up_name() { - return this.event_up_nameField; - } - - public void setevent_up_name(String value) { - this.event_up_nameField = value; - } - - private String method_typeField; - - public String getmethod_type() { - return this.method_typeField; - } - - public void setmethod_type(String value) { - this.method_typeField = value; - } - -} diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/image_vm_map.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/image_vm_map.java deleted file mode 100644 index 10fbae1..0000000 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/image_vm_map.java +++ /dev/null @@ -1,97 +0,0 @@ -package org.ovirt.engine.core.common.businessentities; - -import org.ovirt.engine.core.compat.Guid; - -public class image_vm_map implements BusinessEntity<image_vm_map_id> { - private static final long serialVersionUID = -6528043171116600954L; - - private image_vm_map_id id = new image_vm_map_id(); - private Boolean active; - - public image_vm_map() { - } - - public image_vm_map(Boolean active, Guid image_id, Guid vm_id) { - this.active = active; - getId().setImageId(image_id); - getId().setVmId(vm_id); - } - - public Boolean getactive() { - return this.active; - } - - public void setactive(Boolean value) { - this.active = value; - } - - public Guid getimage_id() { - return getId().getImageId(); - } - - public void setimage_id(Guid value) { - getId().setImageId(value); - } - - public Guid getvm_id() { - return getId().getVmId(); - } - - public void setvm_id(Guid value) { - getId().setVmId(value); - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((active == null) ? 0 : active.hashCode()); - result = prime * result + ((id == null) ? 0 : id.hashCode()); - return result; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - if (obj == null) { - return false; - } - if (getClass() != obj.getClass()) { - return false; - } - image_vm_map other = (image_vm_map) obj; - if (active == null) { - if (other.active != null) { - return false; - } - } else if (!active.equals(other.active)) { - return false; - } - if (id == null) { - if (other.id != null) { - return false; - } - } else if (!id.equals(other.id)) { - return false; - } - return true; - } - - /** - * @return the id - */ - @Override - public image_vm_map_id getId() { - return id; - } - - /** - * @param id the id to set - */ - @Override - public void setId(image_vm_map_id id) { - this.id = id; - } -} diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/image_vm_map_id.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/image_vm_map_id.java deleted file mode 100644 index 1de1831..0000000 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/image_vm_map_id.java +++ /dev/null @@ -1,87 +0,0 @@ -package org.ovirt.engine.core.common.businessentities; - -import java.io.Serializable; - -import org.ovirt.engine.core.compat.Guid; - -public class image_vm_map_id implements Serializable { - private static final long serialVersionUID = 2283977222487071390L; - - private Guid imageId; - private Guid vmId; - - public image_vm_map_id() { - } - - public image_vm_map_id(Guid imageId, Guid vmId) { - this.imageId = imageId; - this.vmId = vmId; - } - - /** - * @return the imageId - */ - public Guid getImageId() { - return imageId; - } - - /** - * @param imageId the imageId to set - */ - public void setImageId(Guid imageId) { - this.imageId = imageId; - } - - /** - * @return the vmId - */ - public Guid getVmId() { - return vmId; - } - - /** - * @param vmId the vmId to set - */ - public void setVmId(Guid vmId) { - this.vmId = vmId; - } - - @Override - public int hashCode() { - final int prime = 17; - int result = 1; - result = prime * result + ((imageId == null) ? 0 : imageId.hashCode()); - result = prime * result + ((vmId == null) ? 0 : vmId.hashCode()); - return result; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - if (obj == null) { - return false; - } - if (getClass() != obj.getClass()) { - return false; - } - image_vm_map_id other = (image_vm_map_id) obj; - if (imageId == null) { - if (other.imageId != null) { - return false; - } - } else if (!imageId.equals(other.imageId)) { - return false; - } - if (vmId == null) { - if (other.vmId != null) { - return false; - } - } else if (!vmId.equals(other.vmId)) { - return false; - } - return true; - } - -} diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/roles_actions.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/roles_actions.java deleted file mode 100644 index 4bfd86c..0000000 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/roles_actions.java +++ /dev/null @@ -1,40 +0,0 @@ -package org.ovirt.engine.core.common.businessentities; - -import java.io.Serializable; - -import org.ovirt.engine.core.compat.*; - -import org.ovirt.engine.core.common.action.*; - -public class roles_actions implements Serializable { - private static final long serialVersionUID = 2827087421933303609L; - - public roles_actions() { - } - - public roles_actions(VdcActionType action_id, Guid role_id) { - this.action_idField = action_id; - this.role_idField = role_id; - } - - private VdcActionType action_idField = VdcActionType.forValue(0); - - public VdcActionType getaction_id() { - return this.action_idField; - } - - public void setaction_id(VdcActionType value) { - this.action_idField = value; - } - - private Guid role_idField = new Guid(); - - public Guid getrole_id() { - return this.role_idField; - } - - public void setrole_id(Guid value) { - this.role_idField = value; - } - -} diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage_pool_iso_map_id.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage_pool_iso_map_id.java deleted file mode 100644 index a4f35c5..0000000 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage_pool_iso_map_id.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.ovirt.engine.core.common.businessentities; - -import java.io.Serializable; - -import org.ovirt.engine.core.compat.Guid; -import org.ovirt.engine.core.compat.NGuid; - -public class storage_pool_iso_map_id implements Serializable { - private static final long serialVersionUID = -3579958698510291360L; - - Guid storageId; - NGuid storagePoolId; -} -- To view, visit http://gerrit.ovirt.org/12400 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I916ff0ac4745d4f05811d4f0737f93d764620ebe Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tal Nisan <tni...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches