|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.autosemantix.deltalog.Change
This class respresents a change in the current release of a project. There can be many different types of changes and each one may have several different elements to which it applies. Each change must have a target which represents the base environment where that change is taking place.
Field Summary | |
static int |
ADDITION
|
static int |
OTHER
|
static int |
REMOVAL
|
static int |
RENAME
|
Constructor Summary | |
Change()
|
|
Change(int type,
java.lang.String target)
|
Method Summary | |
void |
addElement(Element element)
Add a new element to this change. |
java.util.List |
getElements()
Get the list of elements that this change applies to. |
java.lang.String |
getTarget()
Get the target element of this change. |
void |
setTarget(java.lang.String target)
Set the target element of this change. |
java.lang.String |
toXML()
Get an XML representation of this change. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int OTHER
public static final int ADDITION
public static final int REMOVAL
public static final int RENAME
Constructor Detail |
public Change()
public Change(int type, java.lang.String target)
Method Detail |
public java.lang.String toXML()
public java.util.List getElements()
public void addElement(Element element)
element
- A new element.public java.lang.String getTarget()
public void setTarget(java.lang.String target)
target
- The target element.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |