Package org.bedework.eventreg.db
Class Ticket
- All Implemented Interfaces:
Serializable,Comparable<Ticket>
Concrete representation of a ticket. Will allow validation of tickets
presented by attendees.
- Author:
- douglm
- See Also:
-
Field Summary
Fields inherited from class org.bedework.eventreg.db.SerializableProperties
vals -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetEvent()getHref()getUuid()inthashCode()voidvoidsetCreated(String val) voidvoidvoidsetRegistrationId(Long val) voidUnique id for ticket verificationtoString()protected voidtoStringSegment(org.bedework.util.misc.ToString ts) Add our stuff to the StringBuilderMethods inherited from class org.bedework.eventreg.db.DbItem
clone, equals, getId, getSeq, setId, setSeq, unsavedMethods inherited from class org.bedework.eventreg.db.SerializableProperties
asMap, asString, getMap, getProperties, getVals, init, may, mayBool, mayInt, mayList, mayList, must, mustList, setBoolean, setInt, setObject, setProperties, setString
-
Constructor Details
-
Ticket
public Ticket()
-
-
Method Details
-
setRegistrationId
- Parameters:
val-
-
getRegistrationId
- Returns:
- registrationId
-
setAuthid
- Parameters:
val-
-
getAuthid
- Returns:
- authid
-
setHref
- Parameters:
val-
-
getHref
- Returns:
- eventHref
-
setUuid
Unique id for ticket verification- Parameters:
val-
-
getUuid
- Returns:
- uuid
-
setCreated
- Parameters:
val-
-
getCreated
- Returns:
- created
-
setEvent
- Parameters:
val-
-
getEvent
- Returns:
- event
-
toStringSegment
protected void toStringSegment(org.bedework.util.misc.ToString ts) Add our stuff to the StringBuilder- Overrides:
toStringSegmentin classDbItem<Ticket>- Parameters:
ts- StringBuilder for result
-
compareTo
-
hashCode
public int hashCode() -
toString
-