Package org.jvnet.basicjaxb_annox.model
Class XAnnotated
java.lang.Object
org.jvnet.basicjaxb_annox.model.XAnnotated
- Direct Known Subclasses:
XAnnotatedElement,XParameter
Defines an item with an array of the associated annotations.
- Author:
- Aleksei Valikov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns annotations for this annotated item.XAnnotation<?>[]Returns the annotations associated with the item.inthashCode()toString()
-
Constructor Details
-
XAnnotated
Constructs an annotated item.- Parameters:
xannotations- item annotations, may benull
-
-
Method Details
-
getXAnnotations
Returns the annotations associated with the item.- Returns:
- Item annotations.
-
getAnnotations
Returns annotations for this annotated item.- Returns:
- Array of annotations.
-
hashCode
public int hashCode() -
equals
-
toString
-