ca.infoway.messagebuilder.domainvalue.basic
Class URLScheme

Package class diagram package URLScheme
java.lang.Object
  extended by ca.infoway.messagebuilder.lang.Enum
      extended by ca.infoway.messagebuilder.lang.EnumPattern
          extended by ca.infoway.messagebuilder.domainvalue.basic.URLScheme
All Implemented Interfaces:
Code, Describable, URLScheme, Serializable, Comparable

public class URLScheme
extends EnumPattern
implements URLScheme, Describable

An enum representing all the valid and applicable URL types used within MessageBuilder.

Author:
Intelliware Development
See Also:
Serialized Form

Field Summary
static URLScheme FAX
           
static URLScheme FILE
           
static URLScheme FTP
           
static URLScheme HTTP
           
static URLScheme HTTPS
           
static URLScheme MAILTO
           
static URLScheme MLLP
           
static URLScheme MODEM
           
static URLScheme NFS
           
static URLScheme TEL
           
static URLScheme TELNET
           
 
Fields inherited from class ca.infoway.messagebuilder.lang.Enum
INNER_CLASS_SEPARATOR_CHAR, iToString, PACKAGE_SEPARATOR_CHAR
 
Method Summary
 String getCodeSystem()
          Returns the code system for the URL.
 String getCodeValue()
          Returns the value (protocol) for the URL.
 String getDescription()
          A description of the URL.
static List<URLScheme> getPhoneSchemes()
          Returns a list of enums applicable for "phone".
 
Methods inherited from class ca.infoway.messagebuilder.lang.EnumPattern
getEnumConstants, isEnum, name, toString, valueOf, values
 
Methods inherited from class ca.infoway.messagebuilder.lang.Enum
compareTo, equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, getShortClassName, getShortClassName, hashCode, iterator, readResolve
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FTP

public static final URLScheme FTP

FAX

public static final URLScheme FAX

FILE

public static final URLScheme FILE

HTTP

public static final URLScheme HTTP

HTTPS

public static final URLScheme HTTPS

MLLP

public static final URLScheme MLLP

MAILTO

public static final URLScheme MAILTO

MODEM

public static final URLScheme MODEM

NFS

public static final URLScheme NFS

TEL

public static final URLScheme TEL

TELNET

public static final URLScheme TELNET
Method Detail

getCodeSystem

public String getCodeSystem()

Returns the code system for the URL.

Specified by:
getCodeSystem in interface Code
Returns:
the code system for the URL

getCodeValue

public String getCodeValue()

Returns the value (protocol) for the URL.

Specified by:
getCodeValue in interface Code
Returns:
the value (protocol) for the URL.

getDescription

public String getDescription()

A description of the URL.

Specified by:
getDescription in interface Describable
Returns:
the URL description

getPhoneSchemes

public static List<URLScheme> getPhoneSchemes()

Returns a list of enums applicable for "phone".

Returns:
URLs applicable for phone


Copyright © 2013. All Rights Reserved.