package com.jxml.quick.model.qdml;
import com.jxml.quick.ocm.*;
import com.jxml.quick.*;
import org.xml.sax.*;
import java.util.*;
import java.io.*;

/**
 * Models the enum element in QDML.
 * The enum element specifies a single valid value.
 <pre>
DTD:

&lt;!ELEMENT enum <a href="#remList">(rem*)</a>>

&lt;!ATTLIST enum
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#value">value</a> CDATA #REQUIRED
&nbsp;&nbsp;&nbsp;&nbsp;ID id #IMPLIED
>
 </pre>
 */
public class QDMEnum extends QDMCloneable implements QDMValid
{
	/**
	 * Models the value attribute on the enum element.
	 * This attribute provides a valid value for the content of a text element.
	 */
	public String value="";

	/**
	 * A container for QDMRem objects, which model rem elements.
	 * The rem elements are optional and repeating.
	 */
	public ArrayList remList=new ArrayList();

	/**
	 * Returns a deep copy of this object.
	 */
	public Object clone()
	{
		QDMEnum rv=(QDMEnum)super.clone();
		rv.remList=clone(remList);
		return rv;
	}
}
