Class Identifiable

    • Constructor Detail

      • Identifiable

        public Identifiable()
    • Method Detail

      • getGuid

        public String getGuid()
        Returns:
        the guid
      • getHome

        public String getHome()
        Returns:
        the home
      • setGuid

        public void setGuid​(String guid)
        Parameters:
        guid - the global unique identifier to set
      • setHome

        public void setHome​(String home)
        Parameters:
        home - the home to set
      • getSlots

        public Set<Slot> getSlots()
        Returns:
        the slots
      • setSlots

        public void setSlots​(Set<Slot> slots)
        Parameters:
        slots - the slots to set
      • getSlot

        public Slot getSlot​(String slotName)
        Convenience method to look up a slot with a given name.
        Parameters:
        slotName - to look for within the list of slots
        Returns:
        Slot of null if not found
      • addSlot

        public void addSlot​(Slot slot)
        Convenience method to add a slot to the set of slots.
        Parameters:
        slot - to be added
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object