Package eu.bandm.tools.d2d2.model
Class NamespaceDecl
java.lang.Object
eu.bandm.tools.d2d2.model.NamespaceDecl
- All Implemented Interfaces:
Formattable
,Serializable
,Cloneable
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":167.3-173.16, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":167.3-173.16, see this pretty print.)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Generated by umod; model author's documentation MISSING.static final Function<NamespaceDecl,
Boolean> Deprecated.Use new '::' method reference instead.static final Function<NamespaceDecl,
Boolean> Deprecated.Use new '::' method reference instead.static final Function<NamespaceDecl,
String> Deprecated.Use new '::' method reference instead.static final Function<NamespaceDecl,
String> Deprecated.Use new '::' method reference instead.protected boolean
Generated by umod; model author's documentation MISSING.protected String
Generated by umod; model author's documentation MISSING.protected String
Generated by umod; model author's documentation MISSING. -
Constructor Summary
ConstructorDescriptionNamespaceDecl
(String prefix, String uri, boolean isdefault, boolean elementonlydefault) 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, as specified in the umod source.boolean
Generated by umod; model author's documentation MISSING.static Pattern<NamespaceDecl>
get_elementonlydefault
(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.boolean
Generated by umod; model author's documentation MISSING.static Pattern<NamespaceDecl>
get_isdefault
(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.static Pattern<NamespaceDecl>
get_prefix
(Pattern<? super String> p) Lifts a pattern which matches the field value to one which matches this whole object.get_uri()
Generated by umod; model author's documentation MISSING.static Pattern<NamespaceDecl>
Lifts a pattern which matches the field value to one which matches this whole object.static String
Delivers the format specification from the umod source.Copies values of all common fields from the argument.boolean
set_elementonlydefault
(boolean val) Generated by umod; model author's documentation MISSING.boolean
set_isdefault
(boolean val) Generated by umod; model author's documentation MISSING.boolean
set_prefix
(String val) Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.
-
Field Details
-
prefix
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":168.9-57, see this pretty print.)
The type of this field is java.lang.String(never null)
It is set by every possible constructor.- See Also:
-
get_prefix
Deprecated.Use new '::' method reference instead. -
uri
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":169.9-57, see this pretty print.)
The type of this field is java.lang.String(never null)
It is set by every possible constructor.- See Also:
-
get_uri
Deprecated.Use new '::' method reference instead. -
isdefault
protected boolean isdefaultGenerated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":170.9-57, see this pretty print.)
The type of this field is boolean(never null)
It is set by every possible constructor.- See Also:
-
get_isdefault
Deprecated.Use new '::' method reference instead. -
elementonlydefault
protected boolean elementonlydefaultGenerated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":171.9-57, see this pretty print.)
The type of this field is boolean(never null)
It is set by every possible constructor. -
get_elementonlydefault
Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
NamespaceDecl
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
prefix
- is copied to fieldprefix
uri
- is copied to fielduri
isdefault
- is copied to fieldisdefault
elementonlydefault
- is copied to fieldelementonlydefault
-
NamespaceDecl
NamespaceDecl()
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
'xmlns' prefix '= "'uri'"' $switch isdefault{true:'is' $switch elementonlydefault{true:'element' ,}'default'}
This can be used e.g. by format code interpreters which process objects of different origin. -
format
Delivers a format object for pretty-printing, as specified in the umod source.- 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_prefix
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":168.9-57, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.String(never null)
- See Also:
-
set_prefix
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":168.9-57, 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_uri
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":169.9-57, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.String(never null)
- See Also:
-
set_uri
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":169.9-57, 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_isdefault
public boolean get_isdefault()Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":170.9-57, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type boolean(never null)
- See Also:
-
set_isdefault
public boolean set_isdefault(boolean val) Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":170.9-57, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type boolean(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_elementonlydefault
public boolean get_elementonlydefault()Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":171.9-57, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type boolean(never null)
- See Also:
-
set_elementonlydefault
public boolean set_elementonlydefault(boolean val) Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":171.9-57, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type boolean(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_prefix
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__Patterns
. -
get_uri
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__Patterns
. -
get_isdefault
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__Patterns
. -
get_elementonlydefault
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__Patterns
.
-