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)
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 |
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.