Ejemplo n.º 1
0
  /** @return java.lang.String */
  public String getInstanceNodeTypeName() {
    String access;
    short visibility = ValueMemberDefHelper.narrow((org.omg.CORBA.Object) irObject).access();

    switch (visibility) {
      case PUBLIC_MEMBER.value:
        access = "public ";
        break;
      case PRIVATE_MEMBER.value:
        access = "private ";
        break;
      default:
        access = "<unknown visibility> ";
        break;
    }

    return access + super.getInstanceNodeTypeName();
  }
Ejemplo n.º 2
0
 /** @param irObject org.omg.CORBA.IRObject */
 public IRValueMember(IRObject irObject) {
   super(irObject);
   ValueMemberDef valueMemberDef = ValueMemberDefHelper.narrow(irObject);
   setAssociatedTypeSystemNode(RemoteTypeSystem.createTypeSystemNode(valueMemberDef.type_def()));
 }