public final class ModelFragmentWrapper
extends java.lang.Object
MModelFragments that contains additional information
needed while merging the fragments.| Constructor and Description |
|---|
ModelFragmentWrapper(MModelFragments fragmentContainer,
MModelFragment modelFragment,
java.lang.String contributorName,
java.lang.String contributorURI,
boolean checkExists)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContributorName() |
java.lang.String |
getContributorURI() |
MModelFragments |
getFragmentContainer() |
MModelFragment |
getModelFragment() |
boolean |
isCheckExists() |
void |
setCheckExists(boolean checkExists) |
void |
setContributorName(java.lang.String contributorName) |
void |
setContributorURI(java.lang.String contributorURI) |
void |
setFragmentContainer(MModelFragments fragmentContainer) |
void |
setModelFragment(MModelFragment modelFragment) |
public ModelFragmentWrapper(MModelFragments fragmentContainer,
MModelFragment modelFragment,
java.lang.String contributorName,
java.lang.String contributorURI,
boolean checkExists)
fragmentContainer - the fragment containermodelFragment - the fragment to be mergedcontributorName - the name of the element contributing the fragmentcontributorURI - the URI of the element contributing the fragmentcheckExists - specifies whether we should check that the application model
doesn't already contain the elements contributed by the
fragment before merging itpublic MModelFragment getModelFragment()
public void setModelFragment(MModelFragment modelFragment)
modelFragment - the modelFragment to setpublic MModelFragments getFragmentContainer()
public void setFragmentContainer(MModelFragments fragmentContainer)
fragmentContainer - the fragmentContainer to setpublic boolean isCheckExists()
public void setCheckExists(boolean checkExists)
checkExists - the checkExists to setpublic java.lang.String getContributorName()
public void setContributorName(java.lang.String contributorName)
contributorName - the contributorName to setpublic java.lang.String getContributorURI()
public void setContributorURI(java.lang.String contributorURI)
contributorURI - the contributorURI to set