Class ArchetypeAttributeSection

    • Field Detail

      • GENERAL_SECTION

        public static final java.lang.String GENERAL_SECTION
        The name of the "General" section.
        See Also:
        Constant Field Values
      • SPECIAL_SECTION

        public static final java.lang.String SPECIAL_SECTION
        The name of the "Special" section.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ArchetypeAttributeSection

        public ArchetypeAttributeSection​(@NotNull
                                         @NotNull java.lang.String sectionName)
        Creates a new instance.
        Parameters:
        sectionName - the section's name
    • Method Detail

      • getSectionName

        @NotNull
        public @NotNull java.lang.String getSectionName()
        Returns this section's name.
        Returns:
        the name
      • addAll

        public void addAll​(@NotNull
                           @NotNull ArchetypeAttributeSection archetypeAttributeSection)
        Adds all ArchetypeAttributes of another archetype attributes to this archetype attributes.
        Parameters:
        archetypeAttributeSection - the other archetype attributes
      • isEmpty

        public boolean isEmpty()
        Returns whether no ArchetypeAttributes exist.
        Returns:
        whether no archetype attributes exist
      • hasAttributeKey

        public boolean hasAttributeKey​(@NotNull
                                       @NotNull java.lang.Comparable<java.lang.String> key)
        Returns whether an attribute key is defined.
        Parameters:
        key - the attribute key
        Returns:
        whether the attribute key is defined
      • toString

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