|
|||||||||
| Atavism Version 2018.1 | AGIS API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatavism.msgsys.Message
atavism.msgsys.SubjectMessage
atavism.server.messages.OIDNamespaceMessage
atavism.server.engine.EnginePlugin.SetPropertyMessage
public static class EnginePlugin.SetPropertyMessage
Set property message for an sub object in a particular namespace. Capable of setting a single property, or a set of property values.
| Field Summary |
|---|
| Fields inherited from class atavism.msgsys.SubjectMessage |
|---|
oid |
| Constructor Summary | |
|---|---|
EnginePlugin.SetPropertyMessage()
No-arg constructor, required by marshalling. |
|
EnginePlugin.SetPropertyMessage(OID oid,
Namespace namespace,
java.util.Map<java.lang.String,java.io.Serializable> propMap,
java.util.Collection<java.lang.String> removedProps,
boolean reqResponse)
Constructor for the case that we want to set the values of more than one key. |
|
EnginePlugin.SetPropertyMessage(OID oid,
Namespace namespace,
java.lang.String key,
java.io.Serializable val,
boolean reqResponse)
Constructor for the case that we want to set the value of a single key. |
|
| Method Summary | |
|---|---|
boolean |
containsKey(java.lang.String key)
Return true of the message contains the key argument; false otherwise |
java.io.Serializable |
get(java.lang.String key)
Deprecated. Use getProperty(String key) instead |
java.io.Serializable |
getProperty(java.lang.String key)
Return the value associated with a key. |
java.util.Map<java.lang.String,java.io.Serializable> |
getPropMap()
Return the property map of keys and values |
java.util.Collection<java.lang.String> |
getRemovedProperties()
|
boolean |
getRequestResponse()
Get whether this message requires a response. |
void |
put(java.lang.String key,
java.io.Serializable val)
Deprecated. Use setProperty(String key, Serializable val) instead |
void |
removeProperty(java.lang.String key)
Add (or replace) the key/value pair |
java.io.Serializable |
setProperty(java.lang.String key,
java.io.Serializable val)
Add (or replace) the key/value pair |
void |
setRequestResponse(boolean val)
Set whether this message requires a response. |
| Methods inherited from class atavism.server.messages.OIDNamespaceMessage |
|---|
getNamespace, setNamespace |
| Methods inherited from class atavism.msgsys.SubjectMessage |
|---|
getSubject, setSubject, toString |
| Methods inherited from class atavism.msgsys.Message |
|---|
getEnqueueTime, getMsgId, getMsgType, getSenderName, isRPC, setEnqueueTime, setEnqueueTime, setMsgType, toBytes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnginePlugin.SetPropertyMessage()
public EnginePlugin.SetPropertyMessage(OID oid,
Namespace namespace,
java.lang.String key,
java.io.Serializable val,
boolean reqResponse)
oid - The oid of the subobject whose key/value pair will be set.namespace - The namespace containing the subobjectkey - The String keyval - The Serializable valuereqResponse - True if the message requires a response; false otherwise
public EnginePlugin.SetPropertyMessage(OID oid,
Namespace namespace,
java.util.Map<java.lang.String,java.io.Serializable> propMap,
java.util.Collection<java.lang.String> removedProps,
boolean reqResponse)
oid - The oid of the subobject whose key/value pair will be set.namespace - The namespace containing the subobject.propMap - The map of keys to values.removedProps - The set of properties that should be removed.reqResponse - True if the message requires a response; false otherwise.| Method Detail |
|---|
public java.io.Serializable get(java.lang.String key)
getProperty(String key) instead
public java.io.Serializable getProperty(java.lang.String key)
key - A String key.
public boolean containsKey(java.lang.String key)
key - The key to look for
public void put(java.lang.String key,
java.io.Serializable val)
setProperty(String key, Serializable val) instead
public java.io.Serializable setProperty(java.lang.String key,
java.io.Serializable val)
key - The string keyval - The Serializable value to be put.
public void removeProperty(java.lang.String key)
key - The string keyval - The Serializable value to be put.public java.util.Map<java.lang.String,java.io.Serializable> getPropMap()
public java.util.Collection<java.lang.String> getRemovedProperties()
public void setRequestResponse(boolean val)
val - The boolean value which, if true, indicates that
the message requires a responsepublic boolean getRequestResponse()
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||