|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtheque.metrics.utils.elements.Constructor
public final class Constructor
Represent a constructor.
Constructor Summary | |
---|---|
Constructor(String name)
Construct a new Constructor. |
Method Summary | |
---|---|
int |
getCodeLines()
Return the number of lines of code of the constructor. |
int |
getCommentLines()
Return the number of comment lines of the constructor. |
String |
getName()
Return the name of the constructor. |
int |
getPhysicalLines()
Return the number of physical lines of the constructor. |
void |
setCodeLines(int codeLines)
Set the number of lines of code of the constructor. |
void |
setCommentLines(int commentLines)
Set the number of comment lines of the constructor. |
void |
setPhysicalLines(int physicalLines)
Set the number of physical lines of the constructor. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Constructor(String name)
name
- The name of Constructor.Method Detail |
---|
public int getCodeLines()
public void setCodeLines(int codeLines)
codeLines
- The number of lines of code of the constructor.public int getCommentLines()
public void setCommentLines(int commentLines)
commentLines
- The number of comment lines of the constructor.public int getPhysicalLines()
public void setPhysicalLines(int physicalLines)
physicalLines
- The number of physical lines of the constructor.public String getName()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |