Package eu.bandm.tools.tpath.type
Class Node.IdRef
java.lang.Object
eu.bandm.tools.tpath.type.Node.AttType
eu.bandm.tools.tpath.type.Node.IdRef
- All Implemented Interfaces:
Formattable
,Cloneable
- Enclosing class:
- Node
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoclone()
boolean
Generated by umod because this class isALGEBRAIC
.format()
Delivers a format object for pretty-printing, as specified in the umod source.static String
Delivers the format specification from the umod source.int
hashCode()
Generated by umod because this class isALGEBRAIC
.Copies values of all common fields from the argument.boolean
x_equals
(Node.IdRef e0)
-
Field Details
-
BASE_HASH
protected static final int BASE_HASH
-
-
Constructor Details
-
IdRef
public IdRef()
-
-
Method Details
-
doclone
- Overrides:
doclone
in classNode.AttType
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
'IDREF'
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
- Overrides:
format
in classNode.AttType
- Returns:
- a format that represents this object in a pretty-printable way
-
equals
Generated by umod because this class isALGEBRAIC
. -
x_equals
-
hashCode
public int hashCode()Generated by umod because this class isALGEBRAIC
. -
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.- Overrides:
initFrom
in classNode.AttType
-