public class Ticket
extends java.lang.Object
implements java.io.Serializable
Red (jkillian) |
Red (jkillian) |
Constructor and Description |
---|
Ticket() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Compare tickets by the ticketID property.
|
static Ticket |
generateTicket(java.lang.String modelUrl,
java.lang.String layoutUrl)
Generate a new ticket for the provided model and layout URL.
|
java.util.Date |
getDateRequested()
Get the date and time of the original request.
|
java.lang.String |
getLayoutUrl()
Get the URL of the layout file.
|
java.lang.String |
getModelUrl()
Get the URL of the model file.
|
java.lang.String |
getTicketID()
Get the unique ticket identifier.
|
int |
hashCode()
Return a hash code value for this ticket.
|
java.lang.String |
toString()
Return the ticket id.
|
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- Object to compare this ticket with.public static Ticket generateTicket(java.lang.String modelUrl, java.lang.String layoutUrl)
modelUrl
- The path to the model file.layoutUrl
- The path to the layout file.public java.util.Date getDateRequested()
public java.lang.String getLayoutUrl()
public java.lang.String getModelUrl()
public java.lang.String getTicketID()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()