Class Namespace

java.lang.Object
nl.talsmasoftware.umldoclet.uml.UMLNode
nl.talsmasoftware.umldoclet.uml.Namespace

public class Namespace extends UMLNode
UML namespace

This corresponds to a 'package' in the Java world.

Author:
Sjoerd Talsma
  • Field Details

    • name

      public final String name
  • Constructor Details

  • Method Details

    • writeTo

      public <IPW extends IndentingPrintWriter> IPW writeTo(IPW output)
      Description copied from class: UMLNode
      Renders this object to the given indenting output.
      Specified by:
      writeTo in class UMLNode
      Type Parameters:
      IPW - The subclass of indenting print writer being written to.
      Parameters:
      output - The output to render this object to.
      Returns:
      A reference to the output for method chaining purposes.
    • contains

      public boolean contains(TypeName typeName)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object