org.netbeans.jmi.javamodel
Interface StructuralElement

All Superinterfaces:
AnnotableElement, Element, NamedElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, TypedElement, Variable
All Known Subinterfaces:
EnumConstant, Field, LocalVariable

public interface StructuralElement
extends Variable

StructuralElement object instance interface. Common superclass of field and local variable - i.e. variables that can have an initial value.

Note: This type should not be subclassed or implemented by clients. It is generated from a MOF metamodel and automatically implemented by MDR (see mdr.netbeans.org)


Method Summary
 InitialValue getInitialValue()
          Returns the value of attribute initialValue.
 String getInitialValueText()
          Returns the value of attribute initialValueText.
 void setInitialValue(InitialValue newValue)
          Sets the value of initialValue attribute.
 void setInitialValueText(String newValue)
          Sets the value of initialValueText attribute.
 
Methods inherited from interface org.netbeans.jmi.javamodel.Variable
getDimCount, getTypeName, isFinal, setDimCount, setFinal, setTypeName
 
Methods inherited from interface org.netbeans.jmi.javamodel.AnnotableElement
getAnnotations
 
Methods inherited from interface org.netbeans.jmi.javamodel.NamedElement
getName, getReferences, setName
 
Methods inherited from interface org.netbeans.jmi.javamodel.Element
duplicate, getChildren, getEndOffset, getPartEndOffset, getPartStartOffset, getResource, getStartOffset, isValid, replaceChild
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 
Methods inherited from interface org.netbeans.jmi.javamodel.TypedElement
getType, setType
 

Method Detail

getInitialValue

public InitialValue getInitialValue()
Returns the value of attribute initialValue. Object representation of initial value of this structural element.

Returns:
Value of attribute initialValue.

setInitialValue

public void setInitialValue(InitialValue newValue)
Sets the value of initialValue attribute. See getInitialValue() for description on the attribute.

Parameters:
newValue - New value to be set.

getInitialValueText

public String getInitialValueText()
Returns the value of attribute initialValueText. Textual representation of initial value of this structural element.

Returns:
Value of attribute initialValueText.

setInitialValueText

public void setInitialValueText(String newValue)
Sets the value of initialValueText attribute. See getInitialValueText() for description on the attribute.

Parameters:
newValue - New value to be set.

 

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