public class SyModuleImpl extends ModuleImpl implements SyModule
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.
|
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.
|
clone, equals, getUri, hashCode, toString
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
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.
Copyright © 2024. All rights reserved.