Methods Summary |
---|
public org.omg.CORBA.NamedValue | add(int flags)
NamedValue tmpVal = new NamedValueImpl(orb, "", new AnyImpl(orb), flags);
_namedValues.addElement(tmpVal);
return tmpVal;
|
public org.omg.CORBA.NamedValue | add_item(java.lang.String itemName, int flags)
NamedValue tmpVal = new NamedValueImpl(orb, itemName, new AnyImpl(orb),
flags);
_namedValues.addElement(tmpVal);
return tmpVal;
|
public org.omg.CORBA.NamedValue | add_value(java.lang.String itemName, org.omg.CORBA.Any val, int flags)
NamedValue tmpVal = new NamedValueImpl(orb, itemName, val, flags);
_namedValues.addElement(tmpVal);
return tmpVal;
|
public int | count()
return _namedValues.size();
|
public org.omg.CORBA.NamedValue | item(int index)
try {
return (NamedValue) _namedValues.elementAt(index);
} catch (ArrayIndexOutOfBoundsException e) {
throw new Bounds();
}
|
public void | remove(int index)
try {
_namedValues.removeElementAt(index);
} catch (ArrayIndexOutOfBoundsException e) {
throw new Bounds();
}
|