org.openorb.ir.impl
Class FixedDefImpl
java.lang.Object
|
+--org.omg.PortableServer.Servant
|
+--org.omg.CORBA.FixedDefPOA
|
+--org.openorb.ir.impl.FixedDefImpl
- All Implemented Interfaces:
- org.omg.CORBA.FixedDefOperations, org.omg.CORBA.IDLTypeOperations, org.omg.CORBA.portable.InvokeHandler, org.omg.CORBA.IRObjectOperations
- public class FixedDefImpl
- extends org.omg.CORBA.FixedDefPOA
This class is the FixedDef implementation.
- Author:
- Olivier Modica
|
Constructor Summary |
FixedDefImpl(org.omg.CORBA.ORB orb,
short digits,
short scale)
Constructor |
|
Method Summary |
org.omg.CORBA.DefinitionKind |
def_kind()
The def_kind type_name attribute identifies the type of the definition. |
void |
destroy()
The destroy operation causes the object to cease to exist. |
short |
digits()
The digits attribute specifies the total number of decimal
digits in the number, and must be from 1 to 31, inclusive. |
void |
digits(short value)
The digits attribute specifies the total number of decimal
digits in the number, and must be from 1 to 31, inclusive. |
short |
scale()
The scale attribute specifies the position of the decimal
point. |
void |
scale(short value)
The scale attribute specifies the position of the decimal
point. |
org.omg.CORBA.TypeCode |
type()
The type attribute describes the type defined by an object
derived from IDLType. |
| Methods inherited from class org.omg.CORBA.FixedDefPOA |
_all_interfaces, _invoke, _this, _this |
| Methods inherited from class org.omg.PortableServer.Servant |
_default_POA, _get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _orb, _poa, _set_delegate, _this_object, _this_object |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedDefImpl
public FixedDefImpl(org.omg.CORBA.ORB orb,
short digits,
short scale)
- Constructor
digits
public short digits()
- The digits attribute specifies the total number of decimal
digits in the number, and must be from 1 to 31, inclusive.
- Overrides:
digits in class org.omg.CORBA.FixedDefPOA
digits
public void digits(short value)
- The digits attribute specifies the total number of decimal
digits in the number, and must be from 1 to 31, inclusive.
- Overrides:
digits in class org.omg.CORBA.FixedDefPOA
scale
public short scale()
- The scale attribute specifies the position of the decimal
point.
- Overrides:
scale in class org.omg.CORBA.FixedDefPOA
scale
public void scale(short value)
- The scale attribute specifies the position of the decimal
point.
- Overrides:
scale in class org.omg.CORBA.FixedDefPOA
def_kind
public org.omg.CORBA.DefinitionKind def_kind()
- The def_kind type_name attribute identifies the type of the definition.
- Overrides:
def_kind in class org.omg.CORBA.FixedDefPOA
destroy
public void destroy()
- The destroy operation causes the object to cease to exist. If
the object is a Container, destroy is applied to all its
contents. If the object contains an IDLType attribute for an
anonymous type, that IDLType is destroyed. If the object is
currently contained in some other object, it is removed. If
destroy is invoked on a Repository or on a PrimitiveDef then
the BAD_INV_ORDER exception is raised with minor value 2.
Implementations may vary in their handling of references to an
object that is being destroyed, but the Repository should not
be left in an incoherent state. Attempt to destroy an object
that would leave the repository in an incoherent state shall
cause BAD_INV_ORDER exception to be raised with the minor code
1.
- Overrides:
destroy in class org.omg.CORBA.FixedDefPOA
type
public org.omg.CORBA.TypeCode type()
- The type attribute describes the type defined by an object
derived from IDLType.
- Overrides:
type in class org.omg.CORBA.FixedDefPOA