public class InstanceStatusEvent extends Object implements Serializable
Constructor and Description |
---|
InstanceStatusEvent() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCode()
The event code.
|
String |
getDescription()
A description of the event.
|
Date |
getNotAfter()
The latest scheduled end time for the event.
|
Date |
getNotBefore()
The earliest scheduled start time for the event.
|
int |
hashCode() |
void |
setCode(String code)
The event code.
|
void |
setDescription(String description)
A description of the event.
|
void |
setNotAfter(Date notAfter)
The latest scheduled end time for the event.
|
void |
setNotBefore(Date notBefore)
The earliest scheduled start time for the event.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
public void setCode(String code)
The event code.
code
- The event code.public String getCode()
The event code.
public void setDescription(String description)
A description of the event.
After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].
description
- A description of the event.
After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].
public String getDescription()
A description of the event.
After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].
A description of the event.
After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].
public void setNotBefore(Date notBefore)
The earliest scheduled start time for the event.
notBefore
- The earliest scheduled start time for the event.public Date getNotBefore()
The earliest scheduled start time for the event.
public void setNotAfter(Date notAfter)
The latest scheduled end time for the event.
notAfter
- The latest scheduled end time for the event.public Date getNotAfter()
The latest scheduled end time for the event.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2010–2020. All rights reserved.