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