Package org.biojavax
Interface DocRefAuthor
-
- All Superinterfaces:
Changeable
,java.lang.Comparable
- All Known Implementing Classes:
SimpleDocRefAuthor
public interface DocRefAuthor extends java.lang.Comparable, Changeable
Represents an author of a documentary reference.- Since:
- 1.5
- Author:
- Richard Holland
- See Also:
DocRef
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DocRefAuthor.Tools
Useful tools for working with authors.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getExtendedName()
Returns the extended version of the authors name.java.lang.String
getName()
Returns a textual description of the authors name.boolean
isConsortium()
Is this author actually a consortium?boolean
isEditor()
Is this author actually an editor?-
Methods inherited from interface org.biojava.utils.Changeable
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns a textual description of the authors name. This field is immutable so should be set using the constructor of the implementing class.- Returns:
- Value of property name.
-
getExtendedName
java.lang.String getExtendedName()
Returns the extended version of the authors name. Form: "name (consortium) (ed.)" where sections in brackets are optional.- Returns:
- Value of property name with additions.
-
isEditor
boolean isEditor()
Is this author actually an editor?- Returns:
- true if they are, false if not.
-
isConsortium
boolean isConsortium()
Is this author actually a consortium?- Returns:
- true if they are, false if not.
-
-