public interface Model
extends org.eclipse.emf.ecore.EObject
The following features are supported:
Parent
Model
Version
Group Id
Artifact Id
Packaging
Name
Version
Description
Url
Prerequisites
Issue
Management
Ci
Management
Inception
Year
Mailing
Lists
Developers
Contributors
Licenses
Scm
Organization
Build
Profiles
Repositories
Plugin Repositories
Dependencies
Reporting
Dependency Management
Distribution Management
Properties
Modules
PomPackage.getModel()
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId()
Returns the value of the 'Artifact Id' attribute.
|
Build |
getBuild()
Returns the value of the 'Build' containment reference.
|
CiManagement |
getCiManagement()
Returns the value of the 'Ci Management' containment
reference.
|
org.eclipse.emf.common.util.EList<Contributor> |
getContributors()
Returns the value of the 'Contributors' containment
reference list.
|
org.eclipse.emf.common.util.EList<Dependency> |
getDependencies()
Returns the value of the 'Dependencies' containment
reference list.
|
DependencyManagement |
getDependencyManagement()
Returns the value of the 'Dependency Management'
containment reference.
|
String |
getDescription()
Returns the value of the 'Description' attribute.
|
org.eclipse.emf.common.util.EList<Developer> |
getDevelopers()
Returns the value of the 'Developers' containment
reference list.
|
DistributionManagement |
getDistributionManagement()
Returns the value of the 'Distribution Management'
containment reference.
|
String |
getGroupId()
Returns the value of the 'Group Id' attribute.
|
String |
getInceptionYear()
Returns the value of the 'Inception Year' attribute.
|
IssueManagement |
getIssueManagement()
Returns the value of the 'Issue Management' containment
reference.
|
org.eclipse.emf.common.util.EList<License> |
getLicenses()
Returns the value of the 'Licenses' containment reference
list.
|
org.eclipse.emf.common.util.EList<MailingList> |
getMailingLists()
Returns the value of the 'Mailing Lists' containment
reference list.
|
String |
getModelVersion()
Returns the value of the 'Model Version' attribute.
|
org.eclipse.emf.common.util.EList<String> |
getModules()
Returns the value of the 'Modules' attribute list.
|
String |
getName()
Returns the value of the 'Name' attribute.
|
Organization |
getOrganization()
Returns the value of the 'Organization' containment
reference.
|
String |
getPackaging()
Returns the value of the 'Packaging' attribute.
|
Parent |
getParent()
Returns the value of the 'Parent' containment reference.
|
org.eclipse.emf.common.util.EList<Repository> |
getPluginRepositories()
Returns the value of the 'Plugin Repositories'
containment reference list.
|
Prerequisites |
getPrerequisites()
Returns the value of the 'Prerequisites' containment
reference.
|
org.eclipse.emf.common.util.EList<Profile> |
getProfiles()
Returns the value of the 'Profiles' containment reference
list.
|
org.eclipse.emf.common.util.EList<PropertyElement> |
getProperties()
Returns the value of the 'Properties' containment
reference list.
|
Reporting |
getReporting()
Returns the value of the 'Reporting' containment
reference.
|
org.eclipse.emf.common.util.EList<Repository> |
getRepositories()
Returns the value of the 'Repositories' containment
reference list.
|
Scm |
getScm()
Returns the value of the 'Scm' containment reference.
|
String |
getUrl()
Returns the value of the 'Url' attribute.
|
String |
getVersion()
Returns the value of the 'Version' attribute.
|
boolean |
isSetBuild()
Returns whether the value of the '
Build '
containment reference is set. |
boolean |
isSetCiManagement()
Returns whether the value of the '
Ci Management ' containment reference is set. |
boolean |
isSetContributors()
Returns whether the value of the '
Contributors ' containment reference list is set. |
boolean |
isSetDependencies()
Returns whether the value of the '
Dependencies ' containment reference list is set. |
boolean |
isSetDependencyManagement()
Returns whether the value of the '
Dependency Management ' containment reference is set. |
boolean |
isSetDevelopers()
Returns whether the value of the '
Developers ' containment reference list is set. |
boolean |
isSetDistributionManagement()
Returns whether the value of the '
Distribution Management ' containment reference is set. |
boolean |
isSetIssueManagement()
Returns whether the value of the '
Issue Management ' containment reference is set. |
boolean |
isSetMailingLists()
Returns whether the value of the '
Mailing Lists ' containment reference list is set. |
boolean |
isSetOrganization()
Returns whether the value of the '
Organization ' containment reference is set. |
boolean |
isSetPackaging()
Returns whether the value of the '
Packaging ' attribute is set. |
boolean |
isSetParent()
Returns whether the value of the '
Parent '
containment reference is set. |
boolean |
isSetPluginRepositories()
Returns whether the value of the '
Plugin Repositories ' containment reference list is set. |
boolean |
isSetPrerequisites()
Returns whether the value of the '
Prerequisites ' containment reference is set. |
boolean |
isSetProfiles()
Returns whether the value of the '
Profiles '
containment reference list is set. |
boolean |
isSetProperties()
Returns whether the value of the '
Properties ' containment reference list is set. |
boolean |
isSetReporting()
Returns whether the value of the '
Reporting ' containment reference is set. |
boolean |
isSetRepositories()
Returns whether the value of the '
Repositories ' containment reference list is set. |
boolean |
isSetScm()
Returns whether the value of the '
Scm '
containment reference is set. |
void |
setArtifactId(String value)
Sets the value of the '
Artifact Id ' attribute. |
void |
setBuild(Build value)
Sets the value of the '
Build '
containment reference. |
void |
setCiManagement(CiManagement value)
Sets the value of the '
Ci Management ' containment reference. |
void |
setDependencyManagement(DependencyManagement value)
Sets the value of the '
Dependency Management ' containment reference. |
void |
setDescription(String value)
Sets the value of the '
Description ' attribute. |
void |
setDistributionManagement(DistributionManagement value)
Sets the value of the '
Distribution Management ' containment reference. |
void |
setGroupId(String value)
Sets the value of the '
Group Id '
attribute. |
void |
setInceptionYear(String value)
Sets the value of the '
Inception Year ' attribute. |
void |
setIssueManagement(IssueManagement value)
Sets the value of the '
Issue Management ' containment reference. |
void |
setModelVersion(String value)
Sets the value of the '
Model Version ' attribute. |
void |
setName(String value)
Sets the value of the '
Name ' attribute. |
void |
setOrganization(Organization value)
Sets the value of the '
Organization ' containment reference. |
void |
setPackaging(String value)
Sets the value of the '
Packaging ' attribute. |
void |
setParent(Parent value)
Sets the value of the '
Parent '
containment reference. |
void |
setPrerequisites(Prerequisites value)
Sets the value of the '
Prerequisites ' containment reference. |
void |
setReporting(Reporting value)
Sets the value of the '
Reporting ' containment reference. |
void |
setScm(Scm value)
Sets the value of the '
Scm ' containment reference. |
void |
setUrl(String value)
Sets the value of the '
Url ' attribute. |
void |
setVersion(String value)
Sets the value of the '
Version '
attribute. |
void |
unsetBuild()
Unsets the value of the '
Build '
containment reference. |
void |
unsetCiManagement()
Unsets the value of the '
Ci Management ' containment reference. |
void |
unsetContributors()
Unsets the value of the '
Contributors ' containment reference list. |
void |
unsetDependencies()
Unsets the value of the '
Dependencies ' containment reference list. |
void |
unsetDependencyManagement()
Unsets the value of the '
Dependency Management ' containment reference. |
void |
unsetDevelopers()
Unsets the value of the '
Developers ' containment reference list. |
void |
unsetDistributionManagement()
Unsets the value of the '
Distribution Management ' containment reference. |
void |
unsetIssueManagement()
Unsets the value of the '
Issue Management ' containment reference. |
void |
unsetMailingLists()
Unsets the value of the '
Mailing Lists ' containment reference list. |
void |
unsetOrganization()
Unsets the value of the '
Organization ' containment reference. |
void |
unsetPackaging()
Unsets the value of the '
Packaging ' attribute. |
void |
unsetParent()
Unsets the value of the '
Parent '
containment reference. |
void |
unsetPluginRepositories()
Unsets the value of the '
Plugin Repositories ' containment reference list. |
void |
unsetPrerequisites()
Unsets the value of the '
Prerequisites ' containment reference. |
void |
unsetProfiles()
Unsets the value of the '
Profiles '
containment reference list. |
void |
unsetProperties()
Unsets the value of the '
Properties ' containment reference list. |
void |
unsetReporting()
Unsets the value of the '
Reporting ' containment reference. |
void |
unsetRepositories()
Unsets the value of the '
Repositories ' containment reference list. |
void |
unsetScm()
Unsets the value of the '
Scm '
containment reference. |
Parent getParent()
isSetParent()
,
unsetParent()
,
setParent(Parent)
,
PomPackage.getModel_Parent()
void setParent(Parent value)
Parent
'
containment reference. value
- the new value of the 'Parent' containment reference.isSetParent()
,
unsetParent()
,
getParent()
void unsetParent()
Parent
'
containment reference. isSetParent()
,
getParent()
,
setParent(Parent)
boolean isSetParent()
Parent
'
containment reference is set. unsetParent()
,
getParent()
,
setParent(Parent)
String getModelVersion()
setModelVersion(String)
,
PomPackage.getModel_ModelVersion()
void setModelVersion(String value)
Model Version
' attribute. value
- the new value of the 'Model Version' attribute.getModelVersion()
String getGroupId()
setGroupId(String)
,
PomPackage.getModel_GroupId()
void setGroupId(String value)
Group Id
'
attribute. value
- the new value of the 'Group Id' attribute.getGroupId()
String getArtifactId()
setArtifactId(String)
,
PomPackage.getModel_ArtifactId()
void setArtifactId(String value)
Artifact Id
' attribute. value
- the new value of the 'Artifact Id' attribute.getArtifactId()
String getPackaging()
isSetPackaging()
,
unsetPackaging()
,
setPackaging(String)
,
PomPackage.getModel_Packaging()
void setPackaging(String value)
Packaging
' attribute. value
- the new value of the 'Packaging' attribute.isSetPackaging()
,
unsetPackaging()
,
getPackaging()
void unsetPackaging()
Packaging
' attribute. isSetPackaging()
,
getPackaging()
,
setPackaging(String)
boolean isSetPackaging()
Packaging
' attribute is set. unsetPackaging()
,
getPackaging()
,
setPackaging(String)
String getName()
setName(String)
,
PomPackage.getModel_Name()
void setName(String value)
Name
' attribute. value
- the new value of the 'Name' attribute.getName()
String getVersion()
setVersion(String)
,
PomPackage.getModel_Version()
void setVersion(String value)
Version
'
attribute. value
- the new value of the 'Version' attribute.getVersion()
String getDescription()
setDescription(String)
,
PomPackage.getModel_Description()
void setDescription(String value)
Description
' attribute. value
- the new value of the 'Description' attribute.getDescription()
String getUrl()
setUrl(String)
,
PomPackage.getModel_Url()
void setUrl(String value)
Url
' attribute. value
- the new value of the 'Url' attribute.getUrl()
Prerequisites getPrerequisites()
isSetPrerequisites()
,
unsetPrerequisites()
,
setPrerequisites(Prerequisites)
,
PomPackage.getModel_Prerequisites()
void setPrerequisites(Prerequisites value)
Prerequisites
' containment reference.
value
- the new value of the 'Prerequisites' containment
reference.isSetPrerequisites()
,
unsetPrerequisites()
,
getPrerequisites()
void unsetPrerequisites()
Prerequisites
' containment reference.
boolean isSetPrerequisites()
Prerequisites
' containment reference is set. unsetPrerequisites()
,
getPrerequisites()
,
setPrerequisites(Prerequisites)
IssueManagement getIssueManagement()
isSetIssueManagement()
,
unsetIssueManagement()
,
setIssueManagement(IssueManagement)
,
PomPackage.getModel_IssueManagement()
void setIssueManagement(IssueManagement value)
Issue Management
' containment reference. value
- the new value of the 'Issue Management' containment
reference.isSetIssueManagement()
,
unsetIssueManagement()
,
getIssueManagement()
void unsetIssueManagement()
Issue Management
' containment reference. boolean isSetIssueManagement()
Issue Management
' containment reference is set. unsetIssueManagement()
,
getIssueManagement()
,
setIssueManagement(IssueManagement)
CiManagement getCiManagement()
isSetCiManagement()
,
unsetCiManagement()
,
setCiManagement(CiManagement)
,
PomPackage.getModel_CiManagement()
void setCiManagement(CiManagement value)
Ci Management
' containment reference.
value
- the new value of the 'Ci Management' containment
reference.isSetCiManagement()
,
unsetCiManagement()
,
getCiManagement()
void unsetCiManagement()
Ci Management
' containment reference.
boolean isSetCiManagement()
Ci Management
' containment reference is set. unsetCiManagement()
,
getCiManagement()
,
setCiManagement(CiManagement)
String getInceptionYear()
setInceptionYear(String)
,
PomPackage.getModel_InceptionYear()
void setInceptionYear(String value)
Inception Year
' attribute. value
- the new value of the 'Inception Year' attribute.getInceptionYear()
org.eclipse.emf.common.util.EList<MailingList> getMailingLists()
MailingList
.
3.0.0+
Contains information about a project's mailing lists.
isSetMailingLists()
,
unsetMailingLists()
,
PomPackage.getModel_MailingLists()
void unsetMailingLists()
Mailing Lists
' containment reference list. isSetMailingLists()
,
getMailingLists()
boolean isSetMailingLists()
Mailing Lists
' containment reference list is set. unsetMailingLists()
,
getMailingLists()
org.eclipse.emf.common.util.EList<Developer> getDevelopers()
Developer
.
3.0.0+
Describes the committers of a project.
isSetDevelopers()
,
unsetDevelopers()
,
PomPackage.getModel_Developers()
void unsetDevelopers()
Developers
' containment reference list.
isSetDevelopers()
,
getDevelopers()
boolean isSetDevelopers()
Developers
' containment reference list is set. unsetDevelopers()
,
getDevelopers()
org.eclipse.emf.common.util.EList<Contributor> getContributors()
Contributor
.
3.0.0+
Describes the contributors to a project that are not yet committers.
isSetContributors()
,
unsetContributors()
,
PomPackage.getModel_Contributors()
void unsetContributors()
Contributors
' containment reference list. isSetContributors()
,
getContributors()
boolean isSetContributors()
Contributors
' containment reference list is set. unsetContributors()
,
getContributors()
org.eclipse.emf.common.util.EList<License> getLicenses()
License
.
3.0.0+
This element describes all of the licenses for this project. Each license
is described by a <code>license</code> element, which is then
described by additional elements. Projects should only list the
license(s) that applies to the project and not the licenses that apply to
dependencies. If multiple licenses are listed, it is assumed that the
user can select any of them, not that they must accept all.
PomPackage.getModel_Licenses()
Scm getScm()
isSetScm()
,
unsetScm()
,
setScm(Scm)
,
PomPackage.getModel_Scm()
void setScm(Scm value)
Scm
' containment reference. value
- the new value of the 'Scm' containment reference.isSetScm()
,
unsetScm()
,
getScm()
void unsetScm()
Scm
'
containment reference. isSetScm()
,
getScm()
,
setScm(Scm)
boolean isSetScm()
Scm
'
containment reference is set. unsetScm()
,
getScm()
,
setScm(Scm)
Organization getOrganization()
isSetOrganization()
,
unsetOrganization()
,
setOrganization(Organization)
,
PomPackage.getModel_Organization()
void setOrganization(Organization value)
Organization
' containment reference.
value
- the new value of the 'Organization' containment
reference.isSetOrganization()
,
unsetOrganization()
,
getOrganization()
void unsetOrganization()
Organization
' containment reference.
boolean isSetOrganization()
Organization
' containment reference is set. unsetOrganization()
,
getOrganization()
,
setOrganization(Organization)
Build getBuild()
isSetBuild()
,
unsetBuild()
,
setBuild(Build)
,
PomPackage.getModel_Build()
void setBuild(Build value)
Build
'
containment reference. value
- the new value of the 'Build' containment reference.isSetBuild()
,
unsetBuild()
,
getBuild()
void unsetBuild()
Build
'
containment reference. isSetBuild()
,
getBuild()
,
setBuild(Build)
boolean isSetBuild()
Build
'
containment reference is set. unsetBuild()
,
getBuild()
,
setBuild(Build)
org.eclipse.emf.common.util.EList<Profile> getProfiles()
Profile
.
4.0.0
A listing of project-local build profiles which will modify the build
process when activated.
isSetProfiles()
,
unsetProfiles()
,
PomPackage.getModel_Profiles()
void unsetProfiles()
Profiles
'
containment reference list. isSetProfiles()
,
getProfiles()
boolean isSetProfiles()
Profiles
'
containment reference list is set. unsetProfiles()
,
getProfiles()
org.eclipse.emf.common.util.EList<Repository> getRepositories()
Repository
.
4.0.0 The lists of the
remote repositories for discovering dependencies and extensions. isSetRepositories()
,
unsetRepositories()
,
PomPackage.getModel_Repositories()
void unsetRepositories()
Repositories
' containment reference list. isSetRepositories()
,
getRepositories()
boolean isSetRepositories()
Repositories
' containment reference list is set. unsetRepositories()
,
getRepositories()
org.eclipse.emf.common.util.EList<Repository> getPluginRepositories()
Repository
.
4.0.0
The lists of the remote repositories for discovering plugins for builds
and reports. isSetPluginRepositories()
,
unsetPluginRepositories()
,
PomPackage.getModel_PluginRepositories()
void unsetPluginRepositories()
Plugin Repositories
' containment reference list. boolean isSetPluginRepositories()
Plugin Repositories
' containment reference list is set. unsetPluginRepositories()
,
getPluginRepositories()
org.eclipse.emf.common.util.EList<Dependency> getDependencies()
Dependency
.
3.0.0+
This element describes all of the dependencies associated with a project.
These dependencies are used to construct a classpath for your project
during the build process. They are automatically downloaded from the
repositories defined in this project. See <a href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html"
>the dependency mechanism</a> for more information.
isSetDependencies()
,
unsetDependencies()
,
PomPackage.getModel_Dependencies()
void unsetDependencies()
Dependencies
' containment reference list. isSetDependencies()
,
getDependencies()
boolean isSetDependencies()
Dependencies
' containment reference list is set. unsetDependencies()
,
getDependencies()
Reporting getReporting()
isSetReporting()
,
unsetReporting()
,
setReporting(Reporting)
,
PomPackage.getModel_Reporting()
void setReporting(Reporting value)
Reporting
' containment reference. value
- the new value of the 'Reporting' containment
reference.isSetReporting()
,
unsetReporting()
,
getReporting()
void unsetReporting()
Reporting
' containment reference. boolean isSetReporting()
Reporting
' containment reference is set. unsetReporting()
,
getReporting()
,
setReporting(Reporting)
DependencyManagement getDependencyManagement()
isSetDependencyManagement()
,
unsetDependencyManagement()
,
setDependencyManagement(DependencyManagement)
,
PomPackage.getModel_DependencyManagement()
void setDependencyManagement(DependencyManagement value)
Dependency Management
' containment reference. value
- the new value of the 'Dependency Management'
containment reference.isSetDependencyManagement()
,
unsetDependencyManagement()
,
getDependencyManagement()
void unsetDependencyManagement()
Dependency Management
' containment reference. boolean isSetDependencyManagement()
Dependency Management
' containment reference is set. unsetDependencyManagement()
,
getDependencyManagement()
,
setDependencyManagement(DependencyManagement)
DistributionManagement getDistributionManagement()
isSetDistributionManagement()
,
unsetDistributionManagement()
,
setDistributionManagement(DistributionManagement)
,
PomPackage.getModel_DistributionManagement()
void setDistributionManagement(DistributionManagement value)
Distribution Management
' containment reference. value
- the new value of the 'Distribution Management'
containment reference.isSetDistributionManagement()
,
unsetDistributionManagement()
,
getDistributionManagement()
void unsetDistributionManagement()
Distribution Management
' containment reference. boolean isSetDistributionManagement()
Distribution Management
' containment reference is set. unsetDistributionManagement()
,
getDistributionManagement()
,
setDistributionManagement(DistributionManagement)
org.eclipse.emf.common.util.EList<PropertyElement> getProperties()
PropertyElement
. 4.0.0
Properties that can be used throughout the POM as a substitution, and are
used as filters in resources if enabled. The format is
<code><name>value</name></code>.
isSetProperties()
,
unsetProperties()
,
PomPackage.getModel_Properties()
void unsetProperties()
Properties
' containment reference list.
isSetProperties()
,
getProperties()
boolean isSetProperties()
Properties
' containment reference list is set. unsetProperties()
,
getProperties()
org.eclipse.emf.common.util.EList<String> getModules()
String
.
If the meaning of the 'Modules' attribute list isn't clear, there really should be more of a description here...
PomPackage.getModel_Modules()
Copyright © 2005-2013 Sonatype, Inc.. All Rights Reserved.