Package com.thoughtworks.qdox.model.impl
Class AbstractBaseJavaEntity
java.lang.Object
com.thoughtworks.qdox.model.impl.AbstractJavaModel
com.thoughtworks.qdox.model.impl.AbstractBaseJavaEntity
- All Implemented Interfaces:
JavaModel,Serializable
- Direct Known Subclasses:
AbstractJavaEntity,DefaultJavaPackage,DefaultJavaParameter
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNot every entity has a parentClass, but AnnotationFieldRef requires access to it.getNamedParameter(String tagName, String parameterName) Convenience method forgetTagByName(String).getNamedParameter(String)that also checks for null tag.getTagByName(String name) getTags()getTagsByName(String name) voidsetAnnotations(List<JavaAnnotation> annotations) voidsetComment(String comment) voidsetSource(JavaSource source) voidMethods inherited from class com.thoughtworks.qdox.model.impl.AbstractJavaModel
getLineNumber, getModelWriter, setLineNumber, setModelWriterFactoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.thoughtworks.qdox.model.JavaModel
getCodeBlock
-
Field Details
-
source
-
annotations
-
comment
-
tags
-
-
Constructor Details
-
AbstractBaseJavaEntity
public AbstractBaseJavaEntity()
-
-
Method Details
-
getSource
-
setSource
-
getAnnotations
-
setAnnotations
-
getDeclaringClass
Not every entity has a parentClass, but AnnotationFieldRef requires access to it. When used with JavaClass, don't confuse this with getSuperClass()- Returns:
- the surrounding class
-
getComment
-
setComment
-
getTags
-
getTagsByName
-
getTagByName
-
getNamedParameter
Convenience method forgetTagByName(String).getNamedParameter(String)that also checks for null tag.- Parameters:
tagName- the name of the docletTagparameterName- the name of the parameter- Returns:
- the value of the named parameter
- Since:
- 1.3
-
setTags
-