/** * RsNetFloodDynamicStateFpEntryKey.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.BehavioralDoS; /** * Identifies and entry in the rsNetFloodDynamicStateFpEntry table */ public class RsNetFloodDynamicStateFpEntryKey implements java.io.Serializable { /* The controller */ private com.radware.defenseflow.dp.pojos.Security.BehavioralDoS.RsNetFloodDynamicStateFpEntry_ProtectionType protectionType; /* The dynamic footprint type */ private com.radware.defenseflow.dp.pojos.Security.BehavioralDoS.RsNetFloodDynamicStateFpEntry_FootprintType footprintType; public RsNetFloodDynamicStateFpEntryKey() { } public RsNetFloodDynamicStateFpEntryKey( com.radware.defenseflow.dp.pojos.Security.BehavioralDoS.RsNetFloodDynamicStateFpEntry_ProtectionType protectionType, com.radware.defenseflow.dp.pojos.Security.BehavioralDoS.RsNetFloodDynamicStateFpEntry_FootprintType footprintType) { this.protectionType = protectionType; this.footprintType = footprintType; } /** * Gets the protectionType value for this RsNetFloodDynamicStateFpEntryKey. * * @return protectionType * The controller */ public com.radware.defenseflow.dp.pojos.Security.BehavioralDoS.RsNetFloodDynamicStateFpEntry_ProtectionType getProtectionType() { return protectionType; } /** * Sets the protectionType value for this RsNetFloodDynamicStateFpEntryKey. * * @param protectionType * The controller */ public void setProtectionType(com.radware.defenseflow.dp.pojos.Security.BehavioralDoS.RsNetFloodDynamicStateFpEntry_ProtectionType protectionType) { this.protectionType = protectionType; } /** * Gets the footprintType value for this RsNetFloodDynamicStateFpEntryKey. * * @return footprintType * The dynamic footprint type */ public com.radware.defenseflow.dp.pojos.Security.BehavioralDoS.RsNetFloodDynamicStateFpEntry_FootprintType getFootprintType() { return footprintType; } /** * Sets the footprintType value for this RsNetFloodDynamicStateFpEntryKey. * * @param footprintType * The dynamic footprint type */ public void setFootprintType(com.radware.defenseflow.dp.pojos.Security.BehavioralDoS.RsNetFloodDynamicStateFpEntry_FootprintType footprintType) { this.footprintType = footprintType; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof RsNetFloodDynamicStateFpEntryKey)) return false; RsNetFloodDynamicStateFpEntryKey other = (RsNetFloodDynamicStateFpEntryKey) 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()))); __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(); } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(RsNetFloodDynamicStateFpEntryKey.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("radware.Security.BehavioralDoS", "rsNetFloodDynamicStateFpEntryKey")); 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.BehavioralDoS", "rsNetFloodDynamicStateFpEntry_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.BehavioralDoS", "rsNetFloodDynamicStateFpEntry_FootprintType")); 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); } }