org.ow2.util.scan.api.metadata.structures
Class JAnnotation
java.lang.Object
org.ow2.util.scan.api.metadata.structures.JAnnotation
- All Implemented Interfaces:
- java.io.Serializable
public final class JAnnotation
- extends java.lang.Object
- implements java.io.Serializable
Annotation on class, method or field.
- Author:
- Gael Lalire
- See Also:
- Serialized Form
|
Constructor Summary |
JAnnotation(java.lang.String className,
boolean visible)
Constructor. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
JAnnotation
public JAnnotation(java.lang.String className,
boolean visible)
- Constructor.
- Parameters:
className - the class name of annotationvisible - visible
isVisible
public boolean isVisible()
- Returns:
- visibility of annotation
getClassName
public java.lang.String getClassName()
- Returns:
- name of annotation class
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
- Returns:
- name hashcode
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
- Parameters:
obj - the object to compare
- Returns:
- true if same annotation.
Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.