KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > generic > cci > PicturedImpl


1 // ----------------------------------------------------------------------------
2
// Instance/ImplBegin
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:05 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.generic.cci;
14
15 public class PicturedImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements Pictured {
18
19   public PicturedImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplReferenceGet0_1NoQualifier
28
// ----------------------------------------------------------------------------
29
public org.opencrx.kernel.document1.cci.Media getPicture(
30   ) {
31     return (org.opencrx.kernel.document1.cci.Media)refGetValue(
32       "org:opencrx:kernel:generic:Pictured:picture"
33     );
34   }
35
36 // ----------------------------------------------------------------------------
37
// Instance/ImplReferenceSetNoQualifier
38
// ----------------------------------------------------------------------------
39
public void setPicture(
40     org.opencrx.kernel.document1.cci.Media newValue
41   ) {
42     refSetValue(
43       "org:opencrx:kernel:generic:Pictured:picture",
44       newValue
45     );
46   }
47
48 // ----------------------------------------------------------------------------
49
// Instance/ImplReferenceRemoveOptional
50
// ----------------------------------------------------------------------------
51
public void removePicture (
52   ) {
53     refRemoveValue(
54       "org:opencrx:kernel:generic:Pictured:picture"
55     );
56   }
57 // ----------------------------------------------------------------------------
58
// Instance/ImplAttributeGet0_1
59
// ----------------------------------------------------------------------------
60
public byte[] getPictureContent (
61   ) {
62     return (byte[])this.refGetValue("pictureContent", 0);
63   }
64 // ----------------------------------------------------------------------------
65
// Instance/ImplAttributeSet0_1
66
// ----------------------------------------------------------------------------
67
protected void setPictureContent(
68     byte[] newValue
69   ) {
70     refSetValue("org:opencrx:kernel:generic:Pictured:pictureContent", 0, newValue);
71   }
72
73 // ----------------------------------------------------------------------------
74
// Instance/ImplAttributeGet0_1
75
// ----------------------------------------------------------------------------
76
public String JavaDoc getPictureContentMimeType (
77   ) {
78     return (String JavaDoc)this.refGetValue("pictureContentMimeType", 0);
79   }
80 // ----------------------------------------------------------------------------
81
// Instance/ImplAttributeSet0_1
82
// ----------------------------------------------------------------------------
83
protected void setPictureContentMimeType(
84     String JavaDoc newValue
85   ) {
86     refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentMimeType", 0, newValue);
87   }
88
89 // ----------------------------------------------------------------------------
90
// Instance/ImplAttributeGet0_1
91
// ----------------------------------------------------------------------------
92
public String JavaDoc getPictureContentName (
93   ) {
94     return (String JavaDoc)this.refGetValue("pictureContentName", 0);
95   }
96 // ----------------------------------------------------------------------------
97
// Instance/ImplAttributeSet0_1
98
// ----------------------------------------------------------------------------
99
protected void setPictureContentName(
100     String JavaDoc newValue
101   ) {
102     refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentName", 0, newValue);
103   }
104
105 // ----------------------------------------------------------------------------
106
// Instance/ImplEnd
107
// ----------------------------------------------------------------------------
108
}
109
Popular Tags