Package org.apache.schemas.yoko.bindings.corba

Examples of org.apache.schemas.yoko.bindings.corba.Alias


        getSchema().getItems().add(simpleType);
        getSchema().addType(simpleType);
       
       
        // corba:alias
        Alias alias = new Alias();
        alias.setQName(new QName(typeMap.getTargetNamespace(), typeNameNode.toString()));
        alias.setBasetype(TypesUtils.findCorbaType(typeMap, type.getQName()).getQName());
        alias.setType(type.getQName());
        alias.setRepositoryID(CorbaConstants.REPO_STRING
                              + typeNameNode.toString()
                              + CorbaConstants.IDL_VERSION);
       
        // add corba:alias
        typeMap.getStructOrExceptionOrUnion().add(alias);
View Full Code Here


        TypeCode tc = null;
       
        // Split all of these up into separate get*** methods.  One big method will not satisfy checkstyle
        // rules
        if (obj instanceof Alias) {
            Alias aliasType = (Alias)obj;
            tc = orb.create_alias_tc(aliasType.getRepositoryID(),
                                     aliasType.getName(),
                                     getTypeCode(orb, aliasType.getBasetype(), typeMaps));
        } else if (obj instanceof Anonarray) {
            Anonarray anonArrayType = (Anonarray)obj;
            tc = orb.create_array_tc((int) anonArrayType.getBound(),
                                     getTypeCode(orb, anonArrayType.getElemtype(), typeMaps));
        } else if (obj instanceof Anonfixed) {
View Full Code Here

TOP

Related Classes of org.apache.schemas.yoko.bindings.corba.Alias

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.