/**
 * <!-- LICENSE_TEXT_START -->
The contents of this file are subject to the caAdapter Software License (the "License"). You may obtain a copy of the License at the following location: 
[caAdapter Home Directory]\docs\caAdapter_license.txt, or at:
http://ncicb.nci.nih.gov/infrastructure/cacore_overview/caadapter/indexContent/docs/caAdapter_License
 * <!-- LICENSE_TEXT_END -->
 */

package gov.nih.nci.caadapter.mms.map;
import gov.nih.nci.caadapter.common.metadata.AttributeMetadata;
import gov.nih.nci.caadapter.common.metadata.ColumnMetadata;

/**
 * Class for attribute mapping
 *
 * @author OWNER: Chunqing Lin
 * @author LAST UPDATE $Author: linc $
 * @since     caAdatper v4.0
 * @version    $Revision: 1.5 $
 * @date       $Date: 2008-09-26 20:35:27 $
 * @created 11-Aug-2006 8:18:14 AM
 */
public class AttributeMapping {

	private AttributeMetadata attributeMetadata;
	private ColumnMetadata columnMetadata;


	public AttributeMapping(){
	}

	/**
	 * @param attributeMetadata
	 */
	public AttributeMapping(AttributeMetadata attributeMetadata) {
		super();
		// TODO Auto-generated constructor stub
		this.attributeMetadata = attributeMetadata;
	}

	/**
	 * @param columnMetadata
	 */
	public AttributeMapping(ColumnMetadata columnMetadata) {
		super();
		// TODO Auto-generated constructor stub
		this.columnMetadata = columnMetadata;
	}

	/**
	 *
	 * @param attributeMetadata
	 * @param columnMetadata
	 */
	public AttributeMapping(AttributeMetadata attributeMetadata, ColumnMetadata columnMetadata){
	      this.attributeMetadata = attributeMetadata;
	      this.columnMetadata = columnMetadata;
	}

	/**
	 *
	 */
	public AttributeMetadata getAttributeMetadata(){
		return attributeMetadata;
	}

	public ColumnMetadata getColumnMetadata(){
		return columnMetadata;
	}

	/**
	 *
	 * @param attributeMetadata
	 */
	public void setAttributeMetadata(AttributeMetadata attributeMetadata){
         this.attributeMetadata = attributeMetadata;
	}

	/**
	 *
	 * @param columnMetadata
	 */
	public void setColumnMetadata(ColumnMetadata columnMetadata){
         this.columnMetadata = columnMetadata;
	}

}
/**
 * HISTORY: $Log: not supported by cvs2svn $
 */

@@ -921,122 +921,22 @@
 a;%0A%0A
-%0A%09public AttributeMapping()%7B%0A%09%7D%0A%0A%09/**%0A%09 * @param attributeMetadata%0A%09 */%0A%09public AttributeMapping(AttributeMetadata
+%09/**%0A%09 *return
  att
@@ -945,213 +945,80 @@
 bute
-M
+ m
 etadata
-) %7B%0A%09%09super();%0A%09%09// TODO Auto-generated constructor stub%0A%09%09this.attributeMetadata = attributeMetadata;%0A%09%7D%0A%0A%09/**%0A%09 * @param columnMetadata%0A%09 */%0A%09public AttributeMapping(ColumnMetadata column
+ associated%0A%09 */%0A%09public AttributeMetadata getAttribute
 Metadata
 ) %7B%0A
@@ -1017,467 +1017,97 @@
 data
+(
 )
- 
 %7B%0A%09%09
-super();%0A%09%09// TODO Auto-generated constructor stub%0A%09%09this.columnMetadata = columnMetadata;%0A%09%7D%0A%0A%09/**%0A%09 *%0A%09 * @param attributeMetadata%0A%09 * @param columnMetadata%0A%09 */%0A%09public AttributeMapping(AttributeMetadata attributeMetadata, ColumnMetadata columnMetadata)%7B%0A%09      this.attributeMetadata = attributeMetadata;%0A%09      this.columnMetadata = columnMetadata;%0A%09%7D%0A%0A%09/**%0A%09 *%0A%09 */%0A%09public AttributeMetadata getAttributeMetadata()%7B%0A%09%09return attributeMetadata;%0A%09%7D%0A
+return attributeMetadata;%0A%09%7D%0A%0A%09/**%0A%09 * %0A%09 * @return column metadata associated%0A%09 */
 %0A%09pu

clean code:remove unnecessary constructors.