1 package com.bonevich.erj.mof.impl.model;
2 import java.lang.reflect.Method;
3 import java.util.*;
4
5 public class ErjUniqueKeyImpl extends com.bonevich.erj.mof.impl.model.ErjKeyConstraintImpl implements com.bonevich.erj.mof.interfaces.model.UniqueKey
6 {
7 public ErjUniqueKeyImpl(ru.novosoft.mdf.impl.MDFOutermostPackageImpl r)
8 {
9 super(r);
10 }
11 protected void mdfReplaceData( ru.novosoft.mdf.ext.MDFObject srcarg, Class base)
12 {
13 super.mdfReplaceData(srcarg, base);
14 if (srcarg instanceof com.bonevich.erj.mof.interfaces.model.UniqueKey && com.bonevich.erj.mof.interfaces.model.UniqueKey.class.isAssignableFrom(base))
15 {
16 com.bonevich.erj.mof.impl.model.ErjUniqueKeyImpl src = (com.bonevich.erj.mof.impl.model.ErjUniqueKeyImpl)srcarg;
17 }
18 }
19 // implementing: com.bonevich.erj.mof.interfaces.model.UniqueKey
20 public Set mdfGetElementContents()
21 {
22 Set ret = super.mdfGetElementContents();
23 ret.remove( null );
24 return ret;
25 }
26 public Class mdfGetInterfaceClass()
27 {
28 return com.bonevich.erj.mof.interfaces.model.UniqueKey.class;
29 }
30 protected void cleanup()
31 {
32 super.cleanup();
33 }
34 public void canBeElementAdded( ru.novosoft.mdf.impl.MDFListImpl list, int collectionId, Object newElement )
35 {
36 switch( collectionId )
37 {
38 default: super.canBeElementAdded( list, collectionId, newElement );
39 }
40 }
41 public void elementAdded( ru.novosoft.mdf.impl.MDFListImpl list, int collectionId, int position, Object newElement )
42 {
43 switch( collectionId )
44 {
45 default: super.elementAdded( list, collectionId, position, newElement );
46 }
47 }
48 public void elementRemoved( ru.novosoft.mdf.impl.MDFListImpl list, int collectionId, int position, Object removedObject )
49 {
50 switch( collectionId )
51 {
52 default: super.elementRemoved( list, collectionId, position, removedObject );
53 }
54 }
55 public void mdfSetValue(String feature, Object value)
56 {
57 super.mdfSetValue(feature, value);
58 }
59 public Class mdfGetFeatureElementType(String k)
60 {
61 return super.mdfGetFeatureElementType(k);
62 }
63 public Class mdfGetFeatureType(String k)
64 {
65 return super.mdfGetFeatureType(k);
66 }
67 public Object mdfGetValue(String feature)
68 {
69 return super.mdfGetValue( feature );
70 }
71 public void mdfRemoveValue(String feature, Object existingValue)
72 {
73 super.mdfRemoveValue(feature, existingValue);
74 }
75 public Object refGetValue(javax.jmi.reflect.RefObject feature)
76 {
77 return super.refGetValue(feature);
78 }
79 public Object refGetValue(String feature)
80 {
81 return mdfGetValue(feature);
82 }
83 public void refSetValue(javax.jmi.reflect.RefObject feature, Object value)
84 {
85
86 {
87 super.refSetValue( feature, value );
88 }
89 }
90 public void refSetValue(String feature, Object value)
91 {
92 mdfSetValue(feature, value);
93 }
94 public Object refInvokeOperation(javax.jmi.reflect.RefObject requestedOperation, java.util.List args)
95 {
96 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!");
97 }
98 public Object refInvokeOperation(String requestedOperation, java.util.List args)
99 {
100 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!");
101 }
102 public javax.jmi.reflect.RefObject refMetaObject()
103 {
104 return refGetClass().refMetaObject();
105 }
106 public javax.jmi.reflect.RefPackage refImmediatePackage()
107 {
108 return refGetClass().refImmediatePackage();
109 }
110 public javax.jmi.reflect.RefPackage refOutermostPackage()
111 {
112 return refGetClass().refOutermostPackage();
113 }
114 public String refMofId()
115 {
116 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!");
117 }
118 private ru.novosoft.mdf.ext.MDFClass thisCls = null;
119 public javax.jmi.reflect.RefClass refGetClass()
120 {
121 if (thisCls == null)
122 {
123 thisCls = (ru.novosoft.mdf.ext.MDFClass)repository.getMetaObject( com.bonevich.erj.mof.interfaces.model.UniqueKeyClass.class );
124 }
125 return thisCls;
126 }
127 public java.util.Collection refVerify( boolean f )
128 {
129 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!");
130 }
131 public java.util.List internalGetOppositeCollection( int collectionId, Object o )
132 {
133 switch( collectionId )
134 {
135 }
136 return super.internalGetOppositeCollection( collectionId, o );
137 }
138 }
This page was automatically generated by Maven