Module org.jpo

Class PictureInfoChangeEvent

java.lang.Object
org.jpo.datamodel.PictureInfoChangeEvent

public class PictureInfoChangeEvent extends Object
Objects of this class have details about what was changed in a PictureInfo object. Several things may have changed in a single event.
See Also:
  • Constructor Details

    • PictureInfoChangeEvent

      public PictureInfoChangeEvent(PictureInfo pictureInfo)
      Constructor for the PictureInforChangeEvent
      Parameters:
      pictureInfo - Picture object
  • Method Details

    • getPictureInfo

      public PictureInfo getPictureInfo()
      returns the PictureInfo object that created the event
      Returns:
      the pictureInfo object
    • toString

      public String toString()
      This overridden toString reports the status of all flags in the PictureInfoChangeEvent
      Overrides:
      toString in class Object
      Returns:
      a verbose one line description of the flags in the PictureInfoChangeEvent
    • setDescriptionChanged

      public void setDescriptionChanged()
      sets the event to reflect that the description changed
    • getDescriptionChanged

      public boolean getDescriptionChanged()
      returns whether the description was changed
      Returns:
      true if the description was changed
    • setHighresLocationChanged

      public void setHighresLocationChanged()
      sets the event to reflect that the highres Location changed
    • getHighresLocationChanged

      public boolean getHighresLocationChanged()
      returns whether the highres Location was changed
      Returns:
      true if the highres location was changed
    • setSha256Changed

      public void setSha256Changed()
      sets the event to reflect that the sha256 changed
    • getSha256Changed

      public boolean getSha256Changed()
      returns whether the sha256 was changed
      Returns:
      true if the sha256 was changed
    • setThumbnailChanged

      public void setThumbnailChanged()
      sets the event to reflect that the thumbnail changed
    • getThumbnailChanged

      public boolean getThumbnailChanged()
      returns whether the thumbnail was changed
      Returns:
      true if changed, false if not
    • setCreationTimeChanged

      public void setCreationTimeChanged()
      sets the event to reflect that the creation time was changed
    • getCreationTimeChanged

      public boolean getCreationTimeChanged()
      returns whether the creation time was changed
      Returns:
      true if changed, false if not
    • setFilmReferenceChanged

      public void setFilmReferenceChanged()
      sets the event to reflect that the film reference changed
    • getFilmReferenceChanged

      public boolean getFilmReferenceChanged()
      returns whether the film reference was changed
      Returns:
      true if changed, false if not
    • setRotationChanged

      public void setRotationChanged()
      sets the event to reflect that the rotation changed
    • getRotationChanged

      public boolean getRotationChanged()
      returns whether the rotation changed
      Returns:
      true if changed, false if not
    • setCommentChanged

      public void setCommentChanged()
      sets the event to reflect that the comment changed
    • getCommentChanged

      public boolean getCommentChanged()
      returns whether the comment changed
      Returns:
      true if changed, false if not
    • setPhotographerChanged

      public void setPhotographerChanged()
      sets the event to reflect that the photographer changed
    • getPhotographerChanged

      public boolean getPhotographerChanged()
      returns whether the photographer changed
      Returns:
      true if the photographer changed
    • setCopyrightHolderChanged

      public void setCopyrightHolderChanged()
      sets the event to reflect that the copyright holder changed
    • getCopyrightHolderChanged

      public boolean getCopyrightHolderChanged()
      returns whether the copyright holder was changed
      Returns:
      true if changed, false if not
    • setLatLngChanged

      public void setLatLngChanged()
      sets the event to reflect that the Latitude or Longitude was changed
    • getLatLngChanged

      public boolean getLatLngChanged()
      returns whether the latitude or longitude was changed
      Returns:
      true if the lat or lng was changed
    • setCategoryAssignmentsChanged

      public void setCategoryAssignmentsChanged()
      sets the event to reflect that the copyright holder changed
    • getCategoryAssignmentsChanged

      public boolean getCategoryAssignmentsChanged()
      returns whether the category assignment was changed
      Returns:
      true if changed, false if not
    • setWasSelected

      public void setWasSelected()
      sets the event to reflect that the selection was set
    • getWasSelected

      public boolean getWasSelected()
      returns whether the event was about the selection status being set
      Returns:
      true if selected, false if not
    • setWasUnselected

      public void setWasUnselected()
      sets the event to reflect that the selection was removed
    • getWasUnselected

      public boolean getWasUnselected()
      returns whether the selection was removed
      Returns:
      true if the selection was removed
    • setWasMailSelected

      public void setWasMailSelected()
      sets the event to reflect that the selection was set
    • getWasMailSelected

      public boolean getWasMailSelected()
      returns whether the event was about the selection status being set
      Returns:
      true if the mail was selected
    • setWasMailUnselected

      public void setWasMailUnselected()
      sets the event to reflect that the selection was removed
    • getWasMailUnselected

      public boolean getWasMailUnselected()
      returns whether the mail selection was removed
      Returns:
      true if removed, false if not