public class Metadata
extends java.lang.Object
| Constructor and Description |
|---|
Metadata(PhotoDate photoDate,
java.lang.String comments)
Creates a new instance of Metadata with a set photoDate and comments value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getComments()
Returns comments about the photo.
|
PhotoDate |
getPhotoDate()
Returns the PhotoDate value.
|
int |
hashCode() |
java.lang.String |
toString()
Returns a String representation of the metadata object.
|
public Metadata(PhotoDate photoDate, java.lang.String comments)
photoDate - PhotoDate value to usecomments - comments about this photo.public PhotoDate getPhotoDate()
public java.lang.String getComments()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2025. All rights reserved.