Class Null
- java.lang.Object
-
- ca.uhn.hl7v2.model.AbstractType
-
- org.openehealth.ipf.modules.hl7.dsl.Null
-
- All Implemented Interfaces:
Type
,Visitable
,GroovyObject
,Serializable
public class Null extends AbstractType implements GroovyObject
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(MessageVisitor visitor, Location currentLocation)
Object
getAt(int idx)
MetaClass
getMetaClass()
static String
getValue()
static String
getValueOr(String defaultValue)
boolean
isEmpty()
void
setMetaClass(MetaClass mc)
static void
setValue(String value)
String
toString()
static String
valueOr(String defaultValue)
-
Methods inherited from class ca.uhn.hl7v2.model.AbstractType
clear, encode, getExtraComponents, getMessage, getName, parse, provideLocation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setProperty
-
-
-
-
Constructor Detail
-
Null
public Null(Message message)
-
-
Method Detail
-
getMetaClass
public MetaClass getMetaClass()
- Specified by:
getMetaClass
in interfaceGroovyObject
-
setMetaClass
public void setMetaClass(MetaClass mc)
- Specified by:
setMetaClass
in interfaceGroovyObject
-
getAt
public Object getAt(int idx)
-
getValue
public static String getValue()
-
toString
public String toString()
- Overrides:
toString
in classAbstractType
-
setValue
public static void setValue(String value) throws DataTypeException
- Throws:
DataTypeException
-
isEmpty
public boolean isEmpty() throws HL7Exception
- Specified by:
isEmpty
in interfaceVisitable
- Overrides:
isEmpty
in classAbstractType
- Throws:
HL7Exception
-
accept
public boolean accept(MessageVisitor visitor, Location currentLocation) throws HL7Exception
- Specified by:
accept
in interfaceVisitable
- Throws:
HL7Exception
-
-