Login | Register
My pages Projects Community openCollabNet

The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours. Further details in the announcement


jmt.codebase
Interface Field

All Superinterfaces:
ClassElement, jmt.codebase.FieldOrMethod

public interface Field
extends jmt.codebase.FieldOrMethod

Describes a field of a class. The field is owned by a class or interface and has a name and a type.

Author:
Martin Kersten
See Also:
ClassFactory, AbstractField

Method Summary
 java.util.Iterator getAttributes()
          Returns an iterator to iterate through the attached attributes.
 Modifier getModifier()
          Returns the modifier of the field or method.
 java.lang.String getName()
          Returns the name of the field or method.
 ClassReference getType()
          Returns the type of the field or method.
 
Methods inherited from interface jmt.codebase.ClassElement
getOwner
 

Method Detail

getAttributes

public java.util.Iterator getAttributes()
Returns an iterator to iterate through the attached attributes.

Returns:
The iterator to iterate through the attributes

getModifier

public Modifier getModifier()
Returns the modifier of the field or method.

Returns:
The modifier of the field or method

getName

public java.lang.String getName()
Returns the name of the field or method.

Returns:
The name of the field or method

getType

public ClassReference getType()
Returns the type of the field or method.

Returns:
The type of the field or method.