Class DTD.EntityValue

java.lang.Object
eu.bandm.tools.dtd.DTD.EntityValue
All Implemented Interfaces:
Formattable, Cloneable
Enclosing class:
DTD

public static class DTD.EntityValue 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 "DTD.umod":56.1, see this pretty print.)
  • Field Details

  • Constructor Details

    • EntityValue

      public EntityValue(XMLDocumentIdentifier id, String definition, String replacement)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".
      Parameters:
      id - is copied to field id
      definition - is copied to field definition
      replacement - is copied to field replacement
    • EntityValue

      public EntityValue(String definition, String replacement)
      Constructor generated according to specification #1
      Constructor defined according to directive "C 1/..".
      Parameters:
      definition - is copied to field definition
      replacement - is copied to field replacement
    • EntityValue

      public EntityValue(String definition)
      Constructor generated according to specification #2
      Constructor defined according to directive "C 2/..".
      Parameters:
      definition - is copied to field definition
  • Method Details

    • doclone

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

      public static String getFormatHint()
      Delivers the format specification from the umod source.
      The constant return value is ..
      id?$java 'eu.bandm.tools.format.Formats.quoteDTDstyle'($text definition)
      This can be used e.g. by format code interpreters which process objects of different origin.
    • format

      public Format format()
      Delivers a format object for pretty-printing, as specified in the umod source.
      Specified by:
      format in interface Formattable
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public DTD.EntityValue 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_id

      public XMLDocumentIdentifier get_id()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTD.umod":125.3-51, see this pretty print.)
      Generated getter method. @see #id
      Returns:
      The current field value of type XMLDocumentIdentifier(maybe null)
    • set_id

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

      public String get_definition()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTD.umod":126.3-59, see this pretty print.)
      Generated getter method. @see #definition
      Returns:
      The current field value of type java.lang.String(never null)
    • set_definition

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

      public String get_replacement()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTD.umod":127.3-55, see this pretty print.)
      Generated getter method. @see #replacement
      Returns:
      The current field value of type java.lang.String(maybe null)
    • set_replacement

      public boolean set_replacement(String val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTD.umod":127.3-55, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type java.lang.String(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_id

      public static Pattern<DTD.EntityValue> get_id(Pattern<? super 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 DTD.__Patterns.
    • get_definition

      public static Pattern<DTD.EntityValue> get_definition(Pattern<? super String> 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 DTD.__Patterns.
    • get_replacement

      public static Pattern<DTD.EntityValue> get_replacement(Pattern<? super String> 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 DTD.__Patterns.