arlut.csd.ganymede
Interface ip_field

All Superinterfaces:
db_field, java.rmi.Remote
All Known Implementing Classes:
IPDBField

public interface ip_field
extends db_field


Method Summary
 boolean isIPV4()
          Returns true if the (scalar) value stored in this IP field is an IPV6 address
 boolean isIPV4(short index)
          Returns true if the value stored in the given element of this IP field is an IPV4 address.
 boolean isIPV6()
          Returns true if the (scalar) value stored in this IP field is an IPV6 address
 boolean isIPV6(short index)
          Returns true if the value stored in the given element of this IP field is an IPV6 address.
 boolean v6Allowed()
          Returns true if this field is permitted to hold IPv6 addresses.
 
Methods inherited from interface arlut.csd.ganymede.db_field
addElement, addElements, containsElement, deleteAllElements, deleteElement, deleteElement, deleteElements, getComment, getElement, getEncodingString, getFieldInfo, getFieldTemplate, getID, getName, getType, getTypeDesc, getValue, getValues, getValueString, isBuiltIn, isDefined, isEditable, isEditInPlace, isVector, isVisible, setElement, setValue, size
 

Method Detail

v6Allowed

public boolean v6Allowed()
                  throws java.rmi.RemoteException
Returns true if this field is permitted to hold IPv6 addresses.

isIPV6

public boolean isIPV6()
               throws java.rmi.RemoteException
Returns true if the (scalar) value stored in this IP field is an IPV6 address

isIPV4

public boolean isIPV4()
               throws java.rmi.RemoteException
Returns true if the (scalar) value stored in this IP field is an IPV6 address

isIPV6

public boolean isIPV6(short index)
               throws java.rmi.RemoteException
Returns true if the value stored in the given element of this IP field is an IPV6 address.
Parameters:
index - Array index for the value to be checked

isIPV4

public boolean isIPV4(short index)
               throws java.rmi.RemoteException
Returns true if the value stored in the given element of this IP field is an IPV4 address.
Parameters:
index - Array index for the value to be checked