String posY;
String name;
String uniqueId;
+ String originType;
public ComponentInstanceReqDetails() {
super();
this.posY = componentInstance.getPosY();
// this.name = "myResourceInstance";
this.name = componentInstance.getName();
+ this.originType = componentInstance.getOriginType().name();
}
- public ComponentInstanceReqDetails(String resourceUid, String description, String posX, String posY, String name) {
+ public ComponentInstanceReqDetails(String resourceUid, String description, String posX, String posY, String name, String originType) {
super();
this.componentUid = resourceUid;
this.description = description;
this.posY = posY;
// this.name = "myResourceInstance";
this.name = name;
+ this.originType = originType;
}
public ComponentInstanceReqDetails(String resourceUid, String description, String posX, String posY) {
this.uniqueId = uniqueId;
}
+ public String getOriginType() {
+ return originType;
+ }
+
+ public void setOriginType(String originType) {
+ this.originType = originType;
+ }
+
@Override
public String toString() {
return "ResourceInstanceReqDetails [resourceUid=" + componentUid + ", description=" + description + ", posX="