This commit is contained in:
crusader 2018-06-12 21:41:09 +09:00
parent b3889f309a
commit 49fda97e15
5 changed files with 114 additions and 101 deletions

View File

@ -1,85 +1,19 @@
package com.loafle.overflow.model.discovery; package com.loafle.overflow.model.discovery;
import com.loafle.overflow.model.meta.MetaIPType;
/** /**
* DiscoveryHost * DiscoveryHost
*/ */
public class DiscoverHost { public class DiscoverHost {
private String firstScanRangev4; private MetaIPType metaIPType;
private String lastScanRangev4; private String firstScanRange;
private String[] excludeHostsv4; private String lastScanRange;
private String[] includeHostsv4; private String[] excludeHosts;
private String[] includeHosts;
private String firstScanRangev6;
private String lastScanRangev6;
private String[] excludeHostsv6;
private String[] includeHostsv6;
private DiscoverPort discoverPort; private DiscoverPort discoverPort;
public String getFirstScanRangev4() {
return firstScanRangev4;
}
public void setFirstScanRangev4(String firstScanRangev4) {
this.firstScanRangev4 = firstScanRangev4;
}
public String getLastScanRangev4() {
return lastScanRangev4;
}
public void setLastScanRangev4(String lastScanRangev4) {
this.lastScanRangev4 = lastScanRangev4;
}
public String[] getExcludeHostsv4() {
return excludeHostsv4;
}
public void setExcludeHostsv4(String[] excludeHostsv4) {
this.excludeHostsv4 = excludeHostsv4;
}
public String[] getIncludeHostsv4() {
return includeHostsv4;
}
public void setIncludeHostsv4(String[] includeHostsv4) {
this.includeHostsv4 = includeHostsv4;
}
public String getFirstScanRangev6() {
return firstScanRangev6;
}
public void setFirstScanRangev6(String firstScanRangev6) {
this.firstScanRangev6 = firstScanRangev6;
}
public String getLastScanRangev6() {
return lastScanRangev6;
}
public void setLastScanRangev6(String lastScanRangev6) {
this.lastScanRangev6 = lastScanRangev6;
}
public String[] getExcludeHostsv6() {
return excludeHostsv6;
}
public void setExcludeHostsv6(String[] excludeHostsv6) {
this.excludeHostsv6 = excludeHostsv6;
}
public String[] getIncludeHostsv6() {
return includeHostsv6;
}
public void setIncludeHostsv6(String[] includeHostsv6) {
this.includeHostsv6 = includeHostsv6;
}
public DiscoverPort getDiscoverPort() { public DiscoverPort getDiscoverPort() {
return discoverPort; return discoverPort;
} }
@ -87,4 +21,74 @@ public class DiscoverHost {
public void setDiscoverPort(DiscoverPort discoverPort) { public void setDiscoverPort(DiscoverPort discoverPort) {
this.discoverPort = discoverPort; this.discoverPort = discoverPort;
} }
/**
* @return the metaIPType
*/
public MetaIPType getMetaIPType() {
return metaIPType;
}
/**
* @param metaIPType the metaIPType to set
*/
public void setMetaIPType(MetaIPType metaIPType) {
this.metaIPType = metaIPType;
}
/**
* @return the firstScanRange
*/
public String getFirstScanRange() {
return firstScanRange;
}
/**
* @param firstScanRange the firstScanRange to set
*/
public void setFirstScanRange(String firstScanRange) {
this.firstScanRange = firstScanRange;
}
/**
* @return the lastScanRange
*/
public String getLastScanRange() {
return lastScanRange;
}
/**
* @param lastScanRange the lastScanRange to set
*/
public void setLastScanRange(String lastScanRange) {
this.lastScanRange = lastScanRange;
}
/**
* @return the excludeHosts
*/
public String[] getExcludeHosts() {
return excludeHosts;
}
/**
* @param excludeHosts the excludeHosts to set
*/
public void setExcludeHosts(String[] excludeHosts) {
this.excludeHosts = excludeHosts;
}
/**
* @return the includeHosts
*/
public String[] getIncludeHosts() {
return includeHosts;
}
/**
* @param includeHosts the includeHosts to set
*/
public void setIncludeHosts(String[] includeHosts) {
this.includeHosts = includeHosts;
}
} }

View File

@ -3,12 +3,14 @@ package com.loafle.overflow.model.discovery;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import com.loafle.overflow.model.meta.MetaIPType;
/** /**
* Created by root on 17. 6. 4. * Created by root on 17. 6. 4.
*/ */
public class Host { public class Host {
private String metaIPTypeKey; private MetaIPType metaIPType;
private String address; private String address;
private String mac; private String mac;
@ -65,16 +67,17 @@ public class Host {
} }
/** /**
* @return the metaIPTypeKey * @return the metaIPType
*/ */
public String getMetaIPTypeKey() { public MetaIPType getMetaIPType() {
return metaIPTypeKey; return metaIPType;
} }
/** /**
* @param metaIPTypeKey the metaIPTypeKey to set * @param metaIPType the metaIPType to set
*/ */
public void setMetaIPTypeKey(String metaIPTypeKey) { public void setMetaIPType(MetaIPType metaIPType) {
this.metaIPTypeKey = metaIPTypeKey; this.metaIPType = metaIPType;
} }
} }

