biz.janux.people.net
Interface Uri

All Superinterfaces:
Cloneable, ContactMethod, Persistent, Serializable
All Known Subinterfaces:
Email, Url

public interface Uri
extends ContactMethod

sub-interface of ContactMethod that generically represents an electronic address or Uniform Resource Identifier; this interface provides a string 'address' that can be used to persist a string representation of the URI, and a getUri method that parses the string and returns a java.net.URI instance


Field Summary
 
Fields inherited from interface org.janux.bus.persistence.Persistent
UNSAVED_ID
 
Method Summary
 String getAddress()
          the string representation of this Uniform Resource Identifier
 URI getUri()
          the java language representation of this Uniform Resource Identifier
 void setAddress(String s)
           
 
Methods inherited from interface biz.janux.people.ContactMethod
clone
 
Methods inherited from interface org.janux.bus.persistence.Persistent
getId, setId
 

Method Detail

getAddress

String getAddress()
the string representation of this Uniform Resource Identifier


setAddress

void setAddress(String s)

getUri

URI getUri()
           throws URISyntaxException
the java language representation of this Uniform Resource Identifier

Throws:
URISyntaxException


Copyright © 2005-2013 Janux. All Rights Reserved.