站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

FieldElement.Impl (NetBeans Java Hierarchy API) - NetBeans API Javadoc 4.1.0

 

org.openide.src
Interface FieldElement.Impl

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

public static interface FieldElement.Impl
extends MemberElement.Impl

Implementation of a field element.

See Also:
FieldElement

Field Summary
static long serialVersionUID
          Deprecated. Only public by accident.
 
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
Deprecated. Only public by accident.

See Also:
Constant Field Values
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 May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.