FileDocCategorySizeDatePackage
MultiThreadEntryStub.javaAPI DocApache Lucene 2.1.02142Wed Feb 14 10:46:02 GMT 2007org.apache.lucene.gdata.utils

MultiThreadEntryStub

public class MultiThreadEntryStub extends org.apache.lucene.gdata.data.ServerBaseEntry
author
Simon Willnauer

Fields Summary
private Visitor
getEntryVisitor
private Visitor
getVersionVisitor
Constructors Summary
public MultiThreadEntryStub()

        
     
    
public MultiThreadEntryStub(com.google.gdata.data.BaseEntry arg0)

param
arg0

        super(arg0);
        
    
Methods Summary
public voidacceptGetEntryVisitor(Visitor visitor)

        this.getEntryVisitor = visitor;
    
public voidacceptGetVersionVisitor(Visitor visitor)

       this.getVersionVisitor = visitor;
    
public com.google.gdata.data.BaseEntrygetEntry()

see
org.apache.lucene.gdata.data.ServerBaseEntry#getEntry()

       
        if(this.getEntryVisitor != null){
            this.getEntryVisitor.execute(null);

        }
        return super.getEntry();
    
public intgetVersion()

see
org.apache.lucene.gdata.data.ServerBaseEntry#getVersion()


        if(this.getVersionVisitor != null){
            this.getVersionVisitor.execute(null);

        }
        return super.getVersion();