public class PhotocastModuleImpl extends java.lang.Object implements PhotocastModule
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
cropDate |
private java.net.URL |
imageUrl |
private Metadata |
metadata |
private java.util.Date |
photoDate |
private static long |
serialVersionUID |
private java.net.URL |
thumbnailUrl |
URI
Constructor and Description |
---|
PhotocastModuleImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a deep clone of the object.
|
void |
copyFrom(CopyFrom obj)
Copies all the properties of the given bean into this one.
|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCropDate()
Returns the cropDate value from the item level.
|
java.net.URL |
getImageUrl()
The URL of the image.
|
java.lang.Class<PhotocastModule> |
getInterface()
Returns the interface the copyFrom works on.
|
Metadata |
getMetadata()
The iPhoto metadata for the image.
|
java.util.Date |
getPhotoDate()
Returns the Item level photoDate value.
|
java.net.URL |
getThumbnailUrl()
The URL of the image thumbnail.
|
java.lang.String |
getUri()
Returns the URI of the module.
|
int |
hashCode() |
void |
setCropDate(java.util.Date cropDate)
Sets the cropDate value for the item level.
|
void |
setImageUrl(java.net.URL imageUrl)
The URL of the image.
|
void |
setMetadata(Metadata metadata)
The iPhoto metadata for the image.
|
void |
setPhotoDate(java.util.Date photoDate)
Set the Item level photoDate value.
|
void |
setThumbnailUrl(java.net.URL thumbnailUrl)
The URL of the image thumbnail.
|
java.lang.String |
toString() |
private static final long serialVersionUID
private java.util.Date photoDate
private java.util.Date cropDate
private java.net.URL imageUrl
private java.net.URL thumbnailUrl
private Metadata metadata
public java.util.Date getPhotoDate()
PhotocastModule
getPhotoDate
in interface PhotocastModule
public void setPhotoDate(java.util.Date photoDate)
PhotocastModule
setPhotoDate
in interface PhotocastModule
photoDate
- Item level photoDate valuepublic java.util.Date getCropDate()
PhotocastModule
getCropDate
in interface PhotocastModule
public void setCropDate(java.util.Date cropDate)
PhotocastModule
setCropDate
in interface PhotocastModule
cropDate
- cropDate value for the item levelpublic java.net.URL getImageUrl()
PhotocastModule
getImageUrl
in interface PhotocastModule
public void setImageUrl(java.net.URL imageUrl)
PhotocastModule
setImageUrl
in interface PhotocastModule
imageUrl
- The URL of the image.public java.net.URL getThumbnailUrl()
PhotocastModule
getThumbnailUrl
in interface PhotocastModule
public void setThumbnailUrl(java.net.URL thumbnailUrl)
PhotocastModule
setThumbnailUrl
in interface PhotocastModule
thumbnailUrl
- The URL of the image thumbnail.public Metadata getMetadata()
PhotocastModule
getMetadata
in interface PhotocastModule
public void setMetadata(Metadata metadata)
PhotocastModule
setMetadata
in interface PhotocastModule
metadata
- The iPhoto metadata for the image.public void copyFrom(CopyFrom obj)
CopyFrom
Any existing properties in this bean are lost.
This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeed bean implementation to a Hibernate ready implementation.
public java.lang.Object clone()
Module
public java.lang.String getUri()
Module
public java.lang.Class<PhotocastModule> getInterface()
CopyFrom
This is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface
in interface CopyFrom
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object