|
1 <?php |
|
2 /** |
|
3 * Zend Framework |
|
4 * |
|
5 * LICENSE |
|
6 * |
|
7 * This source file is subject to the new BSD license that is bundled |
|
8 * with this package in the file LICENSE.txt. |
|
9 * It is also available through the world-wide-web at this URL: |
|
10 * http://framework.zend.com/license/new-bsd |
|
11 * If you did not receive a copy of the license and are unable to |
|
12 * obtain it through the world-wide-web, please send an email |
|
13 * to license@zend.com so we can send you a copy immediately. |
|
14 * |
|
15 * @category Zend |
|
16 * @package Zend_Ldap |
|
17 * @subpackage Schema |
|
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
20 * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $ |
|
21 */ |
|
22 |
|
23 /** |
|
24 * Zend_Ldap_Node_Schema_ObjectClass_Interface provides a contract for schema objectClasses. |
|
25 * |
|
26 * @category Zend |
|
27 * @package Zend_Ldap |
|
28 * @subpackage Schema |
|
29 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
30 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
31 */ |
|
32 interface Zend_Ldap_Node_Schema_ObjectClass_Interface |
|
33 { |
|
34 /** |
|
35 * Gets the objectClass name |
|
36 * |
|
37 * @return string |
|
38 */ |
|
39 public function getName(); |
|
40 |
|
41 /** |
|
42 * Gets the objectClass OID |
|
43 * |
|
44 * @return string |
|
45 */ |
|
46 public function getOid(); |
|
47 |
|
48 /** |
|
49 * Gets the attributes that this objectClass must contain |
|
50 * |
|
51 * @return array |
|
52 */ |
|
53 public function getMustContain(); |
|
54 |
|
55 /** |
|
56 * Gets the attributes that this objectClass may contain |
|
57 * |
|
58 * @return array |
|
59 */ |
|
60 public function getMayContain(); |
|
61 |
|
62 /** |
|
63 * Gets the objectClass description |
|
64 * |
|
65 * @return string |
|
66 */ |
|
67 public function getDescription(); |
|
68 |
|
69 /** |
|
70 * Gets the objectClass type |
|
71 * |
|
72 * @return integer |
|
73 */ |
|
74 public function getType(); |
|
75 |
|
76 /** |
|
77 * Returns the parent objectClasses of this class. |
|
78 * This includes structural, abstract and auxiliary objectClasses |
|
79 * |
|
80 * @return array |
|
81 */ |
|
82 public function getParentClasses(); |
|
83 } |