public class DefaultModelComponentContent extends Object implements IModelComponentContent
IModelComponentContent
interface.Modifier and Type | Field and Description |
---|---|
protected Set<IStereotype> |
dependencyStereotypes |
protected Set<IElement> |
elements |
protected Set<String> |
files |
protected Set<INoteType> |
noteTypes |
protected Set<ITagType> |
tagTypes |
Constructor and Description |
---|
DefaultModelComponentContent()
Default constructor, initializing all fields.
|
Modifier and Type | Method and Description |
---|---|
void |
addDependencyStereotype(IStereotype stereotype)
Return the set of dependency stereotypes that must be added to a model component.
|
void |
addDictionaryElement(IDictionaryElement dictionaryElement)
Adds a dictionary element to the set of dictionary elements that must be added to a model component
|
void |
addFiles(String file)
Adds a file path to the set of files path that must be added to a model component.
|
void |
addNameSpace(INameSpace namespace)
Adds a namespace to the set of namespaces that must be added to a model component.
|
void |
addNoteType(INoteType noteType)
Adds a note type to the set of note types that must be added to a model component.
|
void |
addPropertySet(IPropertySet propertySet)
Adds a property set to the set of property sets that must be added to a model component
|
void |
addPropertyType(IPropertyType propertyType)
Adds a property type to the set of property types that must be added to a model component
|
void |
addRequirementElement(IRequirementElement requirementElement)
Adds a requirement element to the set of requirement elements that must be added to a model component
|
void |
addTagType(ITagType tagType)
Adds a tagged value to the set of tagged value types that must be added to a model component.
|
Set<IStereotype> |
getDependencyStereotypes()
Return the set of dependency stereotypes that must be added to a model component.
|
Set<IElement> |
getElements()
Return the set of Elements that must be added to a model component.
|
Set<String> |
getFiles()
Return the set of files path that must be added to a model component.
|
Set<INoteType> |
getNoteTypes()
Return the set of note types that must be added to a model component.
|
Set<ITagType> |
getTagTypes()
Return the set of tagged value types that must be added to a model component.
|
protected Set<IStereotype> dependencyStereotypes
public DefaultModelComponentContent()
public Set<IStereotype> getDependencyStereotypes()
The Strings returned by the method are the names of the stereotypes that extends the Dependency link. Only dependencies that own one of the stereotype of the set will be exported in the model component.
getDependencyStereotypes
in interface IModelComponentContent
public Set<String> getFiles()
The provided paths must be relative to the project path. If the provided path does not match a file in the project, it will be ignored.
getFiles
in interface IModelComponentContent
public Set<IElement> getElements()
getElements
in interface IModelComponentContent
public Set<INoteType> getNoteTypes()
getNoteTypes
in interface IModelComponentContent
public Set<ITagType> getTagTypes()
getTagTypes
in interface IModelComponentContent
public void addDependencyStereotype(IStereotype stereotype)
Only dependencies that own one of the stereotype of the set will be exported in the model component.
stereotype
- the stereotype to addpublic void addDictionaryElement(IDictionaryElement dictionaryElement)
dictionaryElement
- the dictionary element to addpublic void addFiles(String file)
The provided paths must be relative to the project path. If the provided path does not match a file in the project, it will be ignored.
file
- the file path to addpublic void addNameSpace(INameSpace namespace)
namespace
- the namespace to addpublic void addNoteType(INoteType noteType)
noteType
- the note type to addpublic void addPropertySet(IPropertySet propertySet)
propertySet
- the property set to addpublic void addPropertyType(IPropertyType propertyType)
propertyType
- the property type to addpublic void addRequirementElement(IRequirementElement requirementElement)
requirementElement
- the element to addpublic void addTagType(ITagType tagType)
tagType
- the type to add