org.jbind.xml.schema.reader
Class ComponentJob
java.lang.Object
   org.jbind.xml.schema.reader.Job
org.jbind.xml.schema.reader.Job
       org.jbind.xml.schema.reader.ComponentJob
org.jbind.xml.schema.reader.ComponentJob
- All Implemented Interfaces: 
- IComponentJob, IElementHelper, IHasLocation, IJob
- public class ComponentJob- extends Job- implements IComponentJob
 
 
| Methods inherited from class org.jbind.xml.schema.reader.Job | 
| addSubJob, checkSubJobsValidated, executeCompletion, executeCreation, executeValidation, getHelper, getIsValidated, getLocation, getParent, iterRefsForCompletion, iterRefsForCreation, iterRefsForValidation, iterSubJobs, setParent, toString | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
| Methods inherited from interface org.jbind.xml.schema.reader.IJob | 
| checkSubJobsValidated, executeCompletion, executeCreation, executeValidation, getIsValidated, getParent, iterRefsForCompletion, iterRefsForCreation, iterRefsForValidation, iterSubJobs, setParent | 
 
 
ComponentJob
public ComponentJob(IComponentJobHelper aHelper,
                    IComponentSetter anAfterCreation,
                    IComponentSetter anAfterValidation)
getInstantiator
public IInstantiator getInstantiator()
- Description copied from interface: IJob
- Gets the instantiator that controls the execution of this job.
 
- 
- Specified by:
- getInstantiatorin interface- IJob
 
- 
- Returns:
- An instantiator. (required)
 
collectRefsForCreation
protected void collectRefsForCreation(IJobRefs aJobRefs)
- 
- Specified by:
- collectRefsForCreationin class- Job
 
- 
 
collectRefsForCompletion
protected void collectRefsForCompletion(IJobRefs aJobRefs)
- 
- Specified by:
- collectRefsForCompletionin class- Job
 
- 
 
collectRefsForValidation
protected void collectRefsForValidation(IJobRefs aJobRefs)
- 
- Specified by:
- collectRefsForValidationin class- Job
 
- 
 
doExecuteCreation
public void doExecuteCreation(IConstraintViolations aViolations)
- 
- Specified by:
- doExecuteCreationin class- Job
 
- 
 
doExecuteCompletion
public void doExecuteCompletion(IConstraintViolations aViolations)
- 
- Specified by:
- doExecuteCompletionin class- Job
 
- 
 
doExecuteValidation
public void doExecuteValidation(IConstraintViolations aViolations)
- 
- Specified by:
- doExecuteValidationin class- Job
 
- 
 
getComponent
public IComponent getComponent(IRef aGlobalRef,
                               boolean aMustBeValidated)
- Description copied from interface: IElementHelper
- Resolves a component reference. Depend on the usage of the component
 it may be sufficient that a component is created but not yet validated
 in order to be retrieved.
 
- 
- Specified by:
- getComponentin interface- IElementHelper
 
- 
- Parameters:
- aGlobalRef- (required).
- aMustBeValidated- Determines if the retrieved component must have
 been validated or not. If the component is not yet validated and- trueis specified for this parameter then- nullis returned.
- Returns:
- (optional).
 
addSubJob
public void addSubJob(IComponentJobHelper aHelper,
                      IComponentSetter aComponentSetter)
- Description copied from interface: IElementHelper
- Creates a sub job and adds it to this job.
 
- 
- Specified by:
- addSubJobin interface- IElementHelper
 
- 
- Parameters:
- aHelper- (required).
- aComponentSetter- (required).
 
getDescription
public java.lang.String getDescription()
- Description copied from interface: IJob
- Gets a short description of the job.
 
- 
- Specified by:
- getDescriptionin interface- IJob
 
- 
- Returns:
- A string (required).