org.overlord.sramp.common.query.xpath.ast
Class ArtifactSet

java.lang.Object
  extended by org.overlord.sramp.common.query.xpath.ast.AbstractXPathNode
      extended by org.overlord.sramp.common.query.xpath.ast.ArtifactSet

public class ArtifactSet
extends AbstractXPathNode

Models the artifact-set portion of an S-RAMP Query. Note that in the grammar found in the S-RAMP specification, the artifact-set is exactly a location-path. I chose to collapse the two into a single model.

Author:
eric.wittmann@redhat.com

Constructor Summary
ArtifactSet()
          Default constructor.
 
Method Summary
 void accept(XPathVisitor visitor)
          Accepts a visitor.
 LocationPath getLocationPath()
           
 void setLocationPath(LocationPath locationPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactSet

public ArtifactSet()
Default constructor.

Method Detail

getLocationPath

public LocationPath getLocationPath()
Returns:
the locationPath

setLocationPath

public void setLocationPath(LocationPath locationPath)
Parameters:
locationPath - the locationPath to set

accept

public void accept(XPathVisitor visitor)
Description copied from class: AbstractXPathNode
Accepts a visitor.

Specified by:
accept in class AbstractXPathNode
See Also:
AbstractXPathNode.accept(org.overlord.sramp.common.query.xpath.visitors.XPathVisitor)


Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.