|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.connectivity.framework.util.internal.DataReferenceImpl
public class DataReferenceImpl
Default Implementation of the interface DataReference.
DataReference| Constructor Summary | |
|---|---|
DataReferenceImpl(CrawlerCallback callback,
Id id,
java.lang.String hash)
Conversion Constructor. |
|
| Method Summary | |
|---|---|
void |
dispose()
Disposes the referenced record object. |
java.lang.String |
getHash()
Returns the hash of the referenced record as a String. |
Id |
getId()
Returns the Id of the referenced record. |
Record |
getRecord()
Returns the complete Record object via the CrawlerCallback. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataReferenceImpl(CrawlerCallback callback,
Id id,
java.lang.String hash)
callback - reference to a CrawlerCallbackid - the record idhash - the record hash| Method Detail |
|---|
public Id getId()
getId in interface DataReferenceDataReference.getId()public java.lang.String getHash()
getHash in interface DataReferenceDataReference.getHash()
public Record getRecord()
throws CrawlerException,
CrawlerCriticalException,
InvalidTypeException
getRecord in interface DataReferenceCrawlerException - if any non critical error occurs
CrawlerCriticalException - if any critical error occurs
InvalidTypeException - if the hash attribute cannot be setDataReference.getRecord()public void dispose()
dispose in interface DataReferenceDataReference.dispose()
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||