|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ICommentTag declares an interface for objects that simply hold a string.
We need to have a separate class for this to map to the relational model
which permits a collection of CommentTags for each
HeaderDescription.
The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement. This information should not be published or distributed to third parties without specific written permission from MBARI.
CommentTag,
IHeaderDescription,
HeaderDescription| Method Summary | |
boolean |
equals(java.lang.Object obj)
A method that checks to see if two CommentTags
are equal. |
IHeaderDescription |
getHeaderDescription()
This is the method to return the HeaderDescription
object that this CommentTag is associated with. |
java.lang.Long |
getHeaderDescriptionId()
This is the method to retrieve the unique identifier of the HeaderDescription that this
CommentTag is associated with |
java.lang.Long |
getId()
The method to return the ID of the CommentTag |
java.lang.String |
getTagString()
This is the method used to get the TagString text that is in this CommentTag |
int |
hashCode()
A method to return a hashcode for the tagString that is in this CommentTag |
void |
setHeaderDescription(IHeaderDescription headerDescription)
This method sets the associated HeaderDescription for this
CommentTag. |
void |
setHeaderDescriptionId(java.lang.Long headerDescriptionID)
This is the method to set the unique identifier of the HeaderDescription that this
CommentTag is associated with |
void |
setId(java.lang.Long property)
The method to set the ID of the CommentTag |
void |
setTagString(java.lang.String tagString)
This is the method to set the text string of the CommentTag |
java.lang.String |
toString()
A method that over-rides the toString method and just returns the tagString of this CommentTag |
| Method Detail |
public java.lang.Long getId()
CommentTag
getId in interface ValueObjectCommentTagpublic void setId(java.lang.Long property)
CommentTag
setId in interface ValueObjectpublic java.lang.String getTagString()
CommentTag
CommentTagpublic void setTagString(java.lang.String tagString)
CommentTag
tagString - Is a String that is the text
to be stored with the CommentTagpublic IHeaderDescription getHeaderDescription()
HeaderDescription
object that this CommentTag is associated with.
HeaderDescription that this CommentTag
is associated with. It is an object that implements the
IHeaderDescription interface.public void setHeaderDescription(IHeaderDescription headerDescription)
HeaderDescription for this
CommentTag.
headerDescription - is an object that implements the IHeaderDescription
interface.public java.lang.Long getHeaderDescriptionId()
HeaderDescription that this
CommentTag is associated with
CommentTage
is associated withpublic void setHeaderDescriptionId(java.lang.Long headerDescriptionID)
HeaderDescription that this
CommentTag is associated with
CommentTage
is associated withpublic boolean equals(java.lang.Object obj)
CommentTags
are equal. The two instances of CommentTag
are equal if their respective tagStrings are equal
public int hashCode()
CommentTag
public java.lang.String toString()
CommentTag
CommentTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||