com.sodius.mdw.core.eval.debug
Interface TypeReference

All Superinterfaces:
ElementReference

public interface TypeReference
extends ElementReference

A reference to a type defining scripts.

This interface is not intended to be implemented by clients.

See Also:
ProjectReference.getTypes()

Method Summary
 String getInstanceClassName()
          Returns the Java instance class name that this type represents ("com.sodius.mdw.metamodel.uml21.Classifier" for example).
 String getName()
          Returns the simple name of this type ("Classifier", or "Class:EJB" for example).
 String getProfileName()
          Returns the profile name part of this type ("EJB" for example).
 Collection<ScriptReference> getScripts()
          Returns the scripts defined on this type are which are used during the evaluation.
 boolean isProfileType()
          Determines wheter this type is defined in a profile.
 
Methods inherited from interface com.sodius.mdw.core.eval.debug.ElementReference
getProject
 

Method Detail

getName

String getName()
Returns the simple name of this type ("Classifier", or "Class:EJB" for example).

Specified by:
getName in interface ElementReference
Returns:
the type simple name.
See Also:
getInstanceClassName()

getInstanceClassName

String getInstanceClassName()
Returns the Java instance class name that this type represents ("com.sodius.mdw.metamodel.uml21.Classifier" for example).

Returns:
the Java instance class name that this type represents.

isProfileType

boolean isProfileType()
Determines wheter this type is defined in a profile.

Returns:
true if this type comes from a profile, false otherwise.

getProfileName

String getProfileName()
Returns the profile name part of this type ("EJB" for example).

Returns:
the profile name part of this type name, null if this is not a profile type.
See Also:
getName(), isProfileType()

getScripts

Collection<ScriptReference> getScripts()
Returns the scripts defined on this type are which are used during the evaluation.

Returns:
an unmodifiable collection of ScriptReference elements.