Package org.biojava.bio.seq.io
Class ReferenceAnnotation
- java.lang.Object
-
- org.biojava.utils.AbstractChangeable
-
- org.biojava.bio.AbstractAnnotation
-
- org.biojava.bio.seq.io.ReferenceAnnotation
-
- All Implemented Interfaces:
Serializable
,Annotation
,Changeable
public class ReferenceAnnotation extends AbstractAnnotation
Deprecated.Use org.biojavax.bio.seq.io framework instead- Since:
- 1.3.1
- Author:
- Lorna Morris
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.biojava.bio.Annotation
EMPTY_ANNOTATION, PROPERTY
-
-
Constructor Summary
Constructors Constructor Description ReferenceAnnotation()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Map
getProperties()
Deprecated.Implement this to return the Map delegate.protected boolean
propertiesAllocated()
Deprecated.A convenience method to see if we have allocated the properties Map.-
Methods inherited from class org.biojava.bio.AbstractAnnotation
asMap, containsProperty, equals, getProperty, hashCode, keys, removeProperty, setProperty, toString
-
Methods inherited from class org.biojava.utils.AbstractChangeable
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.biojava.utils.Changeable
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
-
-
-
-
Constructor Detail
-
ReferenceAnnotation
public ReferenceAnnotation()
Deprecated.
-
-
Method Detail
-
getProperties
protected Map getProperties()
Deprecated.Description copied from class:AbstractAnnotation
Implement this to return the Map delegate. Modifying this return value will modify the properties associated with this annotation. From code in the 1.2 version of AbstractAnnotation This is required for the implementation of an Annotation that extends AbstractAnnotation. Where possible implementations should be backed with aLinkedHashMap
or similar so properties are iterated in the order they were added.- Specified by:
getProperties
in classAbstractAnnotation
- Returns:
- a Map containing all properties
-
propertiesAllocated
protected boolean propertiesAllocated()
Deprecated.Description copied from class:AbstractAnnotation
A convenience method to see if we have allocated the properties Map. This is required for the implementation of an Annotation that extends AbstractAnnotation.- Specified by:
propertiesAllocated
in classAbstractAnnotation
- Returns:
- true if the properties have been allocated, false otherwise
-
-