Class IdNameTuple

    • Constructor Detail

      • IdNameTuple

        public IdNameTuple​(long id,
                           String value)
        Initialize a new IdNameTuple instance.
        Parameters:
        id - Entity id
        value - Entity value
      • IdNameTuple

        public IdNameTuple​(long id,
                           String value,
                           Long uniqueId)
        Initialize a new IdNameTuple instance.
        Parameters:
        id - Entity id
        value - Entity value
        uniqueId - Entity unique id (i.e. team unique id)
      • IdNameTuple

        protected IdNameTuple()
        For Serializable
    • Method Detail

      • getId

        public Long getId()
        Entity id
        Returns:
        id
      • getUniqueId

        public Long getUniqueId()
        Specified the team unique id.

        The teams have two id's; one named id and another named uniqueid. The id is for that team in that tournament, and the uniqueid is for that team in all tournaments. Not all teams have the uniqueid attribute, so it should only be used to identify that two teams in different tournaments are the same.

        Returns:
        unique id