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