public class JsonSerializeTagEvent
extends java.util.EventObject
| Constructor and Description |
|---|
JsonSerializeTagEvent(java.lang.Object source,
java.lang.Object item,
java.lang.Object tag,
com.mindfusion.common.JsonObject obj,
JsonSerializationContext context)
Initializes a new instance of the
JsonSerializeTagEvent class. |
| Modifier and Type | Method and Description |
|---|---|
JsonSerializationContext |
getContext() |
java.lang.Object |
getObject()
|
com.mindfusion.common.JsonObject |
getRepresentation()
Gets the JsonObject, representing the tag object
|
java.lang.Object |
getTag()
Gets the tag object being serialized or deserialized.
|
boolean |
isHandled()
Gets a value indicating whether the event is handled.
|
void |
setHandled(boolean value)
Sets a value indicating whether the event is handled.
|
void |
setRepresentation(com.mindfusion.common.JsonObject representation)
Sets the JsonObject, representing the tag object
|
void |
setTag(java.lang.Object tag)
Sets the tag object being serialized or deserialized.
|
public JsonSerializeTagEvent(java.lang.Object source,
java.lang.Object item,
java.lang.Object tag,
com.mindfusion.common.JsonObject obj,
JsonSerializationContext context)
JsonSerializeTagEvent class.source - The Schedule that raises this event.item - Item or Resource whose tag is being serialized or deserialized.tag - The tag object being serialized or deserialized.obj - A JsonObject instance representing the tag data.context - A helper object providing serialization methods for various data types.public void setTag(java.lang.Object tag)
tag - An object representing the tag value being serialized or deserialized.public java.lang.Object getTag()
public void setRepresentation(com.mindfusion.common.JsonObject representation)
representation - JsonObjectpublic com.mindfusion.common.JsonObject getRepresentation()
public void setHandled(boolean value)
value - booleanpublic boolean isHandled()
public JsonSerializationContext getContext()