public class ContextPartitionIdentifierInitiatedTerminated extends ContextPartitionIdentifier
Constructor and Description |
---|
ContextPartitionIdentifierInitiatedTerminated()
Ctor.
|
ContextPartitionIdentifierInitiatedTerminated(java.util.Map<java.lang.String,java.lang.Object> properties,
long startTime,
java.lang.Long endTime)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
compareTo(ContextPartitionIdentifier other)
Compare identifiers returning a boolean indicator whether identifier information matches.
|
java.lang.Long |
getEndTime()
Returns the end time of the context partition, if it can be computed
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Event or pattern information.
|
long |
getStartTime()
Returns the start time of the context partition.
|
void |
setEndTime(java.lang.Long endTime)
Sets the end time of the context partition, if it can be computed
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Sets the event or pattern information.
|
void |
setStartTime(long startTime)
Sets the start time of the context partition.
|
java.lang.String |
toString() |
getContextPartitionId, setContextPartitionId
public ContextPartitionIdentifierInitiatedTerminated()
public ContextPartitionIdentifierInitiatedTerminated(java.util.Map<java.lang.String,java.lang.Object> properties, long startTime, java.lang.Long endTime)
properties
- of triggering objectstartTime
- start timeendTime
- optional end timepublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
properties
- starting or initiating informationpublic long getStartTime()
public void setStartTime(long startTime)
startTime
- start timepublic java.lang.Long getEndTime()
public void setEndTime(java.lang.Long endTime)
endTime
- end timepublic boolean compareTo(ContextPartitionIdentifier other)
ContextPartitionIdentifier
compareTo
in class ContextPartitionIdentifier
other
- to compare topublic java.lang.String toString()
toString
in class java.lang.Object