Class Suspect


  • @Entity
    public class Suspect
    extends Object
    This class provides an example of the owning side of a collection of base data types. In this case we want a unique set of strings (aliases) mapped to this entity using a separate dependent table and a foreign key relationship.
    • Field Detail

      • id

        private int id
    • Constructor Detail

      • Suspect

        public Suspect()
    • Method Detail

      • getId

        public int getId()
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getAliases

        public Set<String> getAliases()
      • setAliases

        public void setAliases​(Set<String> aliases)