org.acm.seguin.ide.common
Class CodingStandardsViewer.Violations

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.acm.seguin.ide.common.CodingStandardsViewer.Violations
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Enclosing class:
CodingStandardsViewer

public class CodingStandardsViewer.Violations
extends javax.swing.tree.DefaultMutableTreeNode

Description of the Class

Author:
Mike Atkinson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
CodingStandardsViewer.Violations(java.lang.String message, java.lang.String sourcecode)
          Constructor for the Duplicates object
 
Method Summary
 void addViolation(CodingStandardsViewer.Violation violation)
          Adds a feature to the Duplicate attribute of the Duplicates object
 java.lang.String getSourceCode()
          Gets the sourceCode attribute of the Duplicates object
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CodingStandardsViewer.Violations

public CodingStandardsViewer.Violations(java.lang.String message,
                                        java.lang.String sourcecode)
Constructor for the Duplicates object

Parameters:
message - Description of Parameter
sourcecode - Description of Parameter
Method Detail

getSourceCode

public java.lang.String getSourceCode()
Gets the sourceCode attribute of the Duplicates object

Returns:
The sourceCode value

addViolation

public void addViolation(CodingStandardsViewer.Violation violation)
Adds a feature to the Duplicate attribute of the Duplicates object

Parameters:
violation - The feature to be added to the Violation attribute

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class javax.swing.tree.DefaultMutableTreeNode
Returns:
Description of the Return Value