Class Area

    • Constructor Detail

      • Area

        public Area​(java.lang.String id,
                    java.lang.String name,
                    java.util.List<java.lang.String> tags,
                    java.lang.String description,
                    java.lang.String notes,
                    java.util.List<Link> links,
                    java.util.List<Team> teams,
                    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()
      • 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()
      • getTeams

        public java.util.List<@Valid Team> getTeams()
      • 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 Area 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 Area withName​(java.lang.String name)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTags

        public Area 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 Area 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 Area 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 Area 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).
      • withTeams

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

        public Area 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).