public static class DTM.Singleton extends DTM.CP
Modifier and Type | Field and Description |
---|---|
protected static int |
BASE_HASH |
static Function<DTM.Singleton,DTM.ElementRef> |
get_ref
Deprecated.
Use new '::' method reference instead.
|
protected DTM.ElementRef |
ref
Generated by umod; model author's documentation MISSING.
|
get_modifier, modifier
format
Constructor and Description |
---|
Singleton(EBNFModifier modifier,
DTM.ElementRef ref)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
DTM.Singleton |
doclone()
Clones this object.
|
boolean |
equals(Object e0)
Generated by umod because this class is
ALGEBRAIC . |
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
DTM.ElementRef |
get_ref()
Generated by umod; model author's documentation MISSING.
|
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
int |
hashCode()
Generated by umod because this class is
ALGEBRAIC . |
DTM.Singleton |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
DTM.Singleton |
with_ref(DTM.ElementRef val)
Generated by umod; model author's documentation MISSING.
|
boolean |
x_equals(DTM.Singleton e0) |
get_modifier, with_modifier
protected static final int BASE_HASH
protected DTM.ElementRef ref
DTM.ElementRef
(never null)@Deprecated public static final Function<DTM.Singleton,DTM.ElementRef> get_ref
public Singleton(EBNFModifier modifier, DTM.ElementRef ref)
modifier
- is copied to field DTM.CP.modifier
ref
- is copied to field ref
public DTM.Singleton doclone()
Cloneable
is known
to be implemented.public static String getFormatHint()
ref
public Format format()
format
in interface Formattable
format
in class DTM.CP
public boolean equals(Object e0)
ALGEBRAIC
.public boolean x_equals(DTM.Singleton e0)
public int hashCode()
ALGEBRAIC
.public DTM.Singleton initFrom(Object o0)
public DTM.ElementRef get_ref()
DTM.ElementRef
(never
null)public DTM.Singleton with_ref(DTM.ElementRef val)
val
- the new value of type DTM.ElementRef
(never null)ref
see also the complete user documentation .