Package org.enterprisedomain.classmaker
Interface Item
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
Contribution
,Revision
,State
- All Known Implementing Classes:
ContributionImpl
,ItemImpl
,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:
ClassMakerPackage.getItem()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
build(org.eclipse.core.runtime.IProgressMonitor monitor)
void
copyModel(Item from)
org.eclipse.emf.common.util.EMap<StageQualifier,Customizer>
getCustomizers()
Returns the value of the 'Customizers' map.ModelPair
getDomainModel()
Returns the value of the 'Domain Model' containment reference.java.lang.String
getLanguage()
Returns the value of the 'Language' attribute.java.util.Locale
getLocale()
Returns the value of the 'Locale' attribute.java.lang.String
getModelName()
Returns the value of the 'Model Name' attribute.Item
getParent()
Returns the value of the 'Parent' reference.Stage
getPhase()
Returns the value of the 'Phase' attribute.Project
getProject()
Returns the value of the 'Project' reference.java.lang.String
initialize(boolean commit)
void
load(boolean create)
java.lang.String
make(org.eclipse.core.runtime.IProgressMonitor monitor)
void
setDomainModel(ModelPair value)
Sets the value of the 'Domain Model
' containment reference.void
setLanguage(java.lang.String value)
Sets the value of the 'Language
' attribute.void
setLocale(java.util.Locale value)
Sets the value of the 'Locale
' attribute.void
setModelName(java.lang.String value)
Sets the value of the 'Model Name
' attribute.void
setParent(Item value)
Sets the value of the 'Parent
' reference.void
setPhase(Stage value)
Sets the value of the 'Phase
' attribute.void
setProject(Project value)
Sets the value of the 'Project
' reference.
-
-
-
Method Detail
-
getModelName
java.lang.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(String)
,ClassMakerPackage.getItem_ModelName()
-
setModelName
void setModelName(java.lang.String value)
Sets the value of the 'Model Name
' attribute.- Parameters:
value
- the new value of the 'Model Name' attribute.- See Also:
getModelName()
-
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:
Stage
,setPhase(Stage)
,ClassMakerPackage.getItem_Phase()
-
setPhase
void setPhase(Stage value)
Sets the value of the 'Phase
' attribute.- Parameters:
value
- the new value of the 'Phase' attribute.- See Also:
Stage
,getPhase()
-
getLanguage
java.lang.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(String)
,ClassMakerPackage.getItem_Language()
-
setLanguage
void setLanguage(java.lang.String value)
Sets the value of the 'Language
' attribute.- Parameters:
value
- the new value of the 'Language' attribute.- See Also:
getLanguage()
-
getDomainModel
ModelPair 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()
,ModelPair.getParent()
-
setDomainModel
void setDomainModel(ModelPair value)
Sets the value of the 'Domain Model
' containment reference.- Parameters:
value
- the new value of the 'Domain Model' containment reference.- See Also:
getDomainModel()
-
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:
ClassMakerPackage.getItem_Customizers()
-
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(Item)
,ClassMakerPackage.getItem_Parent()
-
setParent
void setParent(Item value)
Sets the value of the 'Parent
' reference.- Parameters:
value
- the new value of the 'Parent' reference.- See Also:
getParent()
-
load
void load(boolean create) throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
-
make
java.lang.String make(org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.Exception
- Throws:
java.lang.Exception
-
build
void build(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
-
initialize
java.lang.String initialize(boolean commit)
-
copyModel
void copyModel(Item from)
-
getLocale
java.util.Locale getLocale()
Returns the value of the 'Locale' attribute. The default value is""
. ALocale
.- Returns:
- the value of the 'Locale' attribute.
- See Also:
ClassMakerPackage.getItem_Locale()
-
setLocale
void setLocale(java.util.Locale value)
Sets the value of the 'Locale
' attribute.- Parameters:
value
- the new value of the 'Locale' attribute.- See Also:
getLocale()
-
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(Project)
,ClassMakerPackage.getItem_Project()
-
setProject
void setProject(Project value)
Sets the value of the 'Project
' reference.- Parameters:
value
- the new value of the 'Project' reference.- See Also:
getProject()
-
-