public Object[] getReferentialDetails(Class<?> referentialClass, Object arg) { Object[] details = new Object[4]; if (details[0] == null && referentialClass == FunctionPackage_c.class) { details[0] = FunctionPackage_c.getOneS_FPKOnR932((FunctionPackageParticipant_c) arg); ; details[1] = arg; details[2] = "932"; details[3] = ""; } return details; }
/** * @seee IModelClassInspector#getReferentials(Object) Returns the an array of Role Objects * specifying the referenctial attibutes of this model element Role Name: <T_TPS.NameOnly> * Role Value: <Chain_result> Role Type: "Referential" */ public ObjectElement[] getReferentials(Object arg) { List<ObjectElement> referentials = new ArrayList<ObjectElement>(); Object referential = FunctionPackage_c.getOneS_FPKOnR932((FunctionPackageParticipant_c) arg); referentials.add( new ObjectElement( "referential_Formal_Function_Package", ObjectElement.REFERENTIAL_ATTRIBUTE_ELEMENT, referential, arg, false)); return referentials.toArray(new ObjectElement[referentials.size()]); }