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
ConstructorsConstructorDescriptionPictureInfoChangeEvent(PictureInfo pictureInfo) Constructor for the PictureInforChangeEvent -
Method Summary
Modifier and TypeMethodDescriptionbooleanreturns whether the category assignment was changedbooleanreturns whether the comment changedbooleanreturns whether the copyright holder was changedbooleanreturns whether the creation time was changedbooleanreturns whether the description was changedbooleanreturns whether the film reference was changedbooleanreturns whether the highres Location was changedbooleanreturns whether the latitude or longitude was changedbooleanreturns whether the photographer changedreturns the PictureInfo object that created the eventbooleanreturns whether the rotation changedbooleanreturns whether the sha256 was changedbooleanreturns whether the thumbnail was changedbooleanreturns whether the event was about the selection status being setbooleanreturns whether the mail selection was removedbooleanreturns whether the event was about the selection status being setbooleanreturns whether the selection was removedvoidsets the event to reflect that the copyright holder changedvoidsets the event to reflect that the comment changedvoidsets the event to reflect that the copyright holder changedvoidsets the event to reflect that the creation time was changedvoidsets the event to reflect that the description changedvoidsets the event to reflect that the film reference changedvoidsets the event to reflect that the highres Location changedvoidsets the event to reflect that the Latitude or Longitude was changedvoidsets the event to reflect that the photographer changedvoidsets the event to reflect that the rotation changedvoidsets the event to reflect that the sha256 changedvoidsets the event to reflect that the thumbnail changedvoidsets the event to reflect that the selection was setvoidsets the event to reflect that the selection was removedvoidsets the event to reflect that the selection was setvoidsets 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
-