1 package com.bonevich.erj.mof.impl.model;
2 import java.util.*;
3 import java.lang.reflect.*;
4 public class ErjForeignKeyClassImpl extends ru.novosoft.mdf.impl.MDFClassImpl implements com.bonevich.erj.mof.interfaces.model.ForeignKeyClass
5 {
6 public void mdfSetValue(String feature, Object value)
7 {
8 super.mdfSetValue(feature, value);
9 }
10 public Class mdfGetFeatureElementType(String k)
11 {
12 return super.mdfGetFeatureElementType(k);
13 }
14 public Class mdfGetFeatureType(String k)
15 {
16 return super.mdfGetFeatureType(k);
17 }
18 public Object mdfGetValue(String feature)
19 {
20 return super.mdfGetValue( feature );
21 }
22 public void mdfRemoveValue(String feature, Object existingValue)
23 {
24 super.mdfRemoveValue(feature, existingValue);
25 }
26 public ErjForeignKeyClassImpl(ru.novosoft.mdf.impl.MDFOutermostPackageImpl r)
27 {
28 super(r);
29 }
30 public final com.bonevich.erj.mof.interfaces.model.ForeignKey createForeignKey()
31 {
32 return (com.bonevich.erj.mof.interfaces.model.ForeignKey)repository.create(com.bonevich.erj.mof.interfaces.model.ForeignKey.class);
33 }
34 public final com.bonevich.erj.mof.interfaces.model.ForeignKey createForeignKey(String name, String identifier, String description, com.bonevich.erj.mof.interfaces.model.Cardinality cardinality)
35 {
36 com.bonevich.erj.mof.impl.model.ErjForeignKeyImpl o = (com.bonevich.erj.mof.impl.model.ErjForeignKeyImpl)repository.create(com.bonevich.erj.mof.interfaces.model.ForeignKey.class);
37 o.setName(name);
38 o.setIdentifier(identifier);
39 o.setDescription(description);
40 o.setCardinality(cardinality);
41 return o;
42 }
43 public Object refGetValue(javax.jmi.reflect.RefObject feature)
44 {
45 return super.refGetValue(feature);
46 }
47 public Object refGetValue(String feature)
48 {
49 return mdfGetValue(feature);
50 }
51 public void refSetValue(javax.jmi.reflect.RefObject feature, Object value)
52 {
53
54 {
55 super.refSetValue( feature, value );
56 }
57 }
58 public void refSetValue(String feature, Object value)
59 {
60 mdfSetValue(feature, value);
61 }
62 public Object refInvokeOperation(javax.jmi.reflect.RefObject requestedOperation, java.util.List args)
63 {
64 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!");
65 }
66 public Object refInvokeOperation(String requestedOperation, java.util.List args)
67 {
68 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!");
69 }
70 public javax.jmi.reflect.RefObject refCreateInstance(java.util.List args)
71 {
72 if (args == null)
73 {
74 throw new NullPointerException();
75 }
76 if (args.size() == 0)
77 {
78 return createForeignKey();
79 }
80 if (args.size() != 4)
81 {
82 throw new javax.jmi.reflect.WrongSizeException( null );
83 }
84 String name = ((String)args.get(0));
85 String identifier = ((String)args.get(1));
86 String description = ((String)args.get(2));
87 com.bonevich.erj.mof.interfaces.model.Cardinality cardinality = ((com.bonevich.erj.mof.interfaces.model.Cardinality)args.get(3));
88 return createForeignKey(name, identifier, description, cardinality);
89 }
90 public javax.jmi.reflect.RefStruct refCreateStruct(String structName, java.util.List args)
91 {
92 if (structName == null)
93 {
94 throw new NullPointerException();
95 }
96 throw new javax.jmi.reflect.TypeMismatchException(null, null, null);
97 }
98 public javax.jmi.reflect.RefStruct refCreateStruct(javax.jmi.reflect.RefObject dataType, java.util.List args)
99 {
100 if (dataType == null)
101 {
102 throw new NullPointerException();
103 }
104 throw new javax.jmi.reflect.TypeMismatchException(null, null, null);
105 }
106 public javax.jmi.reflect.RefEnum refCreateEnum( String enumName, String literalName)
107 {
108 if (enumName == null)
109 {
110 throw new NullPointerException();
111 }
112 throw new javax.jmi.reflect.TypeMismatchException(null, null, null);
113 }
114 public javax.jmi.reflect.RefEnum refCreateEnum(javax.jmi.reflect.RefObject metaEnum, String literalName)
115 {
116 if (metaEnum == null)
117 {
118 throw new NullPointerException();
119 }
120 throw new javax.jmi.reflect.TypeMismatchException(null, null, null);
121 }
122 private com.bonevich.erj.mof.interfaces.model.ErjInfoModelPackage mdfOutermostPackage = null;
123 public javax.jmi.reflect.RefPackage refOutermostPackage()
124 {
125 if (mdfOutermostPackage == null)
126 {
127 mdfOutermostPackage = (com.bonevich.erj.mof.interfaces.model.ErjInfoModelPackage)repository.getMetaObject(com.bonevich.erj.mof.interfaces.model.ErjInfoModelPackage.class);
128 }
129 return mdfOutermostPackage;
130 }
131 private com.bonevich.erj.mof.interfaces.model.ErjInfoModelPackage mdfImmediatePackage = null;
132 public javax.jmi.reflect.RefPackage refImmediatePackage()
133 {
134 if (mdfImmediatePackage == null)
135 {
136 mdfImmediatePackage = (com.bonevich.erj.mof.interfaces.model.ErjInfoModelPackage)repository.getMetaObject(com.bonevich.erj.mof.interfaces.model.ErjInfoModelPackage.class);
137 }
138 return mdfImmediatePackage;
139 }
140 public String mdfGetMofName()
141 {
142 return "ForeignKey";
143 }
144 public String refMofId()
145 {
146 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!");
147 }
148 public Class mdfGetInstanceInterfaceClass()
149 {
150 return com.bonevich.erj.mof.interfaces.model.ForeignKey.class;
151 }
152 public void mdfAddValueBefore(String s, Object obj, Object obj1)
153 {
154 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!");
155 }
156 public void mdfModifyValue(String s, Object obj, Object obj1)
157 {
158 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!");
159 }
160 public Object mdfInvokeOperation(String s, java.util.List args)
161 {
162 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!");
163 }
164 public Class mdfGetInterfaceClass()
165 {
166 return com.bonevich.erj.mof.interfaces.model.ForeignKeyClass.class;
167 }
168 private java.util.Collection allOfType__ = null;
169 public java.util.Collection refAllOfType()
170 {
171 if (allOfType__ == null)
172 {
173 java.util.List proxies = new java.util.ArrayList();
174 proxies.add( repository.getMetaObject( com.bonevich.erj.mof.interfaces.model.ForeignKeyClass.class) );
175 allOfType__ = new ru.novosoft.mdf.impl.MDFAllTypeCollection( proxies );
176 }
177 return allOfType__;
178 }
179 }
This page was automatically generated by Maven