KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > model1 > cci > Segment


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:38:53 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.model1.cci;
14
15 public interface Segment
16   extends
17  org.opencrx.kernel.base.cci.Auditee,
18  org.opencrx.kernel.base.cci.Importer,
19  org.opencrx.kernel.base.cci.SecureObject,
20  org.opencrx.kernel.base.cci.XmlExporter,
21  org.openmdx.base.cci.Segment {
22 // ----------------------------------------------------------------------------
23
// Instance/IntfReferenceGet0_1WithQualifier
24
// ----------------------------------------------------------------------------
25
/**
26    * Retrieves the value for the reference <code>element</code> for the
27    * specified qualifier attribute value.
28    * @param id The value for the qualifier attribute that qualifies this reference.
29    * @return The possibly null value for this reference.
30    * @exception JmiException If the value cannot be retrieved for some reason.
31    */

32   public org.opencrx.kernel.model1.cci.Element getElement(
33     String JavaDoc id
34   );
35
36 // ----------------------------------------------------------------------------
37
// Instance/IntfReferenceGet0_nWithFilter
38
// ----------------------------------------------------------------------------
39
/**
40    * Retrieves a collection containing all the elements for the reference
41    * <code>element</code>.
42    * @return A collection containing all the elements for this reference.
43    * @exception JmiException If the values cannot be retrieved for some reason.
44    */

45   public java.util.Collection JavaDoc getElement(
46   );
47
48   /**
49    * Retrieves the value for the reference <code>element</code> for the
50    * specified filter.
51    * @param filter filter which is applied to the set of referenced objects.
52    * @return The filtered collection of referenced objects.
53    * @exception JmiException If the value cannot be retrieved for some reason.
54    */

55   public java.util.List JavaDoc getElement(
56     org.opencrx.kernel.model1.cci.ElementFilter filter
57   );
58
59 // ----------------------------------------------------------------------------
60
// Instance/IntfReferenceAddWithQualifier
61
// ----------------------------------------------------------------------------
62
/**
63    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
64    * @param newValue The element to be appended.
65    * @exception JmiException If the value cannot be appended for some reason.
66    */

67   public void addElement (
68     String JavaDoc id,
69     org.opencrx.kernel.model1.cci.Element newValue
70   );
71
72 // ----------------------------------------------------------------------------
73
// Instance/IntfReferenceAddWithoutQualifier
74
// ----------------------------------------------------------------------------
75
/**
76    * @param newValue The element to be appended.
77    * @exception JmiException If the value cannot be appended for some reason.
78    */

79   public void addElement (
80     org.opencrx.kernel.model1.cci.Element newValue
81   );
82
83 // ----------------------------------------------------------------------------
84
// Instance/IntfReferenceRemoveWithQualifier
85
// ----------------------------------------------------------------------------
86
/**
87    * @exception JmiException If the value cannot be removed for some reason.
88    */

89   public void removeElement (
90     String JavaDoc id
91   );
92 // ----------------------------------------------------------------------------
93
// Instance/IntfEnd.vm
94
// ----------------------------------------------------------------------------
95
}
96
Popular Tags