/*
 ****************************************************************************
 *
 *  (c) Copyright 2013 BOE IDM. All rights reserved.
 *
 *  This software is proprietary to and embodies the confidential
 *  technology of BOE IDM. Possession, use, or copying of this
 *  software and media is authorized only pursuant to a valid written
 *  license from BOE IDM.
 *
 ****************************************************************************
 */

package com.cim.idm.wmspackage.name.management.data;

import com.cim.idm.framework.orm.info.KeyInfo;
import com.cim.idm.framework.orm.info.access.FieldAccessor;


/*
 ****************************************************************************
 *  PACKAGE : com.cim.idm.mespackage.name.management.data
 *  NAME    : NameRuleSplitKey.java
 *  TYPE    : JAVA
 *  DESCRIPTION :
 *
 ****************************************************************************
 */


/**
 * To express NameSplit Primary Key Class
 * 
 * <pre>
 * this Class is {@link KeyInfo} Implements the interface
 * 
 * String ruleName - Rule Name
 * String prefix - Prefix
 * </pre>
 * 
 * @see {@link NameSplit}, {@link FieldAccessor}, {@link KeyInfo}
 */
public class NameRuleSplitKey implements KeyInfo
{

	private String	ruleName;
	private String	prefix;

	public NameRuleSplitKey()
	{
	}

	/**
	 * Generated new NameSplitKey instance
	 * 
	 * @param ruleName
	 *            Rule Name
	 * @param prefix
	 *            Prefix
	 */
	public NameRuleSplitKey(String ruleName, String prefix)
	{
		this.ruleName = ruleName;
		this.prefix = prefix;
	}

	public String getRuleName()
	{
		return ruleName;
	}

	public void setRuleName(String ruleName)
	{
		this.ruleName = ruleName;
	}

	public String getPrefix()
	{
		return prefix;
	}

	public void setPrefix(String prefix)
	{
		this.prefix = prefix;
	}

}
