JSIP API v1.2
November 2006

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.

Author:
BEA Systems, NIST

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, hashCode, toString
 

Field Detail

NAME

static final java.lang.String NAME
Name of OrganizationHeader

See Also:
Constant Field Values
Method Detail

setOrganization

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

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

Returns:
organization of OrganizationHeader

JSIP API v1.2
November 2006

If you have any comments, please mail them to JAIN-SIP-INTEREST@java.sun.com after subscribing at http://archives.java.sun.com
Copyright - 2006 BEA Systems and Sun Microsystems