org.apache.lenya.cms.ac.usecases
Class IPRangeProfile.Part

java.lang.Object
  extended by org.apache.lenya.cms.ac.usecases.IPRangeProfile.Part
Enclosing class:
IPRangeProfile

public static class IPRangeProfile.Part
extends java.lang.Object

IP address part holder.


Constructor Summary
IPRangeProfile.Part(byte _position)
          Ctor.
IPRangeProfile.Part(byte _position, java.lang.String _value)
          Ctor.
 
Method Summary
 byte getPosition()
          Returns the position
 java.lang.String getValue()
          Returns the value
 boolean isValid()
          Checks if the part is valid.
 void setValue(java.lang.String _value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPRangeProfile.Part

public IPRangeProfile.Part(byte _position,
                           java.lang.String _value)
Ctor.

Parameters:
_position - The position.
_value - The value.

IPRangeProfile.Part

public IPRangeProfile.Part(byte _position)
Ctor.

Parameters:
_position - The position.
Method Detail

getPosition

public byte getPosition()
Returns the position

Returns:
The position

getValue

public java.lang.String getValue()
Returns the value

Returns:
The value

setValue

public void setValue(java.lang.String _value)
Parameters:
_value - The value.

isValid

public boolean isValid()
Checks if the part is valid.

Returns:
A boolean value.


Copyright $ Apache Software Foundation. All Rights Reserved.