fixed discovery model

This commit is contained in:
snoop 2018-04-24 20:31:04 +09:00
parent d69fe39278
commit 75b57f9d2b
2 changed files with 21 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package com.loafle.overflow.model.discovery;
import java.util.Date; import java.util.Date;
import java.util.List;
/** /**
* Created by root on 17. 6. 4. * Created by root on 17. 6. 4.
@ -19,6 +20,7 @@ public class Host {
private boolean target; private boolean target;
private List<Port> portList;
public long getId() { public long getId() {
return id; return id;
@ -75,4 +77,12 @@ public class Host {
public void setTarget(boolean target) { public void setTarget(boolean target) {
this.target = target; this.target = target;
} }
public List<Port> getPortList() {
return portList;
}
public void setPortList(List<Port> portList) {
this.portList = portList;
}
} }

View File

@ -3,6 +3,7 @@ package com.loafle.overflow.model.discovery;
import com.loafle.overflow.core.type.PortType; import com.loafle.overflow.core.type.PortType;
import java.util.Date; import java.util.Date;
import java.util.List;
/** /**
* Created by root on 17. 6. 4. * Created by root on 17. 6. 4.
@ -19,6 +20,8 @@ public class Port {
private boolean target; private boolean target;
private List<Service> serviceList;
public long getId() { public long getId() {
return id; return id;
} }
@ -66,4 +69,12 @@ public class Port {
public void setTarget(boolean target) { public void setTarget(boolean target) {
this.target = target; this.target = target;
} }
public List<Service> getServiceList() {
return serviceList;
}
public void setServiceList(List<Service> serviceList) {
this.serviceList = serviceList;
}
} }