public class Demand extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_CLOSED |
static int |
STATUS_INPROGRESS |
| Constructor and Description |
|---|
Demand() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(Action action)
Add an action
|
List<Action> |
getActions()
Returns the Actions
|
long |
getClosureDate()
Gives the closure date
|
long |
getCreationDate()
Gives the creation date
|
int |
getCurrentStep()
Gives the current step
|
Customer |
getCustomer()
Gives the customer
|
String |
getId()
Gives the id
|
int |
getMaxSteps()
Gives the number of steps
|
List<Notification> |
getNotifications()
Returns the Notifications
|
String |
getReference()
Gives the reference
|
boolean |
getShowDetails()
Return true if details can be shown otherwise false.
|
int |
getStatusId()
Gives the status id
|
String |
getSubtypeId()
Gves the subtype id
|
String |
getTitle()
Returns the Title
|
String |
getTypeId()
Gves the type id
|
void |
setActions(List<Action> listActions)
Sets the Actions
|
void |
setClosureDate(long lClosureDate)
Sets the closure date
|
void |
setCreationDate(long lCreationDate)
Sets the creation date
|
void |
setCurrentStep(int nCurrentStep)
Sets the current step
|
void |
setCustomer(Customer customer)
Sets the customer
|
void |
setId(String strId)
Sets the id
|
void |
setMaxSteps(int nMaxSteps)
Sets the number of steps
|
void |
setNotifications(List<Notification> listNotifications)
Sets the Notifications
|
void |
setReference(String strReference)
Sets the reference
|
void |
setShowDetails(boolean bShowDetails)
Set the flag to show or not details
|
void |
setStatusId(int nStatusId)
Sets the status id
|
void |
setSubtypeId(String strSubtypeId)
Sets the subtype id
|
void |
setTitle(String strTitle)
Sets the Title
|
void |
setTypeId(String strTypeId)
Sets the type id
|
public static final int STATUS_INPROGRESS
public static final int STATUS_CLOSED
public String getId()
public void setId(String strId)
strId - The idpublic String getReference()
public void setReference(String strReference)
strReference - The referencepublic int getStatusId()
public void setStatusId(int nStatusId)
nStatusId - The status idpublic void setTypeId(String strTypeId)
strTypeId - The type idpublic String getTypeId()
public void setSubtypeId(String strSubtypeId)
strSubtypeId - The subtype idpublic String getSubtypeId()
public String getTitle()
public void setTitle(String strTitle)
strTitle - The Titlepublic List<Notification> getNotifications()
public void setNotifications(List<Notification> listNotifications)
listNotifications - The Notificationspublic void setActions(List<Action> listActions)
listActions - The Actionspublic void addAction(Action action)
action - the action to addpublic Customer getCustomer()
public void setCustomer(Customer customer)
customer - the customer to setpublic long getCreationDate()
public void setCreationDate(long lCreationDate)
lCreationDate - the creation date to setpublic long getClosureDate()
public void setClosureDate(long lClosureDate)
lClosureDate - the closure date to setpublic int getMaxSteps()
public void setMaxSteps(int nMaxSteps)
nMaxSteps - the number of steps to setpublic int getCurrentStep()
public void setCurrentStep(int nCurrentStep)
nCurrentStep - the current step to setpublic void setShowDetails(boolean bShowDetails)
bShowDetails - the flag valuepublic boolean getShowDetails()
Copyright © 2019 City of Paris. All rights reserved.