|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.opensync.engine.server.Source
This class encapsulate the concept of a source in the OpenSync application
| Field Summary | |
static java.lang.String |
TYPE_BD
The source is a database source |
static java.lang.String |
TYPE_TXT
The source is a text source |
| Constructor Summary | |
Source()
Construct a source object |
|
| Method Summary | |
void |
addView(View view)
Add a view to the source |
Connector |
getConnector()
Get the connector of the source |
java.lang.String |
getName()
Get the name of the source |
Return |
getReturn()
Get the return of the source |
View |
getView(java.lang.String view)
Get a view of the source |
java.util.HashMap |
getViews()
Get all views of the source |
long |
lastModified()
|
void |
setConnector(Connector connector)
Se the connector of the source |
void |
setName(java.lang.String name)
Set the name of the source |
void |
setReturn(Return ret)
Set the return of the source |
void |
setViews(java.util.HashMap _views)
|
java.lang.String |
toString()
Use for debug only |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String TYPE_BD
public static final java.lang.String TYPE_TXT
| Constructor Detail |
public Source()
| Method Detail |
public void setName(java.lang.String name)
name - the name of the sourcepublic java.lang.String getName()
public void setConnector(Connector connector)
connector - the conncetor of the sourcepublic Connector getConnector()
public void setReturn(Return ret)
ret - the return of the sourcepublic Return getReturn()
public void addView(View view)
view - the view to addpublic View getView(java.lang.String view)
view - the name of the view to getpublic java.lang.String toString()
public java.util.HashMap getViews()
public void setViews(java.util.HashMap _views)
public long lastModified()
throws OpenSyncException,
java.io.IOException
OpenSyncException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||