at.gv.egovernment.moa.spss.server.config
Class DistributionPoint

java.lang.Object
  |
  +--at.gv.egovernment.moa.spss.server.config.DistributionPoint

public class DistributionPoint
extends Object

A class containing information about a CRL distribution point.

Version:
$Id$
Author:
Sven Aigner, Patrick Peck

Constructor Summary
DistributionPoint(String uri, String reasonCodeStr)
          Create a DistributionPoint with a URI and a list of reason codes.
 
Method Summary
 int getReasonCodes()
          Return a binary representation of the reason codes of this distribution point.
 String getUri()
          Return the URI of the distribution point.
 String toString()
          Return a String representation of this distribution point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistributionPoint

public DistributionPoint(String uri,
                         String reasonCodeStr)
Create a DistributionPoint with a URI and a list of reason codes.
Parameters:
uri - The URI of the distribution point.
reasonCodeStr - A list of reason codes (a space-separated enumeration).
Method Detail

getUri

public String getUri()
Return the URI of the distribution point.
Returns:
The URI of the distribution point.

getReasonCodes

public int getReasonCodes()
Return a binary representation of the reason codes of this distribution point.
Returns:
The binary representation of the reason codes.

toString

public String toString()
Return a String representation of this distribution point.
Overrides:
toString in class Object
Returns:
The String representation of this distribution point.
See Also:
Object.toString()