package cdac.medinfo.sdk.hl7282.hl7net.testnetwork.localmessages;


import cdac.medinfo.sdk.hl7282.commoninterface.ISegmentKey;

/**
 * This class simulates the UserDefined enumeration for segment name.
 * User will use this enumeration to insert the Z-segment(not specified in HL7 specification) in 
 * Locally extended message.
  */
public enum UserDefinedSegmentEnumeration implements ISegmentKey 
{
	ZL7 ("ZL7");
	private String value;

	UserDefinedSegmentEnumeration(String strValue)
	{
		value = strValue;
	}

	/**
	 * This function returns the String value of this enum.
	 * @return - returns string value of EnumSegment on which it is called.
	 */
	public String getValue()
	{
		return value;
	}

}
