ca.infoway.messagebuilder.xml
Class Annotation

Package class diagram package Annotation
java.lang.Object
  extended by ca.infoway.messagebuilder.xml.Annotation

public class Annotation
extends Object

A class that models the annotation documentation.

Author:
Intelliware Development

Constructor Summary
Annotation()
          Standard constructor.
Annotation(String text)
          Standard constructor.
 
Method Summary
 boolean equals(Object obj)
          Standard equals implementation.
 String getAnnotationType()
          Get the annotation Type
 AnnotationType getAnnotationTypeAsEnum()
          Get the annotation Type
 String getOtherAnnotationType()
           
 String getSourceName()
           
 String getText()
          Get the text.
 int hashCode()
          Standard hash code method.
 void setAnnotationType(String annotationType)
          Set the annotation Type
 void setAnnotationTypeAsEnum(AnnotationType annotationType)
          Set the annotation Type
 void setOtherAnnotationType(String otherAnnotationType)
           
 void setSourceName(String sourceName)
           
 void setText(String text)
           Set the text
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Annotation

public Annotation()

Standard constructor.


Annotation

public Annotation(String text)

Standard constructor.

Parameters:
text - - The text description of the annotation.
Method Detail

getText

public String getText()

Get the text.

Returns:
- the text.

setText

public void setText(String text)

Set the text

Parameters:
text -

getAnnotationType

public String getAnnotationType()

Get the annotation Type

Returns:
annotation Type

setAnnotationType

public void setAnnotationType(String annotationType)

Set the annotation Type

Parameters:
annotationType -

getAnnotationTypeAsEnum

public AnnotationType getAnnotationTypeAsEnum()

Get the annotation Type

Returns:
annotation Type

setAnnotationTypeAsEnum

public void setAnnotationTypeAsEnum(AnnotationType annotationType)

Set the annotation Type

Parameters:
annotationType -

getSourceName

public String getSourceName()

setSourceName

public void setSourceName(String sourceName)

getOtherAnnotationType

public String getOtherAnnotationType()

setOtherAnnotationType

public void setOtherAnnotationType(String otherAnnotationType)

equals

public boolean equals(Object obj)

Standard equals implementation.

Overrides:
equals in class Object
Parameters:
obj - - the other object
Returns:
true if the objects are equal; false otherwise

hashCode

public int hashCode()

Standard hash code method.

Overrides:
hashCode in class Object
Returns:
the hash code


Copyright © 2013. All Rights Reserved.