xjavadoc
Class FieldImpl
java.lang.Object
xjavadoc.AbstractProgramElement
xjavadoc.MemberImpl
xjavadoc.FieldImpl
- All Implemented Interfaces:
- java.lang.Comparable, Named, Type, XField, XMember, XProgramElement
- final class FieldImpl
- extends MemberImpl
- implements XField
- Version:
- $Revision: 1.17 $
- Author:
- Ara Abrahamian (ara_e_w@yahoo.com), Aslak Helles?y
Methods inherited from class xjavadoc.AbstractProgramElement |
addModifier, compareTo, getContainingAbstractClass, getContainingClass, getContainingPackage, getDoc, getModifiers, getModifierSpecifier, getTagFactory, getXJavaDoc, isAbstract, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, reset, setToken, updateDoc |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface xjavadoc.XProgramElement |
getContainingClass, getContainingPackage, getDoc, getModifiers, getModifierSpecifier, getSuperInterfaceElements, getXJavaDoc, isAbstract, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, updateDoc |
Methods inherited from interface java.lang.Comparable |
compareTo |
_type
private java.lang.String _type
_dimension
private int _dimension
FieldImpl
public FieldImpl(AbstractClass containingClass,
XTagFactory tagFactory)
isTransient
public final boolean isTransient()
- Description copied from interface:
XField
- Gets the Transient attribute of the XField object
- Specified by:
isTransient
in interface XField
- Returns:
- The Transient value
isVolatile
public final boolean isVolatile()
- Description copied from interface:
XField
- Gets the Volatile attribute of the XField object
- Specified by:
isVolatile
in interface XField
- Returns:
- The Volatile value
getDimension
public int getDimension()
- Description copied from interface:
Type
- Returns the dimension as an int
- Specified by:
getDimension
in interface Type
- Returns:
- dimension as an int
getTypeAsString
public java.lang.String getTypeAsString()
getDimensionAsString
public java.lang.String getDimensionAsString()
- Description copied from interface:
Type
- Returns the dimension as a String, "", "[]", "[][]" etc.
- Specified by:
getDimensionAsString
in interface Type
- Returns:
- dimension as a String
getType
public XClass getType()
- Description copied from interface:
Type
- Get type
- Specified by:
getType
in interface Type
- Returns:
- type
getSuperElement
public XProgramElement getSuperElement()
- Specified by:
getSuperElement
in interface XProgramElement
setType
public void setType(java.lang.String type)
setDimension
public void setDimension(int dimension)
toString
public java.lang.String toString()
getName
public java.lang.String getName()
- Description copied from interface:
Named
- Get name
- Specified by:
getName
in interface Named
- Returns:
- name
setName
public void setName(java.lang.String name)
getSuperInterfaceElements
public java.util.List getSuperInterfaceElements()
- Specified by:
getSuperInterfaceElements
in interface XProgramElement