Package eu.bandm.tools.dtm
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
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.)
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":22.1-24.57, see this pretty print.)
-
Field Summary
Modifier and TypeFieldDescriptionprotected Location<XMLDocumentIdentifier>
Generated by umod; model author's documentation MISSING.protected NamespaceName
Generated by umod; model author's documentation MISSING. -
Constructor Summary
ConstructorDescriptionNamed
(NamespaceName name) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptiondoclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.Generated by umod; model author's documentation MISSING.get_location
(Pattern<? super Location<XMLDocumentIdentifier>> p) Lifts a pattern which matches the field value to one which matches this whole object.get_name()
Generated by umod; model author's documentation MISSING.get_name
(Pattern<? super NamespaceName> p) Lifts a pattern which matches the field value to one which matches this whole object.Copies values of all common fields from the argument.boolean
Generated by umod; model author's documentation MISSING.boolean
set_name
(NamespaceName val) Generated by umod; model author's documentation MISSING.
-
Field Details
-
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.)
The type of this field isLocation
(maybe null)
Its value defaults to null. -
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.)
The type of this field isNamespaceName
(never null)
It is set by every possible constructor.
-
-
Constructor Details
-
Named
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
name
- is copied to fieldname
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Returns:
- a fresh copy.
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
format
in interfaceFormattable
- Returns:
- a format that represents this object in a pretty-printable way
-
initFrom
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
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. -
set_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.)
Updates the (mutable) instance destructively. -
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.- Returns:
- The current field value of type
NamespaceName
(never null) - See Also:
-
set_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.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeNamespaceName
(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_location
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 classDTM.__Patterns
. -
get_name
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 classDTM.__Patterns
.
-