namespace Binge.Bits
{
	using System;
	using System.Text;
	using System.Collections;

	public class Property: Field
	{
		public bool IsWrapper;
		public Parameter Underlying;
		public ArrayList GetterGlue, SetterGlue;
		public ArrayList GetterSupportGlue, SetterSupportGlue;

		public Property (): this (true) {}

		public Property (bool init): base (init)
		{
			if (! init) return;

			IsWrapper = true;
			Underlying = new Parameter ();
			GetterGlue = new ArrayList ();
			SetterGlue = new ArrayList ();
			GetterSupportGlue = new ArrayList ();
			SetterSupportGlue = new ArrayList ();
		}

		public override string ToString ()
		{
			return "Property";
		}
	}
}
