Class SupplementalDataModel
- java.lang.Object
-
- org.apache.maven.plugin.resources.remote.SupplementalDataModel
-
- All Implemented Interfaces:
java.io.Serializable
public class SupplementalDataModel extends java.lang.Object implements java.io.Serializable
Root element of the supplemental-models.xml file.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
modelEncoding
Field modelEncoding.private java.util.List<Supplement>
supplement
Field supplement.
-
Constructor Summary
Constructors Constructor Description SupplementalDataModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSupplement(Supplement supplement)
Method addSupplement.java.lang.String
getModelEncoding()
Get the modelEncoding field.java.util.List<Supplement>
getSupplement()
Method getSupplement.void
removeSupplement(Supplement supplement)
Method removeSupplement.void
setModelEncoding(java.lang.String modelEncoding)
Set the modelEncoding field.void
setSupplement(java.util.List<Supplement> supplement)
Set snippets of POM xml files used to supplement the data model.
-
-
-
Field Detail
-
supplement
private java.util.List<Supplement> supplement
Field supplement.
-
modelEncoding
private java.lang.String modelEncoding
Field modelEncoding.
-
-
Method Detail
-
addSupplement
public void addSupplement(Supplement supplement)
Method addSupplement.- Parameters:
supplement
- a supplement object.
-
getModelEncoding
public java.lang.String getModelEncoding()
Get the modelEncoding field.- Returns:
- String
-
getSupplement
public java.util.List<Supplement> getSupplement()
Method getSupplement.- Returns:
- List
-
removeSupplement
public void removeSupplement(Supplement supplement)
Method removeSupplement.- Parameters:
supplement
- a supplement object.
-
setModelEncoding
public void setModelEncoding(java.lang.String modelEncoding)
Set the modelEncoding field.- Parameters:
modelEncoding
- a modelEncoding object.
-
setSupplement
public void setSupplement(java.util.List<Supplement> supplement)
Set snippets of POM xml files used to supplement the data model.- Parameters:
supplement
- a supplement object.
-
-