org.jacorb.ir
Class ConstantDef

java.lang.Object
  extended byorg.jacorb.ir.IRObject
      extended byorg.jacorb.ir.Contained
          extended byorg.jacorb.ir.ConstantDef
All Implemented Interfaces:
ConstantDefOperations, ContainedOperations, IRObjectOperations

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
 
Fields inherited from class org.jacorb.ir.IRObject
def_kind, myRef, name, orb
 
Constructor Summary
ConstantDef(java.lang.Class c, Container _defined_in, Repository ir, org.apache.avalon.framework.logger.Logger logger)
          Constructor to create constants mapped to a separate class
ConstantDef(java.lang.reflect.Field field, Container _defined_in, Repository _containing_repository, org.apache.avalon.framework.logger.Logger logger, POA poa)
          Constructor to create constants defined with an interface
 
Method Summary
 Description describe()
           
 void destroy()
           
 IDLType type_def()
           
 void type_def(IDLType a)
           
 TypeCode type()
           
 Any value()
           
 void value(Any _value)
           
 
Methods inherited from class org.jacorb.ir.Contained
absolute_name, containing_repository, createContained, createContainedReference, defined_in, id, id, move, name, name, version, version
 
Methods inherited from class org.jacorb.ir.IRObject
def_kind, getName, getReference, setReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.ContainedOperations
absolute_name, containing_repository, defined_in, id, id, move, name, name, version, version
 
Methods inherited from interface org.omg.CORBA.IRObjectOperations
def_kind
 

Field Detail

fileSeparator

protected static char fileSeparator
Constructor Detail

ConstantDef

public ConstantDef(java.lang.reflect.Field field,
                   Container _defined_in,
                   Repository _containing_repository,
                   org.apache.avalon.framework.logger.Logger logger,
                   POA poa)
Constructor to create constants defined with an interface


ConstantDef

public ConstantDef(java.lang.Class c,
                   Container _defined_in,
                   Repository ir,
                   org.apache.avalon.framework.logger.Logger logger)
Constructor to create constants mapped to a separate class

Method Detail

type

public TypeCode type()
Specified by:
type 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

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

describe

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

destroy

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