public class XJdfBuilder extends AbstractNodeBuilder<XJDF>
| Constructor and Description |
|---|
XJdfBuilder() |
XJdfBuilder(java.lang.String jobID)
Custom Constructor.
|
XJdfBuilder(java.lang.String jobID,
java.lang.String category)
Custom Constructor.
|
XJdfBuilder(java.lang.String jobID,
java.lang.String category,
java.lang.String descriptiveName)
Custom Constructor.
|
XJdfBuilder(java.lang.String jobID,
java.lang.String category,
java.lang.String descriptiveName,
java.lang.String relatedJobID)
Custom Constructor.
|
XJdfBuilder(XJDF xjdf)
Custom Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addComment(java.lang.String comment)
Append Comment to XJDF Document.
|
void |
addGeneralID(GeneralID generalId)
Append GeneralID node to XJDF Document.
|
void |
addProduct(Product product)
Append Product node to xJdf Document.
|
void |
addResource(java.util.List<SpecificResource> specificResources)
Append Resource list to xJdf Document.
|
void |
addResource(java.util.List<SpecificResource> specificResources,
java.lang.String processUsage)
Append Resource List to xJdf Document.
|
void |
addResource(Resource resource,
java.lang.String processUsage)
Append Resource node to xJdf Document.
|
void |
addResource(SpecificResource specificResource)
Append Resource node to xJdf Document.
|
Resource |
addResource(SpecificResource specificResource,
Part part)
Append Resource node to xJdf Document.
|
Resource |
addResource(SpecificResource specificResource,
Part part,
java.lang.String processUsage)
Append Resource node to xJdf Document.
|
void |
addResource(SpecificResource specificResource,
java.lang.String processUsage)
Append Resource node to xJdf Document.
|
void |
addResourceSet(ResourceSet resourceSet)
Add a resourceSet to the underlying xjdf.
|
XJDF |
getXJdf()
Getter for xJdf attribute.
|
build, getNodepublic XJdfBuilder()
public XJdfBuilder(java.lang.String jobID)
jobID - Value of attribute JobID.public XJdfBuilder(java.lang.String jobID,
java.lang.String category)
jobID - Value of attribute JobID.category - Value of attribute Category.public XJdfBuilder(java.lang.String jobID,
java.lang.String category,
java.lang.String descriptiveName)
jobID - Value of attribute JobID.category - Value of attribute Category.descriptiveName - Value of attribute DescriptiveName.public XJdfBuilder(java.lang.String jobID,
java.lang.String category,
java.lang.String descriptiveName,
java.lang.String relatedJobID)
jobID - Value of attribute JobID.category - Value of attribute Category.descriptiveName - Value of attribute DescriptiveName.relatedJobID - Value of attribute RelatedJobID.public XJdfBuilder(XJDF xjdf)
xjdf - XJDF Document for modify.public XJDF getXJdf()
public final void addComment(java.lang.String comment)
comment - Comment to append to.public final void addGeneralID(GeneralID generalId)
generalId - GeneralID object to append.public final void addProduct(Product product)
product - Product object to append.public final void addResource(SpecificResource specificResource)
specificResource - Resource object to append.public final void addResource(SpecificResource specificResource, java.lang.String processUsage)
specificResource - Resource object to append.processUsage - ProcessUsage of resource.public final void addResource(java.util.List<SpecificResource> specificResources)
specificResources - Resource objects to append.public final void addResource(java.util.List<SpecificResource> specificResources, java.lang.String processUsage)
specificResources - Resource objects to append.processUsage - ProcessUsage of resource.public final Resource addResource(SpecificResource specificResource, Part part)
specificResource - Resource object to append.part - Partitioning definitions.public final Resource addResource(SpecificResource specificResource, Part part, java.lang.String processUsage)
specificResource - Resource object to append.part - Partitioning definitions.processUsage - ProcessUsage of resource.public void addResource(Resource resource, java.lang.String processUsage)
resource - Resource node to append to.processUsage - ProcessUsage of resource.public final void addResourceSet(ResourceSet resourceSet)
resourceSet - ResourceSet to add to the xjdf.