Class QName
java.lang.Object
de.haumacher.msgbuf.data.AbstractDataObject
de.haumacher.msgbuf.generator.ast.QName
- All Implemented Interfaces:
DataObject,ReflectiveDataObject,Observable
A dot-separated qualified name.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a value to thegetNames()list.static QNamecreate()Creates aQNameinstance.getNames()The parts that compose this qualified name.protected final voidinternalAddName(String value) Implementation ofaddName(String)without chain call utility.protected final voidprotected final voidinternalSetNames(List<? extends String> value) Internal setter forgetNames()without chain call utility.protected final voidjsonType()protected voidreadField(JsonReader in, String field) static QNamereadQName(JsonReader in) Reads a new instance from the given reader.final voidremoveName(String value) Removes a value from thegetNames()list.voidprotected voidwriteFields(JsonWriter out) final voidwriteTo(JsonWriter out) Methods inherited from class de.haumacher.msgbuf.data.AbstractDataObject
readContent, readFields, toString, writeContent
-
Field Details
-
QNAME__TYPE
Identifier for theQNametype in JSON format.- See Also:
-
NAMES__PROP
- See Also:
-
_listener
-
-
Constructor Details
-
Method Details
-
create
Creates aQNameinstance. -
getNames
The parts that compose this qualified name. -
setNames
- See Also:
-
internalSetNames
Internal setter forgetNames()without chain call utility. -
addName
Adds a value to thegetNames()list. -
internalAddName
Implementation ofaddName(String)without chain call utility. -
removeName
Removes a value from thegetNames()list. -
registerListener
- Specified by:
registerListenerin interfaceObservable
-
internalRegisterListener
-
unregisterListener
- Specified by:
unregisterListenerin interfaceObservable
-
internalUnregisterListener
-
jsonType
- Specified by:
jsonTypein interfaceReflectiveDataObject
-
properties
- Specified by:
propertiesin interfaceReflectiveDataObject
-
get
- Specified by:
getin interfaceReflectiveDataObject
-
set
- Specified by:
setin interfaceReflectiveDataObject
-
readQName
Reads a new instance from the given reader.- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceDataObject- Throws:
IOException
-
writeFields
- Overrides:
writeFieldsin classAbstractDataObject- Throws:
IOException
-
readField
- Overrides:
readFieldin classAbstractDataObject- Throws:
IOException
-