org.eclipse.xtext.resource
Class AbstractEObjectDescription

java.lang.Object
  extended by org.eclipse.xtext.resource.AbstractEObjectDescription
All Implemented Interfaces:
IEObjectDescription
Direct Known Subclasses:
AliasedEObjectDescription, EObjectDescription, JdtBasedConstructorScope.LazyConstructorDescription, MultiNameDescription

public abstract class AbstractEObjectDescription
extends java.lang.Object
implements IEObjectDescription

Author:
Sven Efftinge - Initial contribution and API

Constructor Summary
protected AbstractEObjectDescription()
           
 
Method Summary
 java.lang.String getUserData(java.lang.String name)
          Access to specific user data.
 java.lang.String[] getUserDataKeys()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtext.resource.IEObjectDescription
getEClass, getEObjectOrProxy, getEObjectURI, getName, getQualifiedName
 

Constructor Detail

AbstractEObjectDescription

protected AbstractEObjectDescription()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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
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
Returns:
all available user data keys. Never null.