org.androidannotations.holder
Class EServiceHolder

java.lang.Object
  extended by org.androidannotations.holder.BaseGeneratedClassHolder
      extended by org.androidannotations.holder.EComponentHolder
          extended by org.androidannotations.holder.EServiceHolder
All Implemented Interfaces:
GeneratedClassHolder, HasIntentBuilder
Direct Known Subclasses:
EIntentServiceHolder

public class EServiceHolder
extends EComponentHolder
implements HasIntentBuilder


Field Summary
 
Fields inherited from class org.androidannotations.holder.EComponentHolder
contextRef, init
 
Fields inherited from class org.androidannotations.holder.BaseGeneratedClassHolder
annotatedElement, codeModelHelper, generatedClass, processHolder
 
Constructor Summary
EServiceHolder(ProcessHolder processHolder, TypeElement annotatedElement, AndroidManifest androidManifest)
           
 
Method Summary
 IntentBuilder getIntentBuilder()
           
 com.sun.codemodel.JDefinedClass getIntentBuilderClass()
           
 com.sun.codemodel.JFieldVar getIntentField()
           
protected  void setContextRef()
           
protected  void setInit()
           
 void setIntentBuilderClass(com.sun.codemodel.JDefinedClass intentBuilderClass)
           
 void setIntentField(com.sun.codemodel.JFieldVar intentField)
           
 
Methods inherited from class org.androidannotations.holder.EComponentHolder
getContextRef, getDatabaseHelperRef, getHandler, getInit, getInitBody, getResourcesRef
 
Methods inherited from class org.androidannotations.holder.BaseGeneratedClassHolder
classes, codeModel, definedClass, getAnnotatedElement, getGeneratedClass, processingEnvironment, refClass, refClass, setGeneratedClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.androidannotations.holder.GeneratedClassHolder
classes, codeModel, definedClass, getAnnotatedElement, getGeneratedClass, processingEnvironment, refClass, refClass
 

Constructor Detail

EServiceHolder

public EServiceHolder(ProcessHolder processHolder,
                      TypeElement annotatedElement,
                      AndroidManifest androidManifest)
               throws Exception
Throws:
Exception
Method Detail

getIntentBuilder

public IntentBuilder getIntentBuilder()
Specified by:
getIntentBuilder in interface HasIntentBuilder

setContextRef

protected void setContextRef()
Specified by:
setContextRef in class EComponentHolder

setInit

protected void setInit()
Specified by:
setInit in class EComponentHolder

setIntentBuilderClass

public void setIntentBuilderClass(com.sun.codemodel.JDefinedClass intentBuilderClass)
Specified by:
setIntentBuilderClass in interface HasIntentBuilder

getIntentBuilderClass

public com.sun.codemodel.JDefinedClass getIntentBuilderClass()
Specified by:
getIntentBuilderClass in interface HasIntentBuilder

setIntentField

public void setIntentField(com.sun.codemodel.JFieldVar intentField)
Specified by:
setIntentField in interface HasIntentBuilder

getIntentField

public com.sun.codemodel.JFieldVar getIntentField()
Specified by:
getIntentField in interface HasIntentBuilder


Copyright © 2010-2014. All Rights Reserved.