Class DTM.Named

java.lang.Object
eu.bandm.tools.dtm.DTM.Named
All Implemented Interfaces:
Formattable, Cloneable
Direct Known Subclasses:
DTM.Attribute, DTM.Element
Enclosing class:
DTM

public abstract static class DTM.Named extends Object implements Cloneable, Formattable
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":22.1-24.57, see this pretty print.)
  • Field Details

  • Constructor Details

    • Named

      public Named(NamespaceName name)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".
      Parameters:
      name - is copied to field name
  • Method Details

    • doclone

      public DTM.Named doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Returns:
      a fresh copy.
    • format

      public Format format()
      Delivers a format object for pretty-printing by inheritance from some ancestor class.
      Specified by:
      format in interface Formattable
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public DTM.Named initFrom(Object o0)
      Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument.
    • get_location

      public Location<XMLDocumentIdentifier> get_location()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTM.umod":23.9-22, see this pretty print.)
      Generated getter method. @see #location
      Returns:
      The current field value of type Location(maybe null)
    • set_location

      public boolean set_location(Location<XMLDocumentIdentifier> val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTM.umod":23.9-22, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type Location(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_name

      public NamespaceName get_name()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTM.umod":24.9-57, see this pretty print.)
      Generated getter method. @see #name
      Returns:
      The current field value of type NamespaceName(never null)
    • set_name

      public boolean set_name(NamespaceName val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTM.umod":24.9-57, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NamespaceName(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_location

      public static Pattern<DTM.Named> get_location(Pattern<? super Location<XMLDocumentIdentifier>> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class DTM.__Patterns.
    • get_name

      public static Pattern<DTM.Named> get_name(Pattern<? super NamespaceName> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class DTM.__Patterns.