Constructor and Description |
---|
EnzymeComment(String commentText,
EnzymeSourceConstant source,
EnzymeViewConstant view)
Returns a
EnzymeComment instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Standard equals method.
|
String |
getCommentText() |
EnzymeSourceConstant |
getSource() |
EnzymeViewConstant |
getView() |
int |
hashCode()
Returns the hash code of this object.
|
public EnzymeComment(String commentText, EnzymeSourceConstant source, EnzymeViewConstant view)
EnzymeComment
instance.commentText
- The actual comment.source
- The comment's source.view
- The view(s) where this comment will be displayed.NullPointerException
- if commentText
or source
are null
.IllegalArgumentException
- if commentText
is empty.public boolean equals(Object o)
public int hashCode()
public String getCommentText()
public EnzymeSourceConstant getSource()
public EnzymeViewConstant getView()
Copyright © 2014 EMBL-EBI. All rights reserved.