org.eclipse.xtext.resource.impl
Class AliasedEObjectDescription
java.lang.Object
org.eclipse.xtext.resource.AbstractEObjectDescription
org.eclipse.xtext.resource.impl.AliasedEObjectDescription
- All Implemented Interfaces:
- IEObjectDescription
public class AliasedEObjectDescription
- extends AbstractEObjectDescription
- Author:
- Sven Efftinge - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AliasedEObjectDescription
public AliasedEObjectDescription(QualifiedName alias,
IEObjectDescription delegate)
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()