net.sf.daileon.notsupported
Class ElementBase

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

abstract class ElementBase
extends ElementRoot

The ElementBase class represents the base of class elements, such as fields or methods.

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

Field Summary
private  int access
          The access modifier of the element
private  String desc
          The description of the element
private  String name
          The name of the element
 
Constructor Summary
ElementBase()
           
 
Method Summary
 boolean equals(Object element)
          
(package private)  int getAccess()
          Gets the access modifier of the given element.
(package private)  String getDesc()
          Gets the description of the given element.
(package private)  String getName()
          Gets the name of the given element.
 int hashCode()
          
(package private)  void setAccess(int access)
          Sets the access modifier of the given element.
(package private)  void setDesc(String desc)
          Sets the description of the given element.
(package private)  void setName(String name)
          Sets the name of the given element.
 String toString()
          
 
Methods inherited from class net.sf.daileon.notsupported.ElementRoot
getAttribute, getClassName, setAttribute, setClassName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

access

private int access
The access modifier of the element


name

private String name
The name of the element


desc

private String desc
The description of the element

Constructor Detail

ElementBase

ElementBase()
Method Detail

getAccess

int getAccess()
Gets the access modifier of the given element.

Returns:
The access modifier of the given element.

setAccess

void setAccess(int access)
Sets the access modifier of the given element.

Parameters:
access - The access modifier of the given element.

getName

String getName()
Gets the name of the given element.

Returns:
The name of the given element.

setName

void setName(String name)
Sets the name of the given element.

Parameters:
name - The name of the given element.

getDesc

String getDesc()
Gets the description of the given element.

Returns:
The description of the given element.

setDesc

void setDesc(String desc)
Sets the description of the given element.

Parameters:
desc - The description of the given element.

hashCode

public int hashCode()

Overrides:
hashCode in class ElementRoot

equals

public boolean equals(Object element)

Overrides:
equals in class ElementRoot

toString

public String toString()

Overrides:
toString in class ElementRoot