com.hp.hpl.jena.sparql.path
Class P_Mod

java.lang.Object
  extended by com.hp.hpl.jena.sparql.path.PathBase
      extended by com.hp.hpl.jena.sparql.path.P_Path1
          extended by com.hp.hpl.jena.sparql.path.P_Mod
All Implemented Interfaces:
Path

public class P_Mod
extends P_Path1

Path element of the form {,N} {N,} {N,M} but not {N}


Field Summary
static long INF
           
static long UNSET
           
 
Constructor Summary
P_Mod(Path path, long min, long max)
           
 
Method Summary
 boolean equalTo(Path path2, NodeIsomorphismMap isoMap)
           
 long getFixedLength()
           
 long getMax()
           
 long getMin()
           
 int hashCode()
           
 boolean isFixedLength()
           
 boolean isOneOrMore()
           
 boolean isZeroOrMore()
           
 boolean isZeroOrOne()
           
 void visit(PathVisitor visitor)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.path.P_Path1
getSubPath
 
Methods inherited from class com.hp.hpl.jena.sparql.path.PathBase
equals, toString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNSET

public static final long UNSET
See Also:
Constant Field Values

INF

public static final long INF
See Also:
Constant Field Values
Constructor Detail

P_Mod

public P_Mod(Path path,
             long min,
             long max)
Method Detail

visit

public void visit(PathVisitor visitor)

getMin

public long getMin()

getMax

public long getMax()

hashCode

public int hashCode()
Specified by:
hashCode in class PathBase

equalTo

public boolean equalTo(Path path2,
                       NodeIsomorphismMap isoMap)
Specified by:
equalTo in interface Path
Specified by:
equalTo in class PathBase

isFixedLength

public boolean isFixedLength()

getFixedLength

public long getFixedLength()

isZeroOrMore

public boolean isZeroOrMore()

isOneOrMore

public boolean isOneOrMore()

isZeroOrOne

public boolean isZeroOrOne()


Licenced under the Apache License, Version 2.0