|
||||||||||
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
public class EntityMessage
A message containing a definition of a an object (entity)
Field Summary | |
---|---|
private Entity |
entity
The entity stored in the message |
private java.util.Map<java.lang.String,Entity> |
individuals
|
Constructor Summary | |
---|---|
EntityMessage()
Creates an empty message |
|
EntityMessage(Prefixes prefixes,
Imports imports)
Creates a message containing only the defnition of namespace prefixes and imports |
|
EntityMessage(Prefixes prefixes,
Imports imports,
Entity entity)
Creates a message containing information about imports, namespace prefixes and the entity contained within the message |
|
EntityMessage(Prefixes prefixes,
Imports imports,
Entity entity,
java.util.Map<java.lang.String,Entity> individuals)
|
Method Summary | |
---|---|
Entity |
getEntity()
Gets the information about entity contained within this message. |
Entity |
getIndividual(java.lang.String identifier)
|
java.util.Map<java.lang.String,Entity> |
getIndividuals()
|
void |
setEntity(Entity entity)
Sets the information about entity contained within this message |
void |
setIndividuals(java.util.Map<java.lang.String,Entity> individuals)
|
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 Entity entity
private java.util.Map<java.lang.String,Entity> individuals
Constructor Detail |
---|
public EntityMessage()
public EntityMessage(Prefixes prefixes, Imports imports)
prefixes
- the information about the namespace prefixesimports
- the information about the importspublic EntityMessage(Prefixes prefixes, Imports imports, Entity entity)
prefixes
- the information about namespace prefixesimports
- the information about importsentity
- the information about the entitypublic EntityMessage(Prefixes prefixes, Imports imports, Entity entity, java.util.Map<java.lang.String,Entity> individuals)
Method Detail |
---|
public Entity getEntity()
public void setEntity(Entity entity)
entity
- the entity contained within this message.public java.util.Map<java.lang.String,Entity> getIndividuals()
public Entity getIndividual(java.lang.String identifier)
public void setIndividuals(java.util.Map<java.lang.String,Entity> individuals)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |