org.opengts.dbtypes
Class DTIPAddrList

java.lang.Object
  extended by org.opengts.dbtools.DBFieldType
      extended by org.opengts.dbtypes.DTIPAddrList

public class DTIPAddrList
extends DBFieldType


Constructor Summary
DTIPAddrList(IPTools.IPAddress[] ipAddr)
           
DTIPAddrList(IPTools.IPAddressList ipList)
           
DTIPAddrList(java.sql.ResultSet rs, java.lang.String fldName)
           
DTIPAddrList(java.lang.String ipList)
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Returns true if the 'other' object is equivalent to this field type value
 java.lang.Object getObject()
          Gets the current value
 boolean isEmpty()
           
 boolean isMatch(java.lang.String ipAddr)
           
 java.lang.String toString()
          Gets the String representation of the current value
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DTIPAddrList

public DTIPAddrList(IPTools.IPAddressList ipList)

DTIPAddrList

public DTIPAddrList(IPTools.IPAddress[] ipAddr)

DTIPAddrList

public DTIPAddrList(java.lang.String ipList)

DTIPAddrList

public DTIPAddrList(java.sql.ResultSet rs,
                    java.lang.String fldName)
             throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

isEmpty

public boolean isEmpty()

isMatch

public boolean isMatch(java.lang.String ipAddr)

getObject

public java.lang.Object getObject()
Description copied from class: DBFieldType
Gets the current value

Specified by:
getObject in class DBFieldType
Returns:
The current value

toString

public java.lang.String toString()
Description copied from class: DBFieldType
Gets the String representation of the current value

Specified by:
toString in class DBFieldType
Returns:
The String representation of the current value

equals

public boolean equals(java.lang.Object other)
Description copied from class: DBFieldType
Returns true if the 'other' object is equivalent to this field type value

Overrides:
equals in class DBFieldType
Parameters:
other - The 'other' object
Returns:
True if the 'other' object is equivalent to this field type value