org.sonar.plugins.checkstyle.xml
Class Module

java.lang.Object
  extended by org.sonar.plugins.checkstyle.xml.Module
All Implemented Interfaces:
java.lang.Comparable<java.lang.String>

public class Module
extends java.lang.Object
implements java.lang.Comparable<java.lang.String>


Constructor Summary
Module(java.lang.String name)
           
Module(java.lang.String name, Module parent)
           
Module(java.lang.String name, Module parent, java.util.List<Property> properties)
           
 
Method Summary
 void addChild(Module child)
           
 int compareTo(java.lang.String o)
           
 int getChildPosition(java.lang.String nameToFind)
           
 java.util.List<Module> getChildren()
           
 java.lang.String getName()
           
 java.util.List<Property> getProperties()
           
 void setProperties(java.util.List<Property> properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Module

public Module(java.lang.String name,
              Module parent,
              java.util.List<Property> properties)

Module

public Module(java.lang.String name,
              Module parent)

Module

public Module(java.lang.String name)
Method Detail

addChild

public void addChild(Module child)

getName

public java.lang.String getName()

setProperties

public void setProperties(java.util.List<Property> properties)

getProperties

public java.util.List<Property> getProperties()

getChildren

public java.util.List<Module> getChildren()

compareTo

public int compareTo(java.lang.String o)
Specified by:
compareTo in interface java.lang.Comparable<java.lang.String>

getChildPosition

public int getChildPosition(java.lang.String nameToFind)


Copyright © 2007-2008 hortis. All Rights Reserved.