package GraphicsApp;

/**
* GraphicsApp/ShapeHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from Graphics.idl
* Tuesday, November 11, 2025 6:46:29 PM CET
*/

public final class ShapeHolder implements org.omg.CORBA.portable.Streamable
{
  public GraphicsApp.Shape value = null;

  public ShapeHolder ()
  {
  }

  public ShapeHolder (GraphicsApp.Shape initialValue)
  {
    value = initialValue;
  }

  public void _read (org.omg.CORBA.portable.InputStream i)
  {
    value = GraphicsApp.ShapeHelper.read (i);
  }

  public void _write (org.omg.CORBA.portable.OutputStream o)
  {
    GraphicsApp.ShapeHelper.write (o, value);
  }

  public org.omg.CORBA.TypeCode _type ()
  {
    return GraphicsApp.ShapeHelper.type ();
  }

}
