public class SyModuleImpl extends ModuleImpl implements SyModule
| Modifier and Type | Field and Description |
|---|---|
private static CopyFromHelper |
COPY_FROM_HELPER |
private static java.util.Set<java.lang.String> |
PERIODS |
private static long |
serialVersionUID |
private java.util.Date |
updateBase |
private int |
updateFrequency |
private java.lang.String |
updatePeriod |
| Constructor and Description |
|---|
SyModuleImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(CopyFrom obj)
Copies all the properties of the given bean into this one.
|
java.lang.Class<? extends Module> |
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.
|
java.lang.String |
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(java.lang.String updatePeriod)
Sets the Syndication module update period.
|
clone, equals, getUri, hashCode, toStringprivate static final long serialVersionUID
private static final java.util.Set<java.lang.String> PERIODS
private static final CopyFromHelper COPY_FROM_HELPER
private java.lang.String updatePeriod
private int updateFrequency
private java.util.Date updateBase
public java.lang.String getUpdatePeriod()
getUpdatePeriod in interface SyModulepublic void setUpdatePeriod(java.lang.String updatePeriod)
setUpdatePeriod in interface SyModuleupdatePeriod - the Syndication module update period to set, null if none.public int getUpdateFrequency()
getUpdateFrequency in interface SyModulepublic void setUpdateFrequency(int updateFrequency)
setUpdateFrequency in interface SyModuleupdateFrequency - the Syndication module update frequency to set, null if none.public java.util.Date getUpdateBase()
getUpdateBase in interface SyModulepublic void setUpdateBase(java.util.Date updateBase)
setUpdateBase in interface SyModuleupdateBase - the Syndication module update base date to set, null if none.public java.lang.Class<? extends Module> getInterface()
CopyFromThis is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface in interface CopyFrompublic void copyFrom(CopyFrom obj)
CopyFromAny 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.