001/*
002 =================== DO NOT EDIT THIS FILE ====================
003 Generated by Modello 1.9.0-SNAPSHOT,
004 any modifications will be overwritten.
005 ==============================================================
006 */
007
008package org.codehaus.modello.test.features;
009
010  //---------------------------------/
011 //- Imported classes and packages -/
012//---------------------------------/
013
014import org.codehaus.modello.test.features.other.PackageNameFeature;
015import org.codehaus.modello.test.features.other.SubInterfaceInPackage;
016
017/**
018 * A model class that has only XMl attributes fields and exactly
019 * one field with
020 *         <code>Content</code> type.
021 * 
022 * @version $Revision$ $Date$
023 */
024@SuppressWarnings( "all" )
025public class ContentTest
026    implements java.io.Serializable
027{
028
029      //--------------------------/
030     //- Class/Member Variables -/
031    //--------------------------/
032
033    /**
034     * The field of the class with <code>Content</code> type.
035     */
036    private String content;
037
038    /**
039     * An XML attribute.
040     */
041    private String attr;
042
043    /**
044     * A 2nd XML attribute.
045     */
046    private int attr2 = 0;
047
048
049      //-----------/
050     //- Methods -/
051    //-----------/
052
053    /**
054     * Get an XML attribute.
055     * 
056     * @return String
057     */
058    public String getAttr()
059    {
060        return this.attr;
061    } //-- String getAttr()
062
063    /**
064     * Get a 2nd XML attribute.
065     * 
066     * @return int
067     */
068    public int getAttr2()
069    {
070        return this.attr2;
071    } //-- int getAttr2()
072
073    /**
074     * Get the field of the class with <code>Content</code> type.
075     * 
076     * @return String
077     */
078    public String getContent()
079    {
080        return this.content;
081    } //-- String getContent()
082
083    /**
084     * Set an XML attribute.
085     * 
086     * @param attr
087     */
088    public void setAttr( String attr )
089    {
090        this.attr = attr;
091    } //-- void setAttr( String )
092
093    /**
094     * Set a 2nd XML attribute.
095     * 
096     * @param attr2
097     */
098    public void setAttr2( int attr2 )
099    {
100        this.attr2 = attr2;
101    } //-- void setAttr2( int )
102
103    /**
104     * Set the field of the class with <code>Content</code> type.
105     * 
106     * @param content
107     */
108    public void setContent( String content )
109    {
110        this.content = content;
111    } //-- void setContent( String )
112
113}