org.openorb.ir.impl

Class FixedDefImpl

public class FixedDefImpl extends FixedDefPOA

This class is the FixedDef implementation.

Author: Olivier Modica

Constructor Summary
FixedDefImpl(ORB orb, short digits, short scale)
Constructor
Method Summary
DefinitionKinddef_kind()
The def_kind type_name attribute identifies the type of the definition.
voiddestroy()
The destroy operation causes the object to cease to exist.
shortdigits()
The digits attribute specifies the total number of decimal digits in the number, and must be from 1 to 31, inclusive.
voiddigits(short value)
The digits attribute specifies the total number of decimal digits in the number, and must be from 1 to 31, inclusive.
shortscale()
The scale attribute specifies the position of the decimal point.
voidscale(short value)
The scale attribute specifies the position of the decimal point.
TypeCodetype()
The type attribute describes the type defined by an object derived from IDLType.

Constructor Detail

FixedDefImpl

public FixedDefImpl(ORB orb, short digits, short scale)
Constructor

Method Detail

def_kind

public DefinitionKind def_kind()
The def_kind type_name attribute identifies the type of the definition.

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.

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.

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.

scale

public short scale()
The scale attribute specifies the position of the decimal point.

scale

public void scale(short value)
The scale attribute specifies the position of the decimal point.

type

public TypeCode type()
The type attribute describes the type defined by an object derived from IDLType.