JAIN SIP API
v1.1 - 23rd June 2003

javax.sip.header
Interface OrganizationHeader

All Superinterfaces:
java.lang.Cloneable, Header, java.io.Serializable

public interface OrganizationHeader
extends Header

The OrganizationHeader conveys the name of the organization to which the entity issuing the Request or Response belongs. It may be used by client software to filter calls.


Field Summary
static java.lang.String NAME
          Name of OrganizationHeader
 
Method Summary
 java.lang.String getOrganization()
          Gets the organization value of OrganizationHeader.
 void setOrganization(java.lang.String organization)
          Sets the organization value of the OrganizationHeader to the organization parameter supplied.
 
Methods inherited from interface javax.sip.header.Header
clone, equals, getName, toString
 

Field Detail

NAME

public static final java.lang.String NAME
Name of OrganizationHeader

See Also:
Constant Field Values
Method Detail

setOrganization

public void setOrganization(java.lang.String organization)
                     throws java.text.ParseException
Sets the organization value of the OrganizationHeader to the organization parameter supplied.

Parameters:
organization - - the new string organization value
Throws:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the organization value.

getOrganization

public java.lang.String getOrganization()
Gets the organization value of OrganizationHeader.

Returns:
organization of OrganizationHeader

JAIN SIP API
v1.1 - 23rd June 2003

If you have any comments, please mail them to JAIN-SIP-INTEREST@java.sun.com after subscribing to the
JAIN-SIP-Interest list at http://archives.java.sun.com
Copyright - 2003 Sun Microsystems