blob: 2f680a970c2377a2c91d442a91f210b1d326c589 [file] [log] [blame]
/*
* $Id$
*/
package org.codehaus.modello.test.model;
//---------------------------------/
//- Imported classes and packages -/
//---------------------------------/
import java.util.Date;
/**
* Class Reference.
*
* @version $Revision$ $Date$
*/
public class Reference implements java.io.Serializable {
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Field name.
*/
private String name;
//-----------/
//- Methods -/
//-----------/
/**
* Get the name field.
*
* @return String
*/
public String getName()
{
return this.name;
} //-- String getName()
/**
* Set the name field.
*
* @param name
*/
public void setName(String name)
{
this.name = name;
} //-- void setName(String)
private String modelEncoding = "UTF-8";
/**
* Set an encoding used for reading/writing the model.
*
* @param modelEncoding the encoding used when reading/writing the model.
*/
public void setModelEncoding( String modelEncoding )
{
this.modelEncoding = modelEncoding;
}
/**
* @return the current encoding used when reading/writing this model.
*/
public String getModelEncoding()
{
return modelEncoding;
}
}