Package org.enterprisedomain.classmaker
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 Summary
Modifier and TypeMethodDescriptionvoid
build
(org.eclipse.core.runtime.IProgressMonitor monitor) void
org.eclipse.emf.common.util.EMap<StageQualifier,
Customizer> Returns the value of the 'Customizers' map.Returns the value of the 'Domain Model' containment reference.Returns the value of the 'Language' attribute.Returns the value of the 'Locale' attribute.Returns the value of the 'Model Name' attribute.Returns the value of the 'Parent' reference.getPhase()
Returns the value of the 'Phase' attribute.Returns the value of the 'Project' reference.initialize
(boolean commit) void
load
(boolean create, boolean loadOnDemand) make
(org.eclipse.core.runtime.IProgressMonitor monitor) void
setDomainModel
(Models value) Sets the value of the 'Domain Model
' containment reference.void
setLanguage
(String value) Sets the value of the 'Language
' attribute.void
Sets the value of the 'Locale
' attribute.void
setModelName
(String value) Sets the value of the 'Model Name
' attribute.void
Sets the value of the 'Parent
' reference.void
Sets the value of the 'Phase
' attribute.void
setProject
(Project value) Sets the value of the 'Project
' reference.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
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
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 enumerationStage
.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
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
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 Itemmaking
.- Returns:
- the value of the 'Domain Model' containment reference.
- See Also:
-
ClassMakerPackage.getItem_DomainModel()
org.enterprisedomain.classmaker.ModelPair#getParent
-
setDomainModel
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 typeStageQualifier
, and the value is of typeCustomizer
,If the meaning of the 'Customizers' map isn't clear, there really should be more of a description here...
Customizer
s 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
Sets the value of the 'Parent
' reference.- Parameters:
value
- the new value of the 'Parent' reference.- See Also:
-
make
- Throws:
Exception
-
build
void build(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
initialize
-
copyModel
-
getLocale
Locale getLocale()Returns the value of the 'Locale' attribute. The default value is""
. ALocale
.- Returns:
- the value of the 'Locale' attribute.
- See Also:
-
setLocale
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
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
-