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

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

public class SubartifactSet
extends AbstractXPathNode

Models a subartifact set.

   subartifact-set ::= relationship-path
                     | relationship-path '[' predicate ']'
                     | relationship-path '[' predicate ']' '/' subartifact-set
                     | FunctionCall
 

Author:
eric.wittmann@redhat.com

Constructor Summary
SubartifactSet()
          Default constructor.
 
Method Summary
 void accept(XPathVisitor visitor)
          Accepts a visitor.
 FunctionCall getFunctionCall()
           
 Predicate getPredicate()
           
 RelationshipPath getRelationshipPath()
           
 SubartifactSet getSubartifactSet()
           
 void setFunctionCall(FunctionCall functionCall)
           
 void setPredicate(Predicate predicate)
           
 void setRelationshipPath(RelationshipPath relationshipPath)
           
 void setSubartifactSet(SubartifactSet subartifactSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubartifactSet

public SubartifactSet()
Default constructor.

Method Detail

getRelationshipPath

public RelationshipPath getRelationshipPath()
Returns:
the relationshipPath

setRelationshipPath

public void setRelationshipPath(RelationshipPath relationshipPath)
Parameters:
relationshipPath - the relationshipPath to set

getPredicate

public Predicate getPredicate()
Returns:
the predicate

setPredicate

public void setPredicate(Predicate predicate)
Parameters:
predicate - the predicate to set

getFunctionCall

public FunctionCall getFunctionCall()
Returns:
the functionCall

setFunctionCall

public void setFunctionCall(FunctionCall functionCall)
Parameters:
functionCall - the functionCall to set

getSubartifactSet

public SubartifactSet getSubartifactSet()
Returns:
the subartifactSet

setSubartifactSet

public void setSubartifactSet(SubartifactSet subartifactSet)
Parameters:
subartifactSet - the subartifactSet 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.