public class

ObservationImpl

extends Object
implements Serializable Observation JPAEntity
java.lang.Object
   ↳ vars.annotation.jpa.ObservationImpl

Summary

[Expand]
Inherited Constants
From interface vars.annotation.Observation
Public Constructors
ObservationImpl()
Public Methods
void addAssociation(Association association)
Add to the Association collection.
void addPropertyChangeListener(PropertyChangeListener listener)
void addPropertyChangeListener(String string, PropertyChangeListener listener)
boolean equals(Object obj)
Set<Association> getAssociations()
WARNING! Do not add or remove directly from this collection.
String getConceptName()
Long getId()
String getNotes()
Date getObservationDate()
String getObserver()
Object getPrimaryKey()
PropertyChangeListener[] getPropertyChangeListeners()
PropertyChangeListener[] getPropertyChangeListeners(String string)
VideoFrame getVideoFrame()
Double getX()
Double getY()
boolean hasSample()
Indicates if this observation has a sample associated with it.
int hashCode()
void removeAssociation(Association association)
Remove from the Association collection.
void removePropertyChangeListener(PropertyChangeListener listener)
void removePropertyChangeListener(String string, PropertyChangeListener listener)
void setConceptName(String conceptName)

void setId(Long id)
void setNotes(String string)
void setObservationDate(Date dtg)
The date the annotator annotated this observation.
void setObserver(String observer)
void setX(Double x)
void setY(Double y)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface vars.PropertyChange
From interface vars.VARSObject
From interface vars.annotation.Observation
From interface vars.jpa.JPAEntity

Public Constructors

public ObservationImpl ()

Public Methods

public void addAssociation (Association association)

Add to the Association collection.

Parameters
association The Association object to add.
Returns
  • The passed Association object if added, the matching Association object otherwise.

public void addPropertyChangeListener (PropertyChangeListener listener)

public void addPropertyChangeListener (String string, PropertyChangeListener listener)

public boolean equals (Object obj)

public Set<Association> getAssociations ()

WARNING! Do not add or remove directly from this collection.

Returns
  • A synchronized collection

public String getConceptName ()

public Long getId ()

public String getNotes ()

public Date getObservationDate ()

public String getObserver ()

public Object getPrimaryKey ()

public PropertyChangeListener[] getPropertyChangeListeners ()

public PropertyChangeListener[] getPropertyChangeListeners (String string)

public VideoFrame getVideoFrame ()

public Double getX ()

public Double getY ()

public boolean hasSample ()

Indicates if this observation has a sample associated with it. It does this by looking at each association for the linkName starting with sampled.

Returns
  • true = a sample IS associated with this observation.

public int hashCode ()

public void removeAssociation (Association association)

Remove from the Association collection.

Parameters
association The Association object to remove.

public void removePropertyChangeListener (PropertyChangeListener listener)

public void removePropertyChangeListener (String string, PropertyChangeListener listener)

public void setConceptName (String conceptName)

public void setId (Long id)

public void setNotes (String string)

public void setObservationDate (Date dtg)

The date the annotator annotated this observation. Got it ;-)

public void setObserver (String observer)

public void setX (Double x)

public void setY (Double y)

public String toString ()