KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > security > realm1 > cci > PrincipalGroupClassImpl


1 // ----------------------------------------------------------------------------
2
// ClassProxy/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:38:56 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.security.realm1.cci;
14
15 public class PrincipalGroupClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements PrincipalGroupClass {
18
19   public PrincipalGroupClassImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage
21   ) {
22     super(refPackage);
23   }
24
25   public String JavaDoc refMofId(
26   ) {
27     return "org:opencrx:security:realm1:PrincipalGroup";
28   }
29
30   public PrincipalGroup getPrincipalGroup(
31     Object JavaDoc object
32   ) {
33     try {
34       if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) {
35         java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
36         args.add(object);
37         PrincipalGroup target = (PrincipalGroup)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (PrincipalGroup)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject(
43           object instanceof org.openmdx.compatibility.base.naming.Path
44             ? ((org.openmdx.compatibility.base.naming.Path)object).toXri()
45             : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri()
46         );
47       }
48     }
49     catch(org.openmdx.base.exception.ServiceException e) {
50         throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e);
51     }
52   }
53
54   public PrincipalGroup createPrincipalGroup(
55   ) {
56     PrincipalGroup target = (PrincipalGroup)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public PrincipalGroup createPrincipalGroup(
65       boolean disabled
66     , org.openmdx.security.realm1.cci.Subject subject
67   ) {
68     PrincipalGroupImpl _object = (PrincipalGroupImpl)createPrincipalGroup();
69     _object.setDisabled(disabled);
70     _object.setSubject(subject);
71     return _object;
72   }
73
74 // ----------------------------------------------------------------------------
75
// ClassProxy/ImplInstanceExtenderRequiredAttributes
76
// ----------------------------------------------------------------------------
77
public PrincipalGroup extendPrincipalGroup(
78       org.opencrx.kernel.base.cci.PrincipalGroup _base
79     , boolean disabled
80     , org.openmdx.security.realm1.cci.Subject subject
81   ) {
82     PrincipalGroupImpl _object = (PrincipalGroupImpl)getPrincipalGroup(_base);
83     _object.setDisabled(disabled);
84     _object.setSubject(subject);
85     return _object;
86   }
87
88 // ----------------------------------------------------------------------------
89
// ClassProxy/ImplInstanceExtenderRequiredAttributes
90
// ----------------------------------------------------------------------------
91
public PrincipalGroup extendBasicObject(
92       org.openmdx.base.cci.BasicObject _base
93     , boolean disabled
94     , org.openmdx.security.realm1.cci.Subject subject
95   ) {
96     PrincipalGroupImpl _object = (PrincipalGroupImpl)getPrincipalGroup(_base);
97     _object.setDisabled(disabled);
98     _object.setSubject(subject);
99     return _object;
100   }
101
102 // ----------------------------------------------------------------------------
103
// ClassProxy/ImplInstanceExtenderRequiredAttributes
104
// ----------------------------------------------------------------------------
105
public PrincipalGroup extendContextCapable(
106       org.openmdx.base.cci.ContextCapable _base
107     , boolean disabled
108     , org.openmdx.security.realm1.cci.Subject subject
109   ) {
110     PrincipalGroupImpl _object = (PrincipalGroupImpl)getPrincipalGroup(_base);
111     _object.setDisabled(disabled);
112     _object.setSubject(subject);
113     return _object;
114   }
115
116 // ----------------------------------------------------------------------------
117
// ClassProxy/ImplInstanceExtenderRequiredAttributes
118
// ----------------------------------------------------------------------------
119
public PrincipalGroup extendExtentCapable(
120       org.openmdx.base.cci.ExtentCapable _base
121     , boolean disabled
122     , org.openmdx.security.realm1.cci.Subject subject
123   ) {
124     PrincipalGroupImpl _object = (PrincipalGroupImpl)getPrincipalGroup(_base);
125     _object.setDisabled(disabled);
126     _object.setSubject(subject);
127     return _object;
128   }
129
130 // ----------------------------------------------------------------------------
131
// ClassProxy/ImplInstanceExtenderRequiredAttributes
132
// ----------------------------------------------------------------------------
133
public PrincipalGroup extendViewCapable(
134       org.openmdx.compatibility.view1.cci.ViewCapable _base
135     , boolean disabled
136     , org.openmdx.security.realm1.cci.Subject subject
137   ) {
138     PrincipalGroupImpl _object = (PrincipalGroupImpl)getPrincipalGroup(_base);
139     _object.setDisabled(disabled);
140     _object.setSubject(subject);
141     return _object;
142   }
143
144 // ----------------------------------------------------------------------------
145
// ClassProxy/ImplEnd.vm
146
// ----------------------------------------------------------------------------
147
}
148
Popular Tags