|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.common.ObjectBean
com.sun.syndication.feed.module.Module
com.sun.syndication.feed.module.SyModule
Syndication Module, default implementation.
Nested Class Summary |
Nested classes inherited from class com.sun.syndication.feed.module.SyModuleI |
SyModuleI.Period |
Field Summary |
Fields inherited from interface com.sun.syndication.feed.module.SyModuleI |
DAILY, HOURLY, MONTHLY, URI, WEEKLY, YEARLY |
Constructor Summary | |
SyModule()
Default constructor. |
Method Summary | |
void |
copyFrom(java.lang.Object obj)
Copies all the properties of the given bean into this one. |
java.lang.Class |
getInterface()
Returns the interface the copyFrom works on. |
java.util.Date |
getUpdateBase()
Returns the Syndication module update base date. |
int |
getUpdateFrequency()
Returns the Syndication module update frequency. |
SyModuleI.Period |
getUpdatePeriod()
Returns the Syndication module update period. |
void |
setUpdateBase(java.util.Date updateBase)
Sets the Syndication module update base date. |
void |
setUpdateFrequency(int updateFrequency)
Sets the Syndication module update frequency. |
void |
setUpdatePeriod(SyModuleI.Period updatePeriod)
Sets the Syndication module update period. |
Methods inherited from class com.sun.syndication.feed.module.Module |
getUri |
Methods inherited from class com.sun.syndication.common.ObjectBean |
clone, equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.syndication.feed.module.ModuleI |
clone, getUri |
Methods inherited from interface com.sun.syndication.common.ToString |
toString |
Constructor Detail |
public SyModule()
Method Detail |
public SyModuleI.Period getUpdatePeriod()
getUpdatePeriod
in interface SyModuleI
public void setUpdatePeriod(SyModuleI.Period updatePeriod)
setUpdatePeriod
in interface SyModuleI
updatePeriod
- the Syndication module update period to set, null if none.public int getUpdateFrequency()
getUpdateFrequency
in interface SyModuleI
public void setUpdateFrequency(int updateFrequency)
setUpdateFrequency
in interface SyModuleI
updateFrequency
- the Syndication module update frequency to set, null if none.public java.util.Date getUpdateBase()
getUpdateBase
in interface SyModuleI
public void setUpdateBase(java.util.Date updateBase)
setUpdateBase
in interface SyModuleI
updateBase
- the Syndication module update base date to set, null if none.public java.lang.Class getInterface()
CopyFrom
This is useful when dealing with properties that may have multiple implementations. For example, ModuleI.
getInterface
in interface CopyFrom
public void copyFrom(java.lang.Object 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 SyndFeedI bean implementation to a Hibernate ready implementation.
copyFrom
in interface CopyFrom
obj
- the instance to copy properties from.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |