net.sf.daileon.notsupported
Class ElementRoot

java.lang.Object
  extended by net.sf.daileon.notsupported.ElementRoot
Direct Known Subclasses:
ElementBase

 class ElementRoot
extends Object

The ElementRoot class represents the root of class elements. It simply holds the name of the class and its annotations.

Version:
1.0 01/01/2010
Author:
Roberto Perillo

Field Summary
private  org.objectweb.asm.Attribute attribute
          The Attribute (or annotations) that annotate the class
private  String className
          The name of the class
 
Constructor Summary
ElementRoot()
          Class constructor.
 
Method Summary
 boolean equals(Object object)
          
(package private)  org.objectweb.asm.Attribute getAttribute()
          Gets the Attribute (or annotations) of the class.
(package private)  String getClassName()
          Gets the name of the class.
 int hashCode()
          
(package private)  void setAttribute(org.objectweb.asm.Attribute attribute)
          Sets the Attribute (or annotations) of the class.
(package private)  void setClassName(String className)
          Sets the name of the class.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

className

private String className
The name of the class


attribute

private org.objectweb.asm.Attribute attribute
The Attribute (or annotations) that annotate the class

Constructor Detail

ElementRoot

ElementRoot()
Class constructor.

Method Detail

getClassName

String getClassName()
Gets the name of the class.

Returns:
The name of the class.

setClassName

void setClassName(String className)
Sets the name of the class.

Parameters:
className - The name of the class.

getAttribute

org.objectweb.asm.Attribute getAttribute()
Gets the Attribute (or annotations) of the class.

Returns:
The Attribute (or annotations) of the class.

setAttribute

void setAttribute(org.objectweb.asm.Attribute attribute)
Sets the Attribute (or annotations) of the class.

Parameters:
attribute - The Attribute (or annotations) of the class.

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object object)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object