ua.gradsoft.javachecker.models
Class JavaDelegatedAnnotationInstanceModel
java.lang.Object
ua.gradsoft.javachecker.models.JavaAnnotationInstanceModel
ua.gradsoft.javachecker.models.JavaDelegatedAnnotationInstanceModel
public class JavaDelegatedAnnotationInstanceModel
- extends JavaAnnotationInstanceModel
- Author:
- rssh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaDelegatedAnnotationInstanceModel
public JavaDelegatedAnnotationInstanceModel(JavaAnnotationInstanceModel origin,
java.lang.Object newTarget)
- Creates a new instance of JavaDelegatedAnnotationInstanceModel
getAnnotationModel
public JavaTypeModel getAnnotationModel()
throws TermWareException,
EntityNotFoundException
- Specified by:
getAnnotationModel in class JavaAnnotationInstanceModel
- Throws:
TermWareException
EntityNotFoundException
getModelTerm
public Term getModelTerm()
throws TermWareException,
EntityNotFoundException
- Specified by:
getModelTerm in class JavaAnnotationInstanceModel
- Throws:
TermWareException
EntityNotFoundException
hasElement
public boolean hasElement(java.lang.String elementName)
throws TermWareException
- Description copied from class:
JavaAnnotationInstanceModel
- true, if element whith name
elementName is
provided in this annotation
- Specified by:
hasElement in class JavaAnnotationInstanceModel
- Throws:
TermWareException
getElement
public JavaExpressionModel getElement(java.lang.String elementName)
throws NotSupportedException,
TermWareException
- Description copied from class:
JavaAnnotationInstanceModel
- expression, which is defined in annotations.
- Specified by:
getElement in class JavaAnnotationInstanceModel
- Throws:
NotSupportedException
TermWareException
getElements
public java.util.Map<java.lang.String,JavaExpressionModel> getElements()
throws TermWareException
- Description copied from class:
JavaAnnotationInstanceModel
- Map, which contains declared fields.
- Specified by:
getElements in class JavaAnnotationInstanceModel
- Throws:
TermWareException