org.objectweb.jorm.metainfo.api
Interface TypedElement

All Superinterfaces:
MetaObject, java.io.Serializable
All Known Subinterfaces:
ClassRef, GenClassRef, PrimitiveElement, Reference, ScalarField

public interface TypedElement
extends MetaObject

TypedElement interface is the top level of the "field" interface. two blocks derived from this object, the reference object (a reference to a class or a reference to a generic class), and the primitive element object (scalar field).

Author:
X. Spengler

Method Summary
 java.lang.String getName()
          Returns the name of the current typed element.
 PType getType()
          Returns the type of the field.
 
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject
getParent, setParent
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the current typed element.

Returns:
the string representation of the typed element

getType

public PType getType()
Returns the type of the field.

Returns:
a PType object which defines the type of the current field