01: /**
02: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
03: * Unpublished - rights reserved under the Copyright Laws of the United States.
04: * Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
05: * Copyright © 2005 BEA Systems, Inc. All rights reserved.
06: *
07: * Use is subject to license terms.
08: *
09: * This distribution may include materials developed by third parties.
10: *
11: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12: *
13: * Module Name : JSIP Specification
14: * File Name : OrganizationHeader.java
15: * Author : Phelim O'Doherty
16: *
17: * HISTORY
18: * Version Date Author Comments
19: * 1.1 08/10/2002 Phelim O'Doherty
20: *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21: */package javax.sip.header;
22:
23: import java.text.ParseException;
24:
25: /**
26:
27: * The OrganizationHeader conveys the name of the organization to which the
28:
29: * entity issuing the Request or Response belongs. It may be used by client
30:
31: * software to filter calls.
32:
33: *
34:
35: * @author BEA Systems, NIST
36: * @version 1.2
37:
38: */
39:
40: public interface OrganizationHeader extends Header {
41:
42: /**
43:
44: * Sets the organization value of the OrganizationHeader to the
45:
46: * organization parameter supplied.
47:
48: *
49:
50: * @param organization - the new string organization value
51:
52: * @throws ParseException which signals that an error has been reached
53:
54: * unexpectedly while parsing the organization value.
55:
56: */
57:
58: public void setOrganization(String organization)
59: throws ParseException;
60:
61: /**
62:
63: * Gets the organization value of OrganizationHeader.
64:
65: *
66:
67: * @return organization of OrganizationHeader
68:
69: */
70:
71: public String getOrganization();
72:
73: /**
74:
75: * Name of OrganizationHeader
76:
77: */
78:
79: public final static String NAME = "Organization";
80:
81: }
|