org.sakaiproject.tool.assessment.business.entity.assessment.model
Class IPMaskData

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.business.entity.assessment.model.IPMaskData

public class IPMaskData
extends Object

This holds the ip access model, and a list of allowed or blocked ip addresses, based on the model. Do we need a choice that combines allowed and blocked in some way? (i.e. everything on the allowed list except the blocked ones, or nothing on the blocked list except the allowed ones?)

Author:
Rachel Gollub, Ed Smiley

Constructor Summary
IPMaskData()
          Creates a new IPMaskData object.
 
Method Summary
 void addAllowedAddress(InetAddress paddress)
          DOCUMENTATION PENDING
 void addBlockedAddress(InetAddress paddress)
          DOCUMENTATION PENDING
 Collection getAllowedAddresses()
          DOCUMENTATION PENDING
 Collection getBlockedAddresses()
          DOCUMENTATION PENDING
 String getIPAccessType()
          DOCUMENTATION PENDING
 void removeAllowedAddress(InetAddress paddress)
          DOCUMENTATION PENDING
 void removeBlockedAddress(InetAddress paddress)
          DOCUMENTATION PENDING
 void setAllowedAddresses(Collection pallowedAddresses)
          DOCUMENTATION PENDING
 void setBlockedAddresses(Collection pblockedAddresses)
          DOCUMENTATION PENDING
 void setIPAccessType(String pipAccessType)
          DOCUMENTATION PENDING
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPMaskData

public IPMaskData()
Creates a new IPMaskData object.

Method Detail

getIPAccessType

public String getIPAccessType()
DOCUMENTATION PENDING

Returns:
DOCUMENTATION PENDING

setIPAccessType

public void setIPAccessType(String pipAccessType)
DOCUMENTATION PENDING

Parameters:
pipAccessType - DOCUMENTATION PENDING

getAllowedAddresses

public Collection getAllowedAddresses()
DOCUMENTATION PENDING

Returns:
DOCUMENTATION PENDING

setAllowedAddresses

public void setAllowedAddresses(Collection pallowedAddresses)
DOCUMENTATION PENDING

Parameters:
pallowedAddresses - DOCUMENTATION PENDING

addAllowedAddress

public void addAllowedAddress(InetAddress paddress)
DOCUMENTATION PENDING

Parameters:
paddress - DOCUMENTATION PENDING

removeAllowedAddress

public void removeAllowedAddress(InetAddress paddress)
DOCUMENTATION PENDING

Parameters:
paddress - DOCUMENTATION PENDING

getBlockedAddresses

public Collection getBlockedAddresses()
DOCUMENTATION PENDING

Returns:
DOCUMENTATION PENDING

setBlockedAddresses

public void setBlockedAddresses(Collection pblockedAddresses)
DOCUMENTATION PENDING

Parameters:
pblockedAddresses - DOCUMENTATION PENDING

addBlockedAddress

public void addBlockedAddress(InetAddress paddress)
DOCUMENTATION PENDING

Parameters:
paddress - DOCUMENTATION PENDING

removeBlockedAddress

public void removeBlockedAddress(InetAddress paddress)
DOCUMENTATION PENDING

Parameters:
paddress - DOCUMENTATION PENDING