org.eclipse.xtext.resource.impl
Class AliasedEObjectDescription

java.lang.Object
  extended by org.eclipse.xtext.resource.AbstractEObjectDescription
      extended by org.eclipse.xtext.resource.impl.AliasedEObjectDescription
All Implemented Interfaces:
IEObjectDescription

public class AliasedEObjectDescription
extends AbstractEObjectDescription

Author:
Sven Efftinge - Initial contribution and API

Constructor Summary
AliasedEObjectDescription(QualifiedName alias, IEObjectDescription delegate)
           
 
Method Summary
 IEObjectDescription getAliasedEObjectDescription()
           
 org.eclipse.emf.ecore.EClass getEClass()
           
 org.eclipse.emf.ecore.EObject getEObjectOrProxy()
           
 org.eclipse.emf.common.util.URI getEObjectURI()
           
 QualifiedName getName()
           
 QualifiedName getQualifiedName()
           
 java.lang.String getUserData(java.lang.String name)
          Access to specific user data.
 java.lang.String[] getUserDataKeys()
           
 
Methods inherited from class org.eclipse.xtext.resource.AbstractEObjectDescription
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AliasedEObjectDescription

public AliasedEObjectDescription(QualifiedName alias,
                                 IEObjectDescription delegate)
Method Detail

getName

public QualifiedName getName()
Returns:
the name, this element can be accessed by.

getQualifiedName

public QualifiedName getQualifiedName()
Returns:
the qualified name of the element.

getEObjectOrProxy

public org.eclipse.emf.ecore.EObject getEObjectOrProxy()
Returns:
the actual element or a proxy.

getEObjectURI

public org.eclipse.emf.common.util.URI getEObjectURI()
Returns:
the full URI to the described element

getUserData

public java.lang.String getUserData(java.lang.String name)
Description copied from interface: IEObjectDescription
Access to specific user data.

Specified by:
getUserData in interface IEObjectDescription
Overrides:
getUserData in class AbstractEObjectDescription
Parameters:
name - the user data key. May not be null. Unknown keys yield null.
Returns:
the value. May be null.

getUserDataKeys

public java.lang.String[] getUserDataKeys()
Specified by:
getUserDataKeys in interface IEObjectDescription
Overrides:
getUserDataKeys in class AbstractEObjectDescription
Returns:
all available user data keys. Never null.

getEClass

public org.eclipse.emf.ecore.EClass getEClass()
Returns:
the EClass of the described element.

getAliasedEObjectDescription

public IEObjectDescription getAliasedEObjectDescription()