|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.sswap.http.representation.Message
public class Message
A base class for messages exchanged between the client and HTTP API. Such a message typically consists of a prefix definition, imports definition, and a few more message-specific parts.
Field Summary | |
---|---|
private Imports |
imports
The information about ontologies that should be imported. |
private Prefixes |
prefixes
The definitions of prefixes for this message. |
Constructor Summary | |
---|---|
Message()
|
|
Message(Prefixes prefixes,
Imports imports)
Creates a new message with the specified prefixes and imports. |
Method Summary | |
---|---|
Imports |
getImports()
|
Prefixes |
getPrefixes()
Gets the definitions of prefixes for this message. |
void |
setImports(Imports imports)
|
void |
setPrefixes(Prefixes prefixes)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Prefixes prefixes
private Imports imports
Constructor Detail |
---|
public Message()
public Message(Prefixes prefixes, Imports imports)
prefixes
- the definitions of prefixes for this messageimports
- the list of imports in this message.Method Detail |
---|
public Prefixes getPrefixes()
public void setPrefixes(Prefixes prefixes)
public Imports getImports()
public void setImports(Imports imports)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |