View Javadoc

    1   /*
    2    * Copyright (c) 2001-2003 The XDoclet team
    3    * All rights reserved.
    4    */
    5   package xjavadoc;
    6
    7   import java.util.List;
    8
    9   /***
    10   * Baseclass for field, method and constructor
    11   *
    12   * @author    Aslak Hellesøy
    13   * @created   Feb 15, 2002
    14   * @version   $Revision: 1.5 $
    15   */
    16  abstract class MemberImpl extends AbstractProgramElement implements XMember
    17  {
    18  	private String     _name;
    19
    20  	protected MemberImpl( AbstractClass containingClass, XTagFactory tagFactory )
    21  	{
    22  		super( containingClass, tagFactory );
    23  	}
    24
    25  	public String getName()
    26  	{
    27  		return _name;
    28  	}
    29
    30  	public void setName( String name )
    31  	{
    32  		if( name == null )
    33  		{
    34  			throw new IllegalArgumentException( "name can't be null" );
    35  		}
    36  		_name = name;
    37  	}
    38
    39  	public List getSuperInterfaceElements()
    40  	{
    41  		return null;
    42  	}
    43
    44  }