Class TicketForm



  • public class TicketForm
    extends java.lang.Object
    Model class for ticket forms.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TicketForm(long id, java.lang.String name, java.util.List<TicketField> ticketFields)
      Constructor for creating an instance of a ticket form.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      long getId()
      Gets the ID of the ticket form.
      java.lang.String getName()
      Gets the name of the ticket form.
      java.util.List<TicketField> getTicketFields()
      Gets a list of associated TicketField.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TicketForm

        public TicketForm(long id,
                          java.lang.String name,
                          java.util.List<TicketField> ticketFields)
        Constructor for creating an instance of a ticket form.
        Parameters:
        id - ticket form id
        name - ticket form name
        ticketFields - a list of associated ticket fields
    • Method Detail

      • getId

        public long getId()
        Gets the ID of the ticket form.
        Returns:
        the id of the ticket form
      • getName

        public java.lang.String getName()
        Gets the name of the ticket form.
        Returns:
        the name of the ticket form
      • getTicketFields

        public java.util.List<TicketField> getTicketFields()
        Gets a list of associated TicketField.
        Returns:
        a list of ticket fields