|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SSWAPSubject
Subject of a SSWAP Graph. Subjects in SSWAP represent the input data of the service, which are mapped to Objects (results) during the execution of the service.
To create a new SSWAP Subject use SSWAPProtocol.createSubject()
.
SSWAPProtocol
,
SSWAPObject
Method Summary | |
---|---|
void |
addObject(SSWAPObject object)
Adds a new object for this SSWAPSubject (i.e., existing objects are preserved, and the added object is appended). |
SSWAPGraph |
getGraph()
Gets the graph to which this subject belongs. |
java.util.Collection<SSWAPGraph> |
getGraphs()
Gets the graphs to which this subject belongs. |
SSWAPObject |
getObject()
Gets the object, onto which this subject is mapped. |
java.util.Collection<SSWAPObject> |
getObjects()
Gets all the objects, onto which this subject is mapped. |
void |
setObject(SSWAPObject object)
Sets a new SSWAPObject for this SSWAPSubject. |
void |
setObjects(java.util.Collection<SSWAPObject> objects)
Maps this subject onto the provided collection |
Methods inherited from interface info.sswap.api.model.SSWAPNode |
---|
asSSWAPGraph, asSSWAPObject, asSSWAPProvider, asSSWAPResource, asSSWAPSubject, getID, isSSWAPGraph, isSSWAPObject, isSSWAPProvider, isSSWAPResource, isSSWAPSubject |
Methods inherited from interface info.sswap.api.model.SSWAPIndividual |
---|
addProperty, addProperty, addProperty, addProperty, addType, clearProperty, getDeclaredType, getDeclaredTypes, getInferredIndividual, getProperties, getProperties, getProperty, getType, getTypes, hasValue, hasValue, isAnonymous, isCompatibleWith, isOfType, removeProperty, removeProperty, removeType, setProperty, setProperty, setProperty, setProperty |
Methods inherited from interface info.sswap.api.model.SSWAPElement |
---|
addComment, addLabel, asBoolean, asDouble, asIndividual, asInteger, asList, asLiteral, asString, getComment, getLabel, isIndividual, isList, isLiteral |
Methods inherited from interface info.sswap.api.model.SSWAPModel |
---|
addImport, checkProfile, dereference, dereference, doClosure, getDocument, getImports, getInputStream, getNsPrefixMap, getReasoningService, getTypeSignature, getURI, isDereferenced, removeImport, removeNsPrefix, serialize, serialize, setNsPrefix, validate |
Method Detail |
---|
SSWAPObject getObject()
java.util.Collection<SSWAPObject> getObjects()
void setObject(SSWAPObject object)
object
- the new SSWAPObjectvoid addObject(SSWAPObject object)
object
- the object to be addedvoid setObjects(java.util.Collection<SSWAPObject> objects)
objects
- Collection of SSWAPObjects to be associated with (mapped from) this SSWAPSubjectSSWAPGraph getGraph()
java.util.Collection<SSWAPGraph> getGraphs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |