Package org.omg.CORBA

Examples of org.omg.CORBA.ValueDef


        // Resolve abstract base valuetypes
        abstract_base_valuetypes_ref =
                new ValueDef[abstract_base_valuetypes.length];
        for (int i = 0; i < abstract_base_valuetypes.length; ++i) {
            ValueDef vDef = ValueDefHelper.narrow(
                    repository.lookup_id(abstract_base_valuetypes[i]));
            if (vDef == null)
                throw JacORBMessages.MESSAGES.errorResolvingRefToAbstractValuetype(id(), abstract_base_valuetypes[i]);
            abstract_base_valuetypes_ref[i] = vDef;
        }
View Full Code Here


     if this base value has no base value.
     */
    public Value getBaseValue()
    {
    if (!lookedUpBaseValue) {
            ValueDef valueDef = ValueDefHelper.narrow((org.omg.CORBA.Object)irObject);
            ValueDef base = valueDef.base_value();
            if (base != null)
                baseValue = (Value)RemoteTypeSystem.createTypeSystemNode(base);
            lookedUpBaseValue = true;
    }
    return baseValue;
View Full Code Here

     *  Return the abstract base values of this value.
     */
    public Value[] getAbstractBaseValues()
    {
    if (abstractBaseValues == null) {
            ValueDef valueDef = ValueDefHelper.narrow((org.omg.CORBA.Object)irObject);
            ValueDef[] abstractBases = valueDef.abstract_base_values();
            abstractBaseValues = new Value[abstractBases.length];
            for (int i = 0; i < abstractBases.length; ++i)
                abstractBaseValues[i] = (Value)RemoteTypeSystem.createTypeSystemNode(abstractBases[i]);
    }
    return abstractBaseValues;
View Full Code Here

     */
    public Interface[] getInterfaces()
    {
    if (interfaces==null) {
            // interfaces in unserem dazugehörigen Field speichern
            ValueDef valueDef = ValueDefHelper.narrow((org.omg.CORBA.Object)irObject);
            InterfaceDef[] supportedInterfaces = valueDef.supported_interfaces();
            interfaces = new IRInterface[supportedInterfaces.length];
            for (int i=0; i<supportedInterfaces.length; i++) {
                // für alle base interfaces die zugehörige TypeSystemNode holen
                IRInterface intf = (IRInterface)RemoteTypeSystem.createTypeSystemNode(supportedInterfaces[i]);
                interfaces[i] = intf;
View Full Code Here

        // Resolve abstract base valuetypes
        abstract_base_valuetypes_ref =
                new ValueDef[abstract_base_valuetypes.length];
        for (int i = 0; i < abstract_base_valuetypes.length; ++i) {
            ValueDef vDef = ValueDefHelper.narrow(
                    repository.lookup_id(abstract_base_valuetypes[i]));
            if (vDef == null)
                throw JacORBLogger.ROOT_LOGGER.errorResolvingRefToAbstractValuetype(id(), abstract_base_valuetypes[i]);
            abstract_base_valuetypes_ref[i] = vDef;
        }
View Full Code Here

      // Resolve abstract base valuetypes
      abstract_base_valuetypes_ref =
         new ValueDef[abstract_base_valuetypes.length];
      for (int i = 0; i < abstract_base_valuetypes.length; ++i) {
         ValueDef vDef = ValueDefHelper.narrow(
                            repository.lookup_id(abstract_base_valuetypes[i]));
         if (vDef == null)
            throw new IRConstructionException(
                         "ValueDef \"" + id() + "\" unable to resolve " +
                         "reference to abstract base valuetype \"" +
View Full Code Here

/*     */     }
/*     */
/* 196 */     this.abstract_base_valuetypes_ref = new ValueDef[this.abstract_base_valuetypes.length];
/*     */
/* 198 */     for (int i = 0; i < this.abstract_base_valuetypes.length; i++) {
/* 199 */       ValueDef vDef = ValueDefHelper.narrow(this.repository.lookup_id(this.abstract_base_valuetypes[i]));
/*     */
/* 201 */       if (vDef == null) {
/* 202 */         throw new IRConstructionException("ValueDef \"" + id() + "\" unable to resolve " + "reference to abstract base valuetype \"" + this.abstract_base_valuetypes[i] + "\".");
/*     */       }
/*     */
View Full Code Here

     if this base value has no base value.
     */
    public Value getBaseValue()
    {
    if (!lookedUpBaseValue) {
            ValueDef valueDef = ValueDefHelper.narrow(irObject);
            ValueDef base = valueDef.base_value();
            if (base != null)
                baseValue = (Value)RemoteTypeSystem.createTypeSystemNode(base);
            lookedUpBaseValue = true;
    }
    return baseValue;
View Full Code Here

     *  Return the abstract base values of this value.
     */
    public Value[] getAbstractBaseValues()
    {
    if (abstractBaseValues == null) {
            ValueDef valueDef = ValueDefHelper.narrow(irObject);
            ValueDef[] abstractBases = valueDef.abstract_base_values();
            abstractBaseValues = new Value[abstractBases.length];
            for (int i = 0; i < abstractBases.length; ++i)
                abstractBaseValues[i] = (Value)RemoteTypeSystem.createTypeSystemNode(abstractBases[i]);
    }
    return abstractBaseValues;
View Full Code Here

     */
    public Interface[] getInterfaces()
    {
    if (interfaces==null) {
            // store interfaces in our corresponding field
            ValueDef valueDef = ValueDefHelper.narrow(irObject);
            InterfaceDef[] supportedInterfaces = valueDef.supported_interfaces();
            interfaces = new IRInterface[supportedInterfaces.length];
            for (int i=0; i<supportedInterfaces.length; i++) {
                // for each base interface get the corresponding TypeSystemNode
                IRInterface intf = (IRInterface)RemoteTypeSystem.createTypeSystemNode(supportedInterfaces[i]);
                interfaces[i] = intf;
View Full Code Here

TOP

Related Classes of org.omg.CORBA.ValueDef

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.