/**
* DnsProtectionDynamicStateFp.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.radware.defenseflow.dp.pojos.Security.DnsProtection;
/**
* This structure describes the parameters of a DnsProtectionDynamicStateFp
*/
public class DnsProtectionDynamicStateFp implements java.io.Serializable {
/* The controller */
private com.radware.defenseflow.dp.pojos.Security.DnsProtection.DnsProtectionDynamicStateFp_ProtectionType protectionType;
/* The dynamic footprint type */
private com.radware.defenseflow.dp.pojos.Security.DnsProtection.DnsProtectionDynamicStateFp_FootprintType footprintType;
/* The dynamic state */
private com.radware.defenseflow.dp.pojos.Security.DnsProtection.DnsProtectionDynamicStateFp_DetectionCondition detectionCondition;
public DnsProtectionDynamicStateFp() {
}
public DnsProtectionDynamicStateFp(
com.radware.defenseflow.dp.pojos.Security.DnsProtection.DnsProtectionDynamicStateFp_ProtectionType protectionType,
com.radware.defenseflow.dp.pojos.Security.DnsProtection.DnsProtectionDynamicStateFp_FootprintType footprintType,
com.radware.defenseflow.dp.pojos.Security.DnsProtection.DnsProtectionDynamicStateFp_DetectionCondition detectionCondition) {
this.protectionType = protectionType;
this.footprintType = footprintType;
this.detectionCondition = detectionCondition;
}
/**
* Gets the protectionType value for this DnsProtectionDynamicStateFp.
*
* @return protectionType * The controller
*/
public com.radware.defenseflow.dp.pojos.Security.DnsProtection.DnsProtectionDynamicStateFp_ProtectionType getProtectionType() {
return protectionType;
}
/**
* Sets the protectionType value for this DnsProtectionDynamicStateFp.
*
* @param protectionType * The controller
*/
public void setProtectionType(com.radware.defenseflow.dp.pojos.Security.DnsProtection.DnsProtectionDynamicStateFp_ProtectionType protectionType) {
this.protectionType = protectionType;
}
/**
* Gets the footprintType value for this DnsProtectionDynamicStateFp.
*
* @return footprintType * The dynamic footprint type
*/
public com.radware.defenseflow.dp.pojos.Security.DnsProtection.DnsProtectionDynamicStateFp_FootprintType getFootprintType() {
return footprintType;
}
/**
* Sets the footprintType value for this DnsProtectionDynamicStateFp.
*
* @param footprintType * The dynamic footprint type
*/
public void setFootprintType(com.radware.defenseflow.dp.pojos.Security.DnsProtection.DnsProtectionDynamicStateFp_FootprintType footprintType) {
this.footprintType = footprintType;
}
/**
* Gets the detectionCondition value for this DnsProtectionDynamicStateFp.
*
* @return detectionCondition * The dynamic state
*/
public com.radware.defenseflow.dp.pojos.Security.DnsProtection.DnsProtectionDynamicStateFp_DetectionCondition getDetectionCondition() {
return detectionCondition;
}
/**
* Sets the detectionCondition value for this DnsProtectionDynamicStateFp.
*
* @param detectionCondition * The dynamic state
*/
public void setDetectionCondition(com.radware.defenseflow.dp.pojos.Security.DnsProtection.DnsProtectionDynamicStateFp_DetectionCondition detectionCondition) {
this.detectionCondition = detectionCondition;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof DnsProtectionDynamicStateFp)) return false;
DnsProtectionDynamicStateFp other = (DnsProtectionDynamicStateFp) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.protectionType==null && other.getProtectionType()==null) ||
(this.protectionType!=null &&
this.protectionType.equals(other.getProtectionType()))) &&
((this.footprintType==null && other.getFootprintType()==null) ||
(this.footprintType!=null &&
this.footprintType.equals(other.getFootprintType()))) &&
((this.detectionCondition==null && other.getDetectionCondition()==null) ||
(this.detectionCondition!=null &&
this.detectionCondition.equals(other.getDetectionCondition())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getProtectionType() != null) {
_hashCode += getProtectionType().hashCode();
}
if (getFootprintType() != null) {
_hashCode += getFootprintType().hashCode();
}
if (getDetectionCondition() != null) {
_hashCode += getDetectionCondition().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(DnsProtectionDynamicStateFp.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("radware.Security.DnsProtection", "DnsProtectionDynamicStateFp"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("protectionType");
elemField.setXmlName(new javax.xml.namespace.QName("", "ProtectionType"));
elemField.setXmlType(new javax.xml.namespace.QName("radware.Security.DnsProtection", "DnsProtectionDynamicStateFp_ProtectionType"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("footprintType");
elemField.setXmlName(new javax.xml.namespace.QName("", "FootprintType"));
elemField.setXmlType(new javax.xml.namespace.QName("radware.Security.DnsProtection", "DnsProtectionDynamicStateFp_FootprintType"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("detectionCondition");
elemField.setXmlName(new javax.xml.namespace.QName("", "DetectionCondition"));
elemField.setXmlType(new javax.xml.namespace.QName("radware.Security.DnsProtection", "DnsProtectionDynamicStateFp_DetectionCondition"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}