org.jboss.forge.parser.java
Interface Named<T>

All Known Subinterfaces:
JavaAnnotation, JavaClass, JavaEnum, JavaInterface, JavaSource<T>, JavaType<T>

public interface Named<T>

Author:
Lincoln Baxter, III

Method Summary
 String getName()
          Get the simple name of this T instance.
 T setName(String name)
          Set the simple-name of this T instance.
 

Method Detail

getName

String getName()
Get the simple name of this T instance. (E.g: For a Java type, this is be equivalent to calling, Class.getSimpleName(). For a Java method, this would be equivalent to calling Member.getName() ... and so on.


setName

T setName(String name)
Set the simple-name of this T instance.

See Also:
getName()


Copyright © 2011 Seam Framework. All Rights Reserved.