Interface Item

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
Contribution, Project, Revision, State
All Known Implementing Classes:
ContributionImpl, ItemImpl, ProjectImpl, RevisionImpl, StateImpl

public interface Item extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Item'. Common denominator for Project's and they parts.

The following features are supported:

See Also:
  • Method Details

    • getModelName

      String getModelName()
      Returns the value of the 'Model Name' attribute.

      If the meaning of the 'Model Name' attribute isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'Model Name' attribute.
      See Also:
    • setModelName

      void setModelName(String value)
      Sets the value of the 'Model Name' attribute.
      Parameters:
      value - the new value of the 'Model Name' attribute.
      See Also:
    • getPhase

      Stage getPhase()
      Returns the value of the 'Phase' attribute. The default value is "DEFINED". The literals are from the enumeration Stage.

      If the meaning of the 'Stage' attribute isn't clear, there really should be more of a description here...

      A Stage of em>Item's model.
      Returns:
      the value of the 'Phase' attribute.
      See Also:
    • setPhase

      void setPhase(Stage value)
      Sets the value of the 'Phase' attribute.
      Parameters:
      value - the new value of the 'Phase' attribute.
      See Also:
    • getLanguage

      String getLanguage()
      Returns the value of the 'Language' attribute. The default value is "".

      If the meaning of the 'Language' attribute isn't clear, there really should be more of a description here...

      Locale's language.
      Returns:
      the value of the 'Language' attribute.
      See Also:
    • setLanguage

      void setLanguage(String value)
      Sets the value of the 'Language' attribute.
      Parameters:
      value - the new value of the 'Language' attribute.
      See Also:
    • getDomainModel

      Models getDomainModel()
      Returns the value of the 'Domain Model' containment reference. It is bidirectional and its opposite is 'Parent'.

      If the meaning of the 'Domain Model' containment reference isn't clear, there really should be more of a description here...

      Subject ModelPair for Item making.
      Returns:
      the value of the 'Domain Model' containment reference.
      See Also:
    • setDomainModel

      void setDomainModel(Models value)
      Sets the value of the 'Domain Model' containment reference.
      Parameters:
      value - the new value of the 'Domain Model' containment reference.
      See Also:
    • getCustomizers

      org.eclipse.emf.common.util.EMap<StageQualifier,Customizer> getCustomizers()
      Returns the value of the 'Customizers' map. The key is of type StageQualifier, and the value is of type Customizer,

      If the meaning of the 'Customizers' map isn't clear, there really should be more of a description here...

      Customizers collection.
      Returns:
      the value of the 'Customizers' map.
      See Also:
    • getParent

      Item getParent()
      Returns the value of the 'Parent' reference.

      If the meaning of the 'Parent' reference isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'Parent' reference.
      See Also:
    • setParent

      void setParent(Item value)
      Sets the value of the 'Parent' reference.
      Parameters:
      value - the new value of the 'Parent' reference.
      See Also:
    • make

      String make(org.eclipse.core.runtime.IProgressMonitor monitor) throws Exception
      Throws:
      Exception
    • build

      void build(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Throws:
      org.eclipse.core.runtime.CoreException
    • initialize

      String initialize(boolean commit)
    • copyModel

      void copyModel(Item from)
    • getLocale

      Locale getLocale()
      Returns the value of the 'Locale' attribute. The default value is "". A Locale.
      Returns:
      the value of the 'Locale' attribute.
      See Also:
    • setLocale

      void setLocale(Locale value)
      Sets the value of the 'Locale' attribute.
      Parameters:
      value - the new value of the 'Locale' attribute.
      See Also:
    • getProject

      Project getProject()
      Returns the value of the 'Project' reference. Contribution associated with the Item.
      Returns:
      the value of the 'Project' reference.
      See Also:
    • setProject

      void setProject(Project value)
      Sets the value of the 'Project' reference.
      Parameters:
      value - the new value of the 'Project' reference.
      See Also:
    • load

      void load(boolean create, boolean loadOnDemand) throws org.eclipse.core.runtime.CoreException
      Throws:
      org.eclipse.core.runtime.CoreException