|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.sswap.http.representation.Message
info.sswap.http.representation.EntityMessage
info.sswap.http.representation.ProtocolMessage
public class ProtocolMessage
Intermediate representation of the input describing an RDG
Field Summary | |
---|---|
private java.util.Collection<Mapping> |
mappings
|
Constructor Summary | |
---|---|
ProtocolMessage()
Creates an empty object |
|
ProtocolMessage(Prefixes prefixes,
Imports imports)
Creates an object just with prefix and imports declarations |
|
ProtocolMessage(Prefixes prefixes,
Imports imports,
Entity resource,
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> subjectObjectMap)
Creates an object with all data read from the input |
Method Summary | |
---|---|
java.util.Collection<Mapping> |
getMappings()
|
Entity |
getResource()
Gets the properties of the SSWAPResource (e.g., name, oneLineDescription). |
void |
setMappings(java.util.Collection<Mapping> mappings)
|
void |
setResource(Entity resource)
Sets the properties of the SSWAPResource (e.g., name, oneLineDescription) |
Methods inherited from class info.sswap.http.representation.EntityMessage |
---|
getEntity, getIndividual, getIndividuals, setEntity, setIndividuals |
Methods inherited from class info.sswap.http.representation.Message |
---|
getImports, getPrefixes, setImports, setPrefixes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Collection<Mapping> mappings
Constructor Detail |
---|
public ProtocolMessage()
public ProtocolMessage(Prefixes prefixes, Imports imports)
prefixes
- the prefix informationimports
- the imports declarationspublic ProtocolMessage(Prefixes prefixes, Imports imports, Entity resource, java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> subjectObjectMap)
prefixes
- the prefix informationimports
- the imports declarationsresource
- the information about the properties/values for the resourcesubjectObjectMap
- mapping of subject URI to object URIsMethod Detail |
---|
public java.util.Collection<Mapping> getMappings()
public void setMappings(java.util.Collection<Mapping> mappings)
public Entity getResource()
public void setResource(Entity resource)
resource
- the Entity object with the properites
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |