package relational.email;

import java.rmi.RemoteException;
import relational.*;

/**
 * The focal point of the email schema. A message is an empty object
 * (just a primary key). The {@link Body}s and {@link Header}s refer to
 * a Message object together form the complete message.
 */
public class Message
	extends ClumpRelational {

//	public static Message newRow(Database d)
//		throws RemoteException {
//		return (Message) d.newRow(Message.class);
//	}
	public Message(Database db) { super(db); }

	public static FieldDescriptor f_primaryKey;
	public static FieldDescriptor f_reference;
	static {
		f_primaryKey= FieldDescriptor.getPrimaryKey(Message.class);
		f_reference	= FieldDescriptor.get(Message.class);
	}
}
