org.autosemantix.deltalog
Interface Element

All Known Implementing Classes:
AttributeElement, ClassElement, DefaultElement, PackageElement

public interface Element

This interface specifies the methods available to any element of a change log. Thses elements are the parts of the project code that have changed since the previous release.

Version:
Created on Sep 1, 2005
Author:
Shawn Simister

Method Summary
 java.lang.String getAnnotation()
          Get the annotation associated with this element.
 void setAnnotation(java.lang.String annotation)
          Set the annotation for this element.
 java.lang.String toString()
          Get the string representation of this element.
 java.lang.String toURI()
          Get the URI for this element.
 java.lang.String toXML()
          Get the XML serialization of this element.
 

Method Detail

getAnnotation

public java.lang.String getAnnotation()
Get the annotation associated with this element.

Returns:
The annotation String.

setAnnotation

public void setAnnotation(java.lang.String annotation)
Set the annotation for this element.

Parameters:
annotation - The new annotation.

toString

public java.lang.String toString()
Get the string representation of this element.

Returns:
A string representing the element.

toXML

public java.lang.String toXML()
Get the XML serialization of this element.

Returns:
The element serialized to XML.

toURI

public java.lang.String toURI()
Get the URI for this element.

Returns:
The element's URI.