org.jacorb.ir

Class ConstantDef

Implemented Interfaces:
ConstantDefOperations, ContainedOperations, IDLEntity, IRObjectOperations, Object, java.io.Serializable

public class ConstantDef
extends Contained
implements ConstantDefOperations

JacORB implementation of IR ConstantDef objects

Version:
$Id: ConstantDef.java,v 1.13 2004/05/06 12:39:59 nicolas Exp $

Author:
Gerald Brose

Field Summary

protected static char
fileSeparator

Fields inherited from class org.jacorb.ir.Contained

absolute_name, containing_repository, defined_in, id, version

Constructor Summary

ConstantDef(Class c, Container _defined_in, Repository ir, Logger logger)
Constructor to create constants mapped to a separate class
ConstantDef(Field field, Container _defined_in, Repository _containing_repository, Logger logger, POA poa)
Constructor to create constants defined with an interface

Method Summary

Description
describe()
void
destroy()
TypeCode
type()
IDLType
type_def()
void
type_def(IDLType a)
Any
value()
void
value(Any _value)

Methods inherited from class org.jacorb.ir.Contained

absolute_name, containing_repository, createContained, createContainedReference, defined_in, describe, id, id, move, name, name, version, version

Field Details

fileSeparator

protected static char fileSeparator

Constructor Details

ConstantDef

public ConstantDef(Class c,
                   Container _defined_in,
                   Repository ir,
                   Logger logger)
Constructor to create constants mapped to a separate class


ConstantDef

public ConstantDef(Field field,
                   Container _defined_in,
                   Repository _containing_repository,
                   Logger logger,
                   POA poa)
Constructor to create constants defined with an interface

Method Details

describe

public Description describe()
Specified by:
describe in interface ContainedOperations
Overrides:
describe in interface Contained


destroy

public void destroy()
Specified by:
destroy in interface IRObjectOperations


type

public TypeCode type()
Specified by:
type in interface ConstantDefOperations


type_def

public IDLType type_def()
Specified by:
type_def in interface ConstantDefOperations


type_def

public void type_def(IDLType a)
Specified by:
type_def in interface ConstantDefOperations


value

public Any value()
Specified by:
value in interface ConstantDefOperations


value

public void value(Any _value)
Specified by:
value in interface ConstantDefOperations