ubiware.util.saplbuilder
Class Statement

java.lang.Object
  extended by ubiware.util.saplbuilder.Statement

public class Statement
extends java.lang.Object

Representation of a statement consisting of a Subject, Predicate and Object. (also known as Triple)

Since:
17 Aug 2010
Author:
Michael Cochez for Ubiware project

Field Summary
(package private)  Object object
           
(package private)  Predicate predicate
           
(package private)  Subject subject
           
 
Constructor Summary
Statement(Subject subject, Predicate predicate, Object object)
          Create a Statement with the given Subject, Predicate and Object.
 
Method Summary
(package private)  void generateSapl(java.lang.StringBuilder builder)
          Generate the S-APL representation of this statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subject

final Subject subject

predicate

final Predicate predicate

object

final Object object
Constructor Detail

Statement

public Statement(Subject subject,
                 Predicate predicate,
                 Object object)
Create a Statement with the given Subject, Predicate and Object.

Parameters:
subject -
predicate -
object -
Throws:
java.lang.NullPointerException - If any of the components is null
Method Detail

generateSapl

void generateSapl(java.lang.StringBuilder builder)
Generate the S-APL representation of this statement.

Parameters:
builder -