net.sf.jmd.evaluation.impl
Class Difference

java.lang.Object
  extended by net.sf.jmd.evaluation.impl.Difference
All Implemented Interfaces:
IDifference

public class Difference
extends java.lang.Object
implements IDifference

Author:
Jan Hinzmann

Nested Class Summary
 
Nested classes/interfaces inherited from interface net.sf.jmd.evaluation.IDifference
IDifference.Layer, IDifference.Severity, IDifference.Status
 
Constructor Summary
Difference()
           
 
Method Summary
 void addSubDifference(IDifference subdifference)
           
 IModelElement getAMElement()
           
 java.lang.String getDescription()
           
 IModelElement getDMElement()
           
 IDifference.Layer getLayer()
           
 java.lang.String getName()
           
 IModelElement getParentElement()
           
 IDifference.Severity getSeverity()
           
 IDifference.Status getStatus()
           
 java.util.List<IDifference> getSubDifferences()
           
 void setAMElement(IModelElement newAMElement)
           
 void setDescription(java.lang.String newDescription)
           
 void setDMElement(IModelElement newDMElement)
           
 void setLayer(IDifference.Layer newLayer)
           
 void setName(java.lang.String newName)
           
 void setParentElement(IModelElement newParentElement)
           
 void setSeverity(IDifference.Severity newSeverity)
           
 void setStatus(IDifference.Status newStatus)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Difference

public Difference()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface IDifference
Returns:
the name

setName

public void setName(java.lang.String newName)
Specified by:
setName in interface IDifference
Parameters:
newName - the name to set

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface IDifference
Returns:
the description

setDescription

public void setDescription(java.lang.String newDescription)
Specified by:
setDescription in interface IDifference
Parameters:
description - the description to set

getAMElement

public IModelElement getAMElement()
Specified by:
getAMElement in interface IDifference

getDMElement

public IModelElement getDMElement()
Specified by:
getDMElement in interface IDifference

getLayer

public IDifference.Layer getLayer()
Specified by:
getLayer in interface IDifference

getStatus

public IDifference.Status getStatus()
Specified by:
getStatus in interface IDifference

getSeverity

public IDifference.Severity getSeverity()
Specified by:
getSeverity in interface IDifference

setSeverity

public void setSeverity(IDifference.Severity newSeverity)
Specified by:
setSeverity in interface IDifference

setAMElement

public void setAMElement(IModelElement newAMElement)
Specified by:
setAMElement in interface IDifference

setDMElement

public void setDMElement(IModelElement newDMElement)
Specified by:
setDMElement in interface IDifference

getParentElement

public IModelElement getParentElement()
Specified by:
getParentElement in interface IDifference
Returns:
the parentElement

setParentElement

public void setParentElement(IModelElement newParentElement)
Specified by:
setParentElement in interface IDifference
Parameters:
parentElement - the parentElement to set

setLayer

public void setLayer(IDifference.Layer newLayer)
Specified by:
setLayer in interface IDifference

setStatus

public void setStatus(IDifference.Status newStatus)
Specified by:
setStatus in interface IDifference

addSubDifference

public void addSubDifference(IDifference subdifference)
Specified by:
addSubDifference in interface IDifference

getSubDifferences

public java.util.List<IDifference> getSubDifferences()
Specified by:
getSubDifferences in interface IDifference

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007-2010. All Rights Reserved.