ip类字段修改
This commit is contained in:
@@ -41,9 +41,11 @@ public class BaseIpCfg extends BaseCfg<BaseIpCfg> {
|
|||||||
@SerializedName("ipType")
|
@SerializedName("ipType")
|
||||||
protected Integer ipType;
|
protected Integer ipType;
|
||||||
protected Integer ipPattern;
|
protected Integer ipPattern;
|
||||||
protected String ipAddress;
|
protected String srcIpAddress;
|
||||||
|
protected String destIpAddress;
|
||||||
protected Integer portPattern;
|
protected Integer portPattern;
|
||||||
protected String port;
|
protected String srcPort;
|
||||||
|
protected String destPort;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 方向
|
* 方向
|
||||||
@@ -135,20 +137,6 @@ public class BaseIpCfg extends BaseCfg<BaseIpCfg> {
|
|||||||
public void setIpPattern(Integer ipPattern) {
|
public void setIpPattern(Integer ipPattern) {
|
||||||
this.ipPattern = ipPattern;
|
this.ipPattern = ipPattern;
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* ipAddress
|
|
||||||
* @return ipAddress
|
|
||||||
*/
|
|
||||||
|
|
||||||
public String getIpAddress() {
|
|
||||||
return ipAddress;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @param ipAddress the ipAddress to set
|
|
||||||
*/
|
|
||||||
public void setIpAddress(String ipAddress) {
|
|
||||||
this.ipAddress = ipAddress;
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
* portPattern
|
* portPattern
|
||||||
* @return portPattern
|
* @return portPattern
|
||||||
@@ -163,19 +151,62 @@ public class BaseIpCfg extends BaseCfg<BaseIpCfg> {
|
|||||||
public void setPortPattern(Integer portPattern) {
|
public void setPortPattern(Integer portPattern) {
|
||||||
this.portPattern = portPattern;
|
this.portPattern = portPattern;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* port
|
* srcIpAddress
|
||||||
* @return port
|
* @return srcIpAddress
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public String getPort() {
|
public String getSrcIpAddress() {
|
||||||
return port;
|
return srcIpAddress;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @param port the port to set
|
* @param srcIpAddress the srcIpAddress to set
|
||||||
*/
|
*/
|
||||||
public void setPort(String port) {
|
public void setSrcIpAddress(String srcIpAddress) {
|
||||||
this.port = port;
|
this.srcIpAddress = srcIpAddress;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* destIpAddress
|
||||||
|
* @return destIpAddress
|
||||||
|
*/
|
||||||
|
|
||||||
|
public String getDestIpAddress() {
|
||||||
|
return destIpAddress;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param destIpAddress the destIpAddress to set
|
||||||
|
*/
|
||||||
|
public void setDestIpAddress(String destIpAddress) {
|
||||||
|
this.destIpAddress = destIpAddress;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* srcPort
|
||||||
|
* @return srcPort
|
||||||
|
*/
|
||||||
|
|
||||||
|
public String getSrcPort() {
|
||||||
|
return srcPort;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param srcPort the srcPort to set
|
||||||
|
*/
|
||||||
|
public void setSrcPort(String srcPort) {
|
||||||
|
this.srcPort = srcPort;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* destPort
|
||||||
|
* @return destPort
|
||||||
|
*/
|
||||||
|
|
||||||
|
public String getDestPort() {
|
||||||
|
return destPort;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param destPort the destPort to set
|
||||||
|
*/
|
||||||
|
public void setDestPort(String destPort) {
|
||||||
|
this.destPort = destPort;
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public void initDefaultValue(){
|
public void initDefaultValue(){
|
||||||
|
|||||||
Reference in New Issue
Block a user