net.fortytwo.ripple.libs.graph
Class DenyInContext

java.lang.Object
  extended by net.fortytwo.ripple.model.PrimitiveStackMapping
      extended by net.fortytwo.ripple.libs.graph.DenyInContext
All Implemented Interfaces:
Mapping<StackContext,StackContext,RippleException>, RippleValue, StackMapping

public class DenyInContext
extends PrimitiveStackMapping

A primitive which consumes a subject, predicate and object, then produces the subject after removing the corresponding RDF statement from the triple store.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.fortytwo.ripple.model.PrimitiveStackMapping
PrimitiveStackMapping.Parameter
 
Nested classes/interfaces inherited from interface net.fortytwo.ripple.model.RippleValue
RippleValue.Type
 
Constructor Summary
DenyInContext()
           
 
Method Summary
 void apply(StackContext arg, Sink<StackContext,RippleException> solutions)
           
 String getComment()
           
 String[] getIdentifiers()
           
 PrimitiveStackMapping.Parameter[] getParameters()
           
 
Methods inherited from class net.fortytwo.ripple.model.PrimitiveStackMapping
arity, equals, getInverse, getMapping, getType, hashCode, isTransparent, printTo, setRdfEquivalent, toRDF, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DenyInContext

public DenyInContext()
              throws RippleException
Throws:
RippleException
Method Detail

getIdentifiers

public String[] getIdentifiers()
Specified by:
getIdentifiers in class PrimitiveStackMapping

getParameters

public PrimitiveStackMapping.Parameter[] getParameters()
Specified by:
getParameters in class PrimitiveStackMapping

getComment

public String getComment()
Specified by:
getComment in class PrimitiveStackMapping
Returns:
a comment about the primitive. May be null.

apply

public void apply(StackContext arg,
                  Sink<StackContext,RippleException> solutions)
           throws RippleException
Throws:
RippleException


Copyright © 2007-2011 fortytwo.net. All Rights Reserved.