Class ImportSourceXmlImpl
java.lang.Object
io.deephaven.enterprise.schema.xml.ImportSourceXmlImpl
- All Implemented Interfaces:
ImportSource
Immutable implementation of
ImportSource that simply wraps the XML element
and exposes a few high-level attributes.-
Method Details
-
getName
Description copied from interface:ImportSourceGet the name of this import source.- Specified by:
getNamein interfaceImportSource- Returns:
- the import source name, if set.
-
getType
Description copied from interface:ImportSourceGet the type of this import source.- Specified by:
getTypein interfaceImportSource- Returns:
- the type of this import source, if set.
-
getXmlElement
@NotNull public org.jdom2.Element getXmlElement()Description copied from interface:ImportSourceThis is a bit of a compromise for now. The element is passed around through too many layers to refactor.- Specified by:
getXmlElementin interfaceImportSource- Returns:
- this, as an XML element, which should be considered immutable.
-