edu.cmu.sei.aadl.model.parsesupport
Class NamedElementReference

java.lang.Object
  extended by edu.cmu.sei.aadl.model.parsesupport.LocationReference
      extended by edu.cmu.sei.aadl.model.parsesupport.NamedElementReference
Direct Known Subclasses:
ClassifierOrFeatureReference, ClassifierReference, FeatureReference, ParsedPropertyReference, RefinedReference

public class NamedElementReference
extends LocationReference

Author:
phf Holds reference to a name elment and its context from the parser. The context can be the packagename, property set name, subcomponent name for a feature, etc. As a subclas of location reference it also holds the location information.

Field Summary
static java.lang.String copyright
           
 
Constructor Summary
NamedElementReference()
          object holding identifers for a Named Element reference.
 
Method Summary
 java.lang.String getContextName()
           
 java.lang.String getElementName()
           
 void setContextName(java.lang.String cn)
           
 void setElementName(java.lang.String pn)
           
 
Methods inherited from class edu.cmu.sei.aadl.model.parsesupport.LocationReference
getFilename, getLine, setFilename, setLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright
See Also:
Constant Field Values
Constructor Detail

NamedElementReference

public NamedElementReference()
object holding identifers for a Named Element reference. the context may be null

Method Detail

setContextName

public void setContextName(java.lang.String cn)

setElementName

public void setElementName(java.lang.String pn)

getContextName

public java.lang.String getContextName()

getElementName

public java.lang.String getElementName()