Class ExplicitAttrFrame

java.lang.Object
   |
   +----Frame
           |
           +----ExplicitAttrFrame

public class ExplicitAttrFrame
extends Frame
The class `ExplicitAttrFrame', a subclass of Frame, represents a frame internally as an exjava ExplicitAttr object - such frames should only be used to represent explicit attributes in EXPRESS models.


Constructor Index

 o ExplicitAttrFrame(ExplicitAttr)
Constructs this frame by plugging in the given exjava ExplicitAttr object (it does so by copying the reference, which is maximally efficient, but the client should not then alter the ExplicitAttr directly, as that would compromise the integrity of the frame).
 o ExplicitAttrFrame(ExplicitAttr, Hashtable)
Constructs this frame by plugging in the given exjava ExplicitAttr object (it does so by copying the reference, which is maximally efficient, but the client should not then alter the ExplicitAttr directly, as that would compromise the integrity of the frame).

Method Index

 o buildFrame()
Fills in the slots for this frame from the underlying exjava ExplicitAttr object.
 o buildQueuedFrames()
Builds any ExplicitAttrFrames that are queued to be built (those that were constructed before the frame class was constructed).
 o getFrameClass()
Returns the frame class of this frame.
 o initialise(Express)
Initialises the ExplicitAttrFrame class by setting the class variable _frameClass after looking up the `explicit_attribute' entity in the given EXPRESS (meta)model.
 o readClass(ObjectInput)
Deserialises the static data members (class variables) of ExplicitAttrFrame.
 o writeClass(ObjectOutput)
Serialises the static data members (class variables) of ExplicitAttrFrame.

Constructors

 o ExplicitAttrFrame
 public ExplicitAttrFrame(ExplicitAttr instanceData) throws FrameAlreadyExists
Constructs this frame by plugging in the given exjava ExplicitAttr object (it does so by copying the reference, which is maximally efficient, but the client should not then alter the ExplicitAttr directly, as that would compromise the integrity of the frame).

Parameters:
instanceData - An exjava ExplicitAttr object to wrap in this frame.
Throws: FrameAlreadyExists
If an ExplicitAttrFrame has already been constructed for `instanceData'.
 o ExplicitAttrFrame
 public ExplicitAttrFrame(ExplicitAttr instanceData,
                          Hashtable moreInstanceData) throws FrameAlreadyExists
Constructs this frame by plugging in the given exjava ExplicitAttr object (it does so by copying the reference, which is maximally efficient, but the client should not then alter the ExplicitAttr directly, as that would compromise the integrity of the frame). This constructor allows the explicit attribute frame to be tagged with extra slots, given in a hash table.

Parameters:
instanceData - An exjava ExplicitAttr object to wrap in this frame.
moreInstanceData - Extra slots to tag this explicit attribute frame with.
Throws: FrameAlreadyExists
If an ExplicitAttrFrame has already been constructed for `instanceData'.

Methods

 o initialise
 public static void initialise(Express metamodel)
Initialises the ExplicitAttrFrame class by setting the class variable _frameClass after looking up the `explicit_attribute' entity in the given EXPRESS (meta)model.

Parameters:
metamodel - An EXPRESS metamodel, which is expected to contain the entity `explicit_attribute'.
 o buildQueuedFrames
 public static void buildQueuedFrames()
Builds any ExplicitAttrFrames that are queued to be built (those that were constructed before the frame class was constructed). Their slots are filled from the exjava objects with which they were constructed, and they are then validated.

 o buildFrame
 public void buildFrame()
Fills in the slots for this frame from the underlying exjava ExplicitAttr object.

 o getFrameClass
 public FrameClass getFrameClass()
Returns the frame class of this frame.

Returns:
The frame class of this frame.
Overrides:
getFrameClass in class Frame
 o writeClass
 public static void writeClass(ObjectOutput oo) throws IOException
Serialises the static data members (class variables) of ExplicitAttrFrame.

Parameters:
oo - An output object to save the class data to.
Throws: IOException
If an I/O exception occurs.
 o readClass
 public static void readClass(ObjectInput oi) throws IOException
Deserialises the static data members (class variables) of ExplicitAttrFrame.

Parameters:
ois - An input object to save the class data to.
Throws: IOException
If an I/O exception occurs.