View File

@ -3,12 +3,14 @@ package com.loafle.overflow.model.discovery;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import com.loafle.overflow.model.meta.MetaPortType;
/** /**
* Created by root on 17. 6. 4. * Created by root on 17. 6. 4.
*/ */
public class Port { public class Port {
private String metaPortTypeKey; private MetaPortType metaPortType;
private Integer portNumber; private Integer portNumber;
@ -51,17 +53,17 @@ public class Port {
} }
/** /**
* @return the metaPortTypeKey * @return the metaPortType
*/ */
public String getMetaPortTypeKey() { public MetaPortType getMetaPortType() {
return metaPortTypeKey; return metaPortType;
} }
/** /**
* @param metaPortTypeKey the metaPortTypeKey to set * @param metaPortType the metaPortType to set
*/ */
public void setMetaPortTypeKey(String metaPortTypeKey) { public void setMetaPortType(MetaPortType metaPortType) {
this.metaPortTypeKey = metaPortTypeKey; this.metaPortType = metaPortType;
} }
} }

View File

@ -2,12 +2,14 @@ package com.loafle.overflow.model.discovery;
import java.util.Date; import java.util.Date;
import com.loafle.overflow.model.meta.MetaCryptoType;
/** /**
* Created by root on 17. 6. 4. * Created by root on 17. 6. 4.
*/ */
public class Service { public class Service {
private String metaCryptoTypeKey; private MetaCryptoType metaCryptoType;
private String name; private String name;
@ -46,17 +48,17 @@ public class Service {
} }
/** /**
* @return the metaCryptoTypeKey * @return the metaCryptoType
*/ */
public String getMetaCryptoTypeKey() { public MetaCryptoType getMetaCryptoType() {
return metaCryptoTypeKey; return metaCryptoType;
} }
/** /**
* @param metaCryptoTypeKey the metaCryptoTypeKey to set * @param metaCryptoType the metaCryptoType to set
*/ */
public void setMetaCryptoTypeKey(String metaCryptoTypeKey) { public void setMetaCryptoType(MetaCryptoType metaCryptoType) {
this.metaCryptoTypeKey = metaCryptoTypeKey; this.metaCryptoType = metaCryptoType;
} }
} }

View File

@ -2,13 +2,15 @@ package com.loafle.overflow.model.discovery;
import java.util.Date; import java.util.Date;
import com.loafle.overflow.model.meta.MetaIPType;
/** /**
* Created by snoop on 17. 10. 31. * Created by snoop on 17. 10. 31.
*/ */
public class Zone { public class Zone {
private String network; private String network;
private String iface; private String iface;
private String metaIPTypeKey; private MetaIPType metaIPType;
private String address; private String address;
private String mac; private String mac;
@ -61,16 +63,16 @@ public class Zone {
} }
/** /**
* @return the metaIPTypeKey * @return the metaIPType
*/ */
public String getMetaIPTypeKey() { public MetaIPType getMetaIPType() {
return metaIPTypeKey; return metaIPType;
} }
/** /**
* @param metaIPTypeKey the metaIPTypeKey to set * @param metaIPType the metaIPType to set
*/ */
public void setMetaIPTypeKey(String metaIPTypeKey) { public void setMetaIPType(MetaIPType metaIPType) {
this.metaIPTypeKey = metaIPTypeKey; this.metaIPType = metaIPType;
} }
} }