public abstract class BaseSource extends Object implements Source
Source interface.| Modifier | Constructor and Description |
|---|---|
protected |
BaseSource()
protected constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
implementation based on the protected member variable
id. |
String |
getId()
gets the protected member variable
id. |
long |
getLastModified()
always returns 0.
|
int |
hashCode()
implementation based on the protected member variable
id. |
String |
toString()
returns a string suitable for logging.
|
protected String id
public String getId()
id.public long getLastModified()
getLastModified in interface Sourcepublic boolean equals(Object obj)
id.public int hashCode()
id.