package nsdb;
public class InvalidKeyHelper
{
	private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_struct_tc(id(),"InvalidKey",new org.omg.CORBA.StructMember[0]);
	public InvalidKeyHelper ()
	{
	}
	public static void insert(org.omg.CORBA.Any any, nsdb.InvalidKey s)
	{
		any.type(type());
		write( any.create_output_stream(),s);
	}
	public static nsdb.InvalidKey extract(org.omg.CORBA.Any any)
	{
		return read(any.create_input_stream());
	}
	public static org.omg.CORBA.TypeCode type()
	{
		return _type;
	}
	public String get_id()
	{
		return id();
	}
	public org.omg.CORBA.TypeCode get_type()
	{
		return type();
	}
	public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj)
	{
		 throw new RuntimeException(" not implemented");
	}
	public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in)
	{
		 throw new RuntimeException(" not implemented");
	}
	public static String id()
	{
		return "IDL:nsdb/InvalidKey:1.0";
	}
	public static nsdb.InvalidKey read(org.omg.CORBA.portable.InputStream in)
	{
		nsdb.InvalidKey result = new nsdb.InvalidKey();
		if(!in.read_string().equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id");
		return result;
	}
	public static void write(org.omg.CORBA.portable.OutputStream out, nsdb.InvalidKey s)
	{
		out.write_string(id());
	}
}
