org.openide.src
Interface FieldElement.Impl

All Superinterfaces:
Element.Impl, MemberElement.Impl, Serializable
Enclosing class:
FieldElement

public static interface FieldElement.Impl
extends MemberElement.Impl

Implementation of a field element.

See Also:
FieldElement

Field Summary
static long serialVersionUID
           
 
Method Summary
 String getInitValue()
          Get the initial value of the field.
 JavaDoc.Field getJavaDoc()
          Get the JavaDoc for the field.
 Type getType()
          Get the value type of the field.
 void setInitValue(String value)
          Set the initial value of the field.
 void setType(Type type)
          Set the value type of the field.
 
Methods inherited from interface org.openide.src.MemberElement.Impl
getModifiers, getName, setModifiers, setName
 
Methods inherited from interface org.openide.src.Element.Impl
addPropertyChangeListener, attachedToElement, getCookie, markCurrent, readResolve, removePropertyChangeListener
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Method Detail

getType

public Type getType()
Get the value type of the field.
Returns:
the type

setType

public void setType(Type type)
             throws SourceException
Set the value type of the field.
Parameters:
type - the type
Throws:
SourceException - if impossible

getInitValue

public String getInitValue()
Get the initial value of the field.
Returns:
the initial value (as source text), or an empty string if uninitialized

setInitValue

public void setInitValue(String value)
                  throws SourceException
Set the initial value of the field.
Parameters:
value - the initial value (as source text), or an empty string if uninitialized
Throws:
SourceException - if impossible

getJavaDoc

public JavaDoc.Field getJavaDoc()
Get the JavaDoc for the field.
Returns:
the JavaDoc


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.