public class PatchElementImpl extends Object implements PatchElement
| Constructor and Description |
|---|
PatchElementImpl(String id) |
| Modifier and Type | Method and Description |
|---|---|
PatchElementImpl |
addContentModification(ContentModification modification) |
String |
getDescription()
The description of the patch element.
|
String |
getId()
Patch element identifier.
|
List<ContentModification> |
getModifications()
Get the content modifications.
|
PatchElementProvider |
getProvider()
The provider of the patch element.
|
PatchElementImpl |
setDescription(String descr) |
PatchElementImpl |
setProvider(PatchElementProvider provider) |
public PatchElementImpl(String id)
public String getId()
PatchElementgetId in interface PatchElementpublic String getDescription()
PatchElementgetDescription in interface PatchElementpublic PatchElementImpl setDescription(String descr)
public PatchElementProvider getProvider()
PatchElementgetProvider in interface PatchElementpublic PatchElementImpl setProvider(PatchElementProvider provider)
public List<ContentModification> getModifications()
PatchElementgetModifications in interface PatchElementpublic PatchElementImpl addContentModification(ContentModification modification)
Copyright © 2014 JBoss by Red Hat. All rights reserved.