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

This page was automatically generated by Maven