java.lang.Object
org.jpo.datamodel.PictureInfoChangeEvent
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 Summary
ConstructorDescriptionPictureInfoChangeEvent
(PictureInfo pictureInfo) Constructor for the PictureInforChangeEvent -
Method Summary
Modifier and TypeMethodDescriptionboolean
returns whether the category assignment was changedboolean
returns whether the comment changedboolean
returns whether the copyright holder was changedboolean
returns whether the creation time was changedboolean
returns whether the description was changedboolean
returns whether the film reference was changedboolean
returns whether the highres Location was changedboolean
returns whether the latitude or longitude was changedboolean
returns whether the photographer changedreturns the PictureInfo object that created the eventboolean
returns whether the rotation changedboolean
returns whether the sha256 was changedboolean
returns whether the thumbnail was changedboolean
returns whether the event was about the selection status being setboolean
returns whether the mail selection was removedboolean
returns whether the event was about the selection status being setboolean
returns whether the selection was removedvoid
sets the event to reflect that the copyright holder changedvoid
sets the event to reflect that the comment changedvoid
sets the event to reflect that the copyright holder changedvoid
sets the event to reflect that the creation time was changedvoid
sets the event to reflect that the description changedvoid
sets the event to reflect that the film reference changedvoid
sets the event to reflect that the highres Location changedvoid
sets the event to reflect that the Latitude or Longitude was changedvoid
sets the event to reflect that the photographer changedvoid
sets the event to reflect that the rotation changedvoid
sets the event to reflect that the sha256 changedvoid
sets the event to reflect that the thumbnail changedvoid
sets the event to reflect that the selection was setvoid
sets the event to reflect that the selection was removedvoid
sets the event to reflect that the selection was setvoid
sets the event to reflect that the selection was removedtoString()
This overridden toString reports the status of all flags in the PictureInfoChangeEvent
-
Constructor Details
-
PictureInfoChangeEvent
Constructor for the PictureInforChangeEvent- Parameters:
pictureInfo
- Picture object
-
-
Method Details
-
getPictureInfo
returns the PictureInfo object that created the event- Returns:
- the pictureInfo object
-
toString
This overridden toString reports the status of all 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
-