KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > address1 > cci > Addressable


1 // ----------------------------------------------------------------------------
2
// Instance/IntfBegin
3
// ----------------------------------------------------------------------------
4
//////////////////////////////////////////////////////////////////////////////
5
//
6
// Name: $Id: JMIAbstractMapper.java,v 1.11 2006/01/21 23:09:07 wfro Exp $
7
// Generated by: openMDX JMI Mapper
8
// Date: Mon Apr 03 11:39:06 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.address1.cci;
14
15 public interface Addressable
16   extends org.openmdx.base.accessor.jmi.cci.RefObject_1_0
17  {
18 // ----------------------------------------------------------------------------
19
// Instance/IntfReferenceGet0_1NoQualifier
20
// ----------------------------------------------------------------------------
21
/**
22    * Retrieves the value for the optional reference <code>building</code>.
23    * @return The possibly null value for this reference.
24    * @exception JmiException If the value cannot be retrieved for some reason.
25    */

26   public org.opencrx.kernel.building1.cci.Building getBuilding(
27   );
28
29 // ----------------------------------------------------------------------------
30
// Instance/IntfReferenceSetNoQualifier
31
// ----------------------------------------------------------------------------
32
/**
33    * Sets a new value for the reference <code>building</code>.
34    * @param newValue The non-null new value for this reference.
35    * @exception JmiException If the value cannot be set for some reason.
36    */

37   public void setBuilding(
38     org.opencrx.kernel.building1.cci.Building newValue
39   );
40
41 // ----------------------------------------------------------------------------
42
// Instance/IntfReferenceRemoveOptional
43
// ----------------------------------------------------------------------------
44
/**
45    * Removes the value for the optional reference <code>building</code>.
46    * @exception JmiException If the value cannot be removed for some reason.
47    */

48   public void removeBuilding (
49   );
50
51 // ----------------------------------------------------------------------------
52
// Instance/IntfAttributeGet1_1
53
// ----------------------------------------------------------------------------
54
/**
55    * Retrieves the value for the attribute <code>isMain</code>.
56    * @return The non-null value for attribute <code>isMain</code>.
57    * @exception JmiException If the value cannot be retrieved for some reason.
58    */

59   public boolean isMain(
60   );
61
62 // ----------------------------------------------------------------------------
63
// Instance/IntfAttributeSet1_1
64
// ----------------------------------------------------------------------------
65
/**
66    * Sets a new value for the attribute <code>isMain</code>.
67    * @param newValue The non-null new value for attribute <code>isMain</code>.
68    * @exception JmiException If the value cannot be set for some reason.
69    */

70   public void setMain(
71     boolean newValue
72   );
73
74 // ----------------------------------------------------------------------------
75
// Instance/IntfAttributeGetList
76
// ----------------------------------------------------------------------------
77
/**
78    * @return A list containing all elements for this attribute.
79    * @exception JmiException If the values cannot be retrieved for some reason.
80    */

81   public java.util.List JavaDoc getUsage(
82   );
83
84   /**
85    * @param index The index of the element to return.
86    * @return The element at the specified position in the list of all values for this attribute.
87    * @exception JmiException If the value cannot be retrieved for some reason.
88    */

89   public short getUsage(
90     int index
91   );
92
93 // ----------------------------------------------------------------------------
94
// Instance/IntfAttributeSetList
95
// ----------------------------------------------------------------------------
96
/**
97    * @param newValue A list containing all the new elements for this attribute.
98    * @exception JmiException If the values cannot be set for some reason.
99    */

100   public void setUsage(
101     java.util.List JavaDoc newValue
102   );
103
104   /**
105    * @param newValue An array containing all the new elements for this attribute.
106    * @exception JmiException If the values cannot be set for some reason.
107    */

108   public void setUsage(
109     short[] newValue
110   );
111
112 // ----------------------------------------------------------------------------
113
// Instance/IntfEnd.vm
114
// ----------------------------------------------------------------------------
115
}
116
Popular Tags