org.jacorb.ir.gui.typesystem.remote

Class IRValue

Implemented Interfaces:
AbstractContainer, Value

public class IRValue
extends IRContainer
implements Value

Field Summary

Fields inherited from class org.jacorb.ir.gui.typesystem.remote.IRNode

irObject, repositoryID

Fields inherited from class org.jacorb.ir.gui.typesystem.TypeSystemNode

absoluteName, name, treeNode

Constructor Summary

IRValue()
Default-Konstruktor: wird von TypeSystem.createNode(...) benutzt
IRValue(IRObject irObject)

Method Summary

String[]
allowedToAdd()
String
description()
Value[]
getAbstractBaseValues()
Return the abstract base values of this value.
TypeSystemNode[]
getAllFields()
Returns all fields defined here, including fields from the base value and interfaces.
TypeSystemNode[]
getAllMembers()
Returns all value members defined here, including value members from the base value.
TypeSystemNode[]
getAllOperations()
Returns all operations defined here, including operations from the base value and interfaces, but excluding initializers.
Value
getBaseValue()
Return the concrete base value of this value, or null if this base value has no base value.
Interface[]
getInterfaces()
Get the interfaces implemented by this value type.
static String
nodeTypeName()
protected void
setIRObject(IRObject irObject)
Set the CORBA reference of the IR object we represent.

Methods inherited from class org.jacorb.ir.gui.typesystem.remote.IRContainer

contents

Methods inherited from class org.jacorb.ir.gui.typesystem.remote.IRNode

allowedToAdd, description, getAbsoluteName, getTypeCode, setIRObject

Methods inherited from class org.jacorb.ir.gui.typesystem.TypeSystemNode

allowedToAdd, compareTo, description, getAbsoluteName, getInstanceNodeTypeName, getName, insertChild, nodeTypeName, setAbsoluteName, setName, toString

Methods inherited from class org.jacorb.ir.gui.typesystem.ModelParticipant

addToParent, buildTree, compareTo, expand, getModelRepresentant, setModelRepresentant

Constructor Details

IRValue

public IRValue()
Default-Konstruktor: wird von TypeSystem.createNode(...) benutzt


IRValue

public IRValue(IRObject irObject)

Parameters:
irObject - org.omg.CORBA.IRObject

Method Details

allowedToAdd

public String[] allowedToAdd()
Overrides:
allowedToAdd in interface IRNode

Returns:
An array of the node-type names of node-types that can be added here.


description

public String description()
Overrides:
description in interface IRNode

Returns:
A textual description of this value type.


getAbstractBaseValues

public Value[] getAbstractBaseValues()
Return the abstract base values of this value.


getAllFields

public TypeSystemNode[] getAllFields()
Returns all fields defined here, including fields from the base value and interfaces.
Specified by:
getAllFields in interface Value


getAllMembers

public TypeSystemNode[] getAllMembers()
Returns all value members defined here, including value members from the base value.
Specified by:
getAllMembers in interface Value


getAllOperations

public TypeSystemNode[] getAllOperations()
Returns all operations defined here, including operations from the base value and interfaces, but excluding initializers.
Specified by:
getAllOperations in interface Value


getBaseValue

public Value getBaseValue()
Return the concrete base value of this value, or null if this base value has no base value.
Specified by:
getBaseValue in interface Value


getInterfaces

public Interface[] getInterfaces()
Get the interfaces implemented by this value type. This will create the interfaces array, fill it in with the InterfaceDef of the interfaces implemented by the value type, and return the array.
Specified by:
getInterfaces in interface Value

Returns:
A reference to the interfaces field.


nodeTypeName

public static String nodeTypeName()
Overrides:
nodeTypeName in interface TypeSystemNode

Returns:
A string denoting the node type implemented here.


setIRObject

protected void setIRObject(IRObject irObject)
Set the CORBA reference of the IR object we represent.
Overrides:
setIRObject in interface IRNode

Parameters:
irObject - The CORBA reference to be set.