Class Team

    • Constructor Detail

      • Team

        public Team​(java.lang.String id,
                    java.lang.String name,
                    java.lang.String emailAddress,
                    java.lang.String areaId,
                    java.util.List<java.lang.String> tags,
                    java.lang.String description,
                    java.lang.String notes,
                    java.util.List<Link> links,
                    java.util.List<Component> components)
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface ObjectWithId
      • getName

        public java.lang.String getName()
      • getEmailAddress

        public java.lang.String getEmailAddress()
      • getAreaId

        public java.lang.String getAreaId()
      • getTags

        public java.util.List<@NotBlank @Pattern(regexp="[a-z][a-z0-9]*(-[a-z0-9]+)*") java.lang.String> getTags()
      • getDescription

        public java.lang.String getDescription()
      • getNotes

        public java.lang.String getNotes()
      • getLinks

        public java.util.List<@Valid Link> getLinks()
      • getComponents

        public java.util.List<@Valid Component> getComponents()
      • 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
      • withId

        public Team withId​(java.lang.String id)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withName

        public Team withName​(java.lang.String name)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withEmailAddress

        public Team withEmailAddress​(java.lang.String emailAddress)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withAreaId

        public Team withAreaId​(java.lang.String areaId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTags

        public Team withTags​(java.util.List<@NotBlank @Pattern(regexp="[a-z][a-z0-9]*(-[a-z0-9]+)*") java.lang.String> tags)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDescription

        public Team withDescription​(java.lang.String description)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withNotes

        public Team withNotes​(java.lang.String notes)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withLinks

        public Team withLinks​(java.util.List<@Valid Link> links)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withComponents

        public Team withComponents​(java.util.List<@Valid Component> components)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).