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

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

public class LocationPath
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
LocationPath()
          Default constructor.
 
Method Summary
 void accept(XPathVisitor visitor)
          Accepts a visitor.
 String getArtifactModel()
           
 String getArtifactType()
           
 void setArtifactModel(String artifactModel)
           
 void setArtifactType(String artifactType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationPath

public LocationPath()
Default constructor.

Method Detail

getArtifactModel

public String getArtifactModel()
Returns:
the artifactModel

setArtifactModel

public void setArtifactModel(String artifactModel)
Parameters:
artifactModel - the artifactModel to set

getArtifactType

public String getArtifactType()
Returns:
the artifactType

setArtifactType

public void setArtifactType(String artifactType)
Parameters:
artifactType - the artifactType 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.