public class ToDoProperties extends ReferenceableProperties
| Constructor and Description |
|---|
ToDoProperties()
Default constructor
|
ToDoProperties(ToDoProperties template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
Date |
getCompletionTime()
Return when this was completed - or null if still outstanding.
|
Date |
getCreationTime()
Return the time that this action was created.
|
String |
getDescription()
Return the description of the asset.
|
Date |
getDueTime()
Return when this needs to be completed by.
|
String |
getName()
Return the name of the asset.
|
int |
getPriority()
Return how important this is.
|
ToDoStatus |
getStatus()
Return the status of the action/to do.
|
int |
hashCode()
Return hash code for this object
|
void |
setCompletionTime(Date completionTime)
Set up when this was completed - or null if still outstanding.
|
void |
setCreationTime(Date creationTime)
Set up the time that the action was created.
|
void |
setDescription(String description)
Set up the description of the asset.
|
void |
setDueTime(Date dueTime)
Set up when this needs to be completed by.
|
void |
setName(String name)
Set up the name of the asset.
|
void |
setPriority(int priority)
Set up how important this is.
|
void |
setStatus(ToDoStatus status)
Set up the status of the action/to do.
|
String |
toString()
JSON-style toString
|
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorPropertiespublic ToDoProperties()
public ToDoProperties(ToDoProperties template)
template - object to copypublic String getName()
public void setName(String name)
name - string namepublic String getDescription()
public void setDescription(String description)
description - textpublic Date getCreationTime()
public void setCreationTime(Date creationTime)
creationTime - datapublic int getPriority()
public void setPriority(int priority)
priority - integerpublic Date getDueTime()
public void setDueTime(Date dueTime)
dueTime - datepublic Date getCompletionTime()
public void setCompletionTime(Date completionTime)
completionTime - datepublic ToDoStatus getStatus()
public void setStatus(ToDoStatus status)
status - status enumpublic String toString()
toString in class ReferenceablePropertiespublic boolean equals(Object objectToCompare)
equals in class ReferenceablePropertiesobjectToCompare - test objectpublic int hashCode()
hashCode in class ReferenceablePropertiesCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.