Class Contact


  • public class Contact
    extends java.lang.Object
    Contact information for a tenant.
    Author:
    mpolden
    • Constructor Summary

      Constructors 
      Constructor Description
      Contact​(java.net.URI url, java.net.URI propertyUrl, java.net.URI issueTrackerUrl, java.util.List<java.util.List<java.lang.String>> persons, java.lang.String queue, java.util.Optional<java.lang.String> component)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> component()  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.net.URI issueTrackerUrl()
      URL to this contacts's issue tracker
      java.util.List<java.util.List<java.lang.String>> persons()
      Nested list of persons representing this.
      java.net.URI propertyUrl()
      URL to information about this property
      java.lang.String queue()  
      java.lang.String toString()  
      java.net.URI url()
      URL to this
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Contact

        public Contact​(java.net.URI url,
                       java.net.URI propertyUrl,
                       java.net.URI issueTrackerUrl,
                       java.util.List<java.util.List<java.lang.String>> persons,
                       java.lang.String queue,
                       java.util.Optional<java.lang.String> component)
    • Method Detail

      • url

        public java.net.URI url()
        URL to this
      • propertyUrl

        public java.net.URI propertyUrl()
        URL to information about this property
      • issueTrackerUrl

        public java.net.URI issueTrackerUrl()
        URL to this contacts's issue tracker
      • persons

        public java.util.List<java.util.List<java.lang.String>> persons()
        Nested list of persons representing this. First level represents that person's rank in the corporate dystopia.
      • queue

        public java.lang.String queue()
      • component

        public java.util.Optional<java.lang.String> component()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object