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

This page was automatically generated by Maven