com.sun.syndication.feed.module
public class SyModuleImpl extends ModuleImpl implements SyModule
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
_updateBase |
private int |
_updateFrequency |
private java.lang.String |
_updatePeriod |
private static CopyFromHelper |
COPY_FROM_HELPER |
private static java.util.Set |
PERIODS |
Constructor and Description |
---|
SyModuleImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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, toString
private static final java.util.Set PERIODS
private java.lang.String _updatePeriod
private int _updateFrequency
private java.util.Date _updateBase
private static final CopyFromHelper COPY_FROM_HELPER
public SyModuleImpl()
public java.lang.String getUpdatePeriod()
getUpdatePeriod
in interface SyModule
public void setUpdatePeriod(java.lang.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 java.util.Date getUpdateBase()
getUpdateBase
in interface SyModule
public void setUpdateBase(java.util.Date updateBase)
setUpdateBase
in interface SyModule
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, Module.
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 SyndFeed bean implementation to a Hibernate ready implementation.
Copyright © Sun Microsystems. All Rights Reserved.