com.ibm.sensorevent.model.payload
Class PortalCommandPayload
java.lang.Object
com.ibm.sensorevent.model.generic.GenericGroup
com.ibm.sensorevent.model.Group
com.ibm.sensorevent.model.Payload
com.ibm.sensorevent.model.payload.IBMSensorEventPayload
com.ibm.sensorevent.model.payload.CommandPayload
com.ibm.sensorevent.model.payload.PortalCommandPayload
- All Implemented Interfaces:
- IGenericGroup, IGroup, IPayload, ISensorEventPayload, java.io.Serializable
public class PortalCommandPayload
- extends CommandPayload
PortalCommandPayload represents command events sent from Premises Server to Data Capture.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
Constructor Summary |
protected |
PortalCommandPayload()
Constructs a PortalCommandPayload |
protected |
PortalCommandPayload(java.lang.String eventType)
Constructs a PortalCommandPayload for the specified event type |
Method Summary |
static IGenericGroup |
fromMap(java.util.Map map,
java.lang.String eventType)
Creates a PortalCommandPayload from the specified java.util.Map and for the event type |
static IGenericGroup |
getInstance()
Factory method to create a PortalCommandPayload |
static IGenericGroup |
getInstance(IPayload sourcePayload)
Factory method to create a PortalCommandPayload from the specified payload |
static IGenericGroup |
getInstance(java.lang.String eventType)
Factory method to create a PortalCommandPayload for the specified event type |
Methods inherited from class com.ibm.sensorevent.model.payload.IBMSensorEventPayload |
copyFields, fromMap, fromMap, fromTypedMap, fromTypedMap, fromTypedMap, getAllGenericTagIDs, getEventGroup, getGenericTagID, getGenericTagIDFromAttribute, getGenericTagIDs, getGenericTagIDsFromAttribute, getInstance, setEventGroup |
Methods inherited from class com.ibm.sensorevent.model.generic.GenericGroup |
addAttribute, addAttributeArray, addBooleanArrayAttribute, addBooleanAttribute, addByteArrayAttribute, addByteAttribute, addDateArrayAttribute, addDateArrayAttributeAsLong, addDateAttribute, addDateAttributeAsLong, addDoubleArrayAttribute, addDoubleAttribute, addFloatArrayAttribute, addFloatAttribute, addGroup, addHexAttribute, addHexAttribute, addIntArrayAttribute, addIntAttribute, addLongArrayAttribute, addLongAttribute, addShortArrayAttribute, addShortAttribute, addStringArrayAttribute, addStringAttribute, createGroupPath, getAttribute, getAttributes, getAttributesAsList, getBooleanAttributeArrayValue, getBooleanAttributeValue, getByteAttributeArrayValue, getByteAttributeValue, getDateAttributeArrayValue, getDateAttributeArrayValueAsLong, getDateAttributeValue, getDateAttributeValueAsLong, getDoubleAttributeArrayValue, getDoubleAttributeValue, getFloatAttributeArrayValue, getFloatAttributeValue, getGroup, getGroups, getGroupsAsList, getHexAttributeValue, getHexAttributeValueAsString, getIntAttributeArrayValue, getIntAttributeValue, getLongAttributeArrayValue, getLongAttributeValue, getName, getShortAttributeArrayValue, getShortAttributeValue, getStringAttributeArrayValue, getStringAttributeValue, removeAttributes, removeGroups, setAttributes, setGroups, setName, traverseGroupPath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.sensorevent.model.generic.IGenericGroup |
addAttribute, addAttributeArray, addBooleanArrayAttribute, addBooleanAttribute, addByteArrayAttribute, addByteAttribute, addDateArrayAttribute, addDateArrayAttributeAsLong, addDateAttribute, addDateAttributeAsLong, addDoubleArrayAttribute, addDoubleAttribute, addFloatArrayAttribute, addFloatAttribute, addGroup, addHexAttribute, addHexAttribute, addIntArrayAttribute, addIntAttribute, addLongArrayAttribute, addLongAttribute, addShortArrayAttribute, addShortAttribute, addStringArrayAttribute, addStringAttribute, createGroupPath, getAttribute, getAttributes, getAttributesAsList, getBooleanAttributeArrayValue, getBooleanAttributeValue, getByteAttributeArrayValue, getByteAttributeValue, getDateAttributeArrayValue, getDateAttributeArrayValueAsLong, getDateAttributeValue, getDateAttributeValueAsLong, getDoubleAttributeArrayValue, getDoubleAttributeValue, getFloatAttributeArrayValue, getFloatAttributeValue, getGroup, getGroups, getGroupsAsList, getHexAttributeValue, getHexAttributeValueAsString, getIntAttributeArrayValue, getIntAttributeValue, getLongAttributeArrayValue, getLongAttributeValue, getName, getShortAttributeArrayValue, getShortAttributeValue, getStringAttributeArrayValue, getStringAttributeValue, removeAttributes, removeGroups, setAttributes, setGroups, setName, traverseGroupPath |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
PortalCommandPayload
protected PortalCommandPayload()
throws SensorEventException
- Constructs a PortalCommandPayload
- Throws:
SensorEventException
PortalCommandPayload
protected PortalCommandPayload(java.lang.String eventType)
throws SensorEventException
- Constructs a PortalCommandPayload for the specified event type
- Parameters:
eventType
- the event type
- Throws:
SensorEventException
getInstance
public static IGenericGroup getInstance()
throws SensorEventException
- Factory method to create a PortalCommandPayload
- Throws:
SensorEventException
getInstance
public static IGenericGroup getInstance(java.lang.String eventType)
throws SensorEventException
- Factory method to create a PortalCommandPayload for the specified event type
- Parameters:
eventType
- the event type
- Throws:
SensorEventException
getInstance
public static IGenericGroup getInstance(IPayload sourcePayload)
throws SensorEventException
- Factory method to create a PortalCommandPayload from the specified payload
- Parameters:
sourcePayload
- the payload to copy from
- Throws:
SensorEventException
fromMap
public static IGenericGroup fromMap(java.util.Map map,
java.lang.String eventType)
throws SensorEventException
- Creates a PortalCommandPayload from the specified java.util.Map and for the event type
- Parameters:
map
- source java.util.MapeventType
- the event type
- Throws:
SensorEventException
Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.