com.sodius.mdw.core.eval.project
Interface ProjectElement

All Known Subinterfaces:
ProjectUnit, Rule, RuleSet, Script, TextTemplate

public interface ProjectElement

An named element, part of a project.

This interface is not intended to be implemented by clients.


Method Summary
 Location getLocation()
          Returns the element resource location.
 String getName()
          Returns the element name.
 int getParameterCount()
          Returns the number of parameters of this element.
 List<Parameter> getParameters()
          Returns the list of parameters attached to this element.
 VisibilityKind getVisibility()
          Returns the element visibility.
 

Method Detail

getLocation

Location getLocation()
Returns the element resource location.

Returns:
the element resource location.

getName

String getName()
Returns the element name.

Returns:
the element name.

getVisibility

VisibilityKind getVisibility()
Returns the element visibility.

Returns:
the element visibility.

getParameters

List<Parameter> getParameters()
Returns the list of parameters attached to this element.

If this element is a script or a rule, the returned list will contain instances of Parameter. If it is a template, the returned list may contain Parameter and ModelParameter elements.

Returns:
an unmodifiable list of Parameter and ModelParameter elements.

getParameterCount

int getParameterCount()
Returns the number of parameters of this element.

Returns:
the number of parameters of this element.