org.jacorb.idl

Class BaseType

public class BaseType extends SimpleTypeSpec

Represents IDL base types

Version: $Id: BaseType.java,v 1.20 2006/06/19 10:34:57 alphonse.bendt Exp $

Author: Gerald Brose

Constructor Summary
BaseType(int num)
Method Summary
booleanbasic()
intgetTCKind()
the "kind of TypeCode" for this type
StringgetTypeCodeExpression()
Stringid()
static booleanisBasicName(String typeName)
booleanisSwitchType()
voidparse()
does nothing, will be overwritten in subclasses
voidprint(PrintWriter ps)
does nothing, will be overwritten in subclasses
voidsetEnclosingSymbol(IdlSymbol s)
voidsetPackage(String s)
ignore, these types don't need to know their package
StringtoString()
protected StringtypeCodeExpressionSkeleton(int kind)
StringtypeName()
TypeSpectypeSpec()

Constructor Detail

BaseType

public BaseType(int num)

Method Detail

basic

public boolean basic()

getTCKind

public int getTCKind()
the "kind of TypeCode" for this type

getTypeCodeExpression

public String getTypeCodeExpression()

id

public String id()

isBasicName

public static boolean isBasicName(String typeName)

isSwitchType

public boolean isSwitchType()

parse

public void parse()
does nothing, will be overwritten in subclasses

print

public void print(PrintWriter ps)
does nothing, will be overwritten in subclasses

setEnclosingSymbol

public void setEnclosingSymbol(IdlSymbol s)

setPackage

public void setPackage(String s)
ignore, these types don't need to know their package

toString

public String toString()

typeCodeExpressionSkeleton

protected String typeCodeExpressionSkeleton(int kind)

typeName

public String typeName()

typeSpec

public TypeSpec typeSpec()