org.apache.juddi.datatype.binding
Class AccessPoint

java.lang.Object
  extended by org.apache.juddi.datatype.binding.AccessPoint
All Implemented Interfaces:
java.io.Serializable, RegistryObject

public class AccessPoint
extends java.lang.Object
implements RegistryObject

Is an attribute-qualified pointer to a service entry point. Many types of entry point are accommodated. A single urlType attribute is used to indicate the type of entry point so searches for specific types can be performed. Types might be "http", "smtp", "ftp", etc. In addition there is the actual string value for the entry point. Example accessPoints therefore may be: mailto:purch@fabrikam.com http://www.sviens.com/purchasing ftp://ftp.sviens.com/public, etc. If the AccessPoint has a custom addressformat, the "other" urlType has to be used. When this value is used, one or more of the tModel signatures found in the tModelInstanceInfo collection must imply that a particual format or transport type is required.

Author:
Steve Viens (sviens@apache.org)
See Also:
Serialized Form

Field Summary
static java.lang.String FAX
          Constant which designates that the AccessPoint url is formatted as a telephone number that will contact a facsimile machine.
static java.lang.String FTP
          Constant which designates that the AccessPoint url is formatted as a writable FTP directory address.
static java.lang.String HTTP
          Constant which designates that the AccessPoint url is formatted as an HTTP compatible Uniform Resource Locator (URL).
static java.lang.String HTTPS
          Constant which designates that the AccessPoint url is formatted as a secure HTTP compatible URL.
static java.lang.String MAILTO
          Constant which designates that the AccessPoint url is formatted as an electronic mail address reference.
static java.lang.String OTHER
          Constant which designates that the AccessPoint is formatted as some other address format.
static java.lang.String PHONE
          Constant which designates that the AccessPoint url is formatted as a telephone number that will connect to a human or suitable voice or tone response based system.
 
Constructor Summary
AccessPoint()
          Constructs a new initialized AccessPoint
AccessPoint(java.lang.String urlType, java.lang.String urlValue)
          Constructs a new AccessPoint for a given urlType and a given urlValue.
 
Method Summary
 java.lang.String getURL()
          Returns the value of this AccessPoint.
 java.lang.String getURLType()
          Returns the type of this AccessPoint.
 void setURL(java.lang.String url)
          Set the url value of this AccessPoint to the given value.
 void setURLType(java.lang.String urlType)
          Set the urlType of this AccessPoint to the given urlType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAILTO

public static final java.lang.String MAILTO
Constant which designates that the AccessPoint url is formatted as an electronic mail address reference.

See Also:
Constant Field Values

HTTP

public static final java.lang.String HTTP
Constant which designates that the AccessPoint url is formatted as an HTTP compatible Uniform Resource Locator (URL).

See Also:
Constant Field Values

HTTPS

public static final java.lang.String HTTPS
Constant which designates that the AccessPoint url is formatted as a secure HTTP compatible URL.

See Also:
Constant Field Values

FTP

public static final java.lang.String FTP
Constant which designates that the AccessPoint url is formatted as a writable FTP directory address.

See Also:
Constant Field Values

FAX

public static final java.lang.String FAX
Constant which designates that the AccessPoint url is formatted as a telephone number that will contact a facsimile machine.

See Also:
Constant Field Values

PHONE

public static final java.lang.String PHONE
Constant which designates that the AccessPoint url is formatted as a telephone number that will connect to a human or suitable voice or tone response based system.

See Also:
Constant Field Values

OTHER

public static final java.lang.String OTHER
Constant which designates that the AccessPoint is formatted as some other address format. When this value is used, one or more of the tModel signatures found in the tModelInstanceInfo collection must imply that a particual format or transport type is required.

See Also:
Constant Field Values
Constructor Detail

AccessPoint

public AccessPoint()
Constructs a new initialized AccessPoint


AccessPoint

public AccessPoint(java.lang.String urlType,
                   java.lang.String urlValue)
Constructs a new AccessPoint for a given urlType and a given urlValue.

Parameters:
urlType - The urlType of the AccessPoint.
urlValue - The value of the AccessPoint url.
Method Detail

setURLType

public void setURLType(java.lang.String urlType)
Set the urlType of this AccessPoint to the given urlType. The urlType cannot be null.

Parameters:
urlType - The new type of the AccessPoint.

setURL

public void setURL(java.lang.String url)
Set the url value of this AccessPoint to the given value. The value cannot be null.

Parameters:
url - The new value of this AccessPoint.

getURL

public java.lang.String getURL()
Returns the value of this AccessPoint.

Returns:
The value of this AccessPoint.

getURLType

public java.lang.String getURLType()
Returns the type of this AccessPoint.

Returns:
The type of this AccessPoint.


Copyright © 2004-2007. All Rights Reserved.