public Description describe() { String defined_in_id = "IR"; if (defined_in instanceof ContainedOperations) defined_in_id = ((ContainedOperations) defined_in).id(); AttributeDescription d = new AttributeDescription(name, id, defined_in_id, version, typeCode, mode); Any any = getORB().create_any(); AttributeDescriptionHelper.insert(any, d); return new Description(DefinitionKind.dk_Attribute, any); }
public void allDone() throws IRConstructionException { // Get my type definition: It should have been created now. type_def = IDLTypeImpl.getIDLType(typeCode, repository); getReference(); }
public IRObject getReference() { if (ref == null) { ref = org.omg.CORBA.AttributeDefHelper.narrow( servantToReference(new AttributeDefPOATie(this))); } return ref; }
/** * Add a set of attributes to a container (interface or value class). */ private void addAttributes(LocalContainer container, ContainerAnalysis ca) throws RMIIIOPViolationException, IRConstructionException { AttributeAnalysis[] attrs = ca.getAttributes(); for (int i = 0; i < attrs.length; ++i) { AttributeDefImpl aDef; String aid = ca.getMemberRepositoryId(attrs[i].getJavaName()); String aName = attrs[i].getIDLName(); Class cls = attrs[i].getCls(); TypeCode typeCode = getTypeCode(cls); aDef = new AttributeDefImpl(aid, aName, "1.0", attrs[i].getMode(), typeCode, container, impl); container.add(aName, aDef); } }
/** * Add a set of attributes to a container (interface or value class). */ private void addAttributes(LocalContainer container, ContainerAnalysis ca) throws RMIIIOPViolationException, IRConstructionException { AttributeAnalysis[] attrs = ca.getAttributes(); for (int i = 0; i < attrs.length; ++i) { AttributeDefImpl aDef; String aid = ca.getMemberRepositoryId(attrs[i].getJavaName()); String aName = attrs[i].getIDLName(); Class cls = attrs[i].getCls(); TypeCode typeCode = getTypeCode(cls); aDef = new AttributeDefImpl(aid, aName, "1.0", attrs[i].getMode(), typeCode, container, impl); container.add(aName, aDef); } }
public Description describe() { String defined_in_id = "IR"; if (defined_in instanceof ContainedOperations) defined_in_id = ((ContainedOperations) defined_in).id(); AttributeDescription d = new AttributeDescription(name, id, defined_in_id, version, typeCode, mode); Any any = getORB().create_any(); AttributeDescriptionHelper.insert(any, d); return new Description(DefinitionKind.dk_Attribute, any); }
public void allDone() throws IRConstructionException { // Get my type definition: It should have been created now. type_def = IDLTypeImpl.getIDLType(typeCode, repository); getReference(); }
public IRObject getReference() { if (ref == null) { ref = org.omg.CORBA.AttributeDefHelper.narrow( servantToReference(new AttributeDefPOATie(this))); } return ref; }
/** * Add a set of attributes to a container (interface or value class). */ private void addAttributes(LocalContainer container, ContainerAnalysis ca) throws RMIIIOPViolationException, IRConstructionException { AttributeAnalysis[] attrs = ca.getAttributes(); for (int i = 0; i < attrs.length; ++i) { AttributeDefImpl aDef; String aid = ca.getMemberRepositoryId(attrs[i].getJavaName()); String aName = attrs[i].getIDLName(); Class cls = attrs[i].getCls(); TypeCode typeCode = getTypeCode(cls); aDef = new AttributeDefImpl(aid, aName, "1.0", attrs[i].getMode(), typeCode, container, impl); container.add(aName, aDef); } }
public Description describe() { String defined_in_id = "IR"; if (defined_in instanceof ContainedOperations) defined_in_id = ((ContainedOperations) defined_in).id(); AttributeDescription d = new AttributeDescription(name, id, defined_in_id, version, typeCode, mode); Any any = getORB().create_any(); AttributeDescriptionHelper.insert(any, d); return new Description(DefinitionKind.dk_Attribute, any); }
public void allDone() throws IRConstructionException { // Get my type definition: It should have been created now. type_def = IDLTypeImpl.getIDLType(typeCode, repository); getReference(); }
public IRObject getReference() { if (ref == null) { ref = org.omg.CORBA.AttributeDefHelper.narrow( servantToReference(new AttributeDefPOATie(this))); } return ref; }