servicenow.community.sql
Class NameMap
java.lang.Object
servicenow.community.sql.NameMap
public class NameMap
- extends java.lang.Object
Contains a mapping between the Glide field name and the SQL field name
as loaded from the fieldnames element of the sqltemplates.xml file.
- Author:
- LewisGF
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameMap
public NameMap()
getGlideName
public java.lang.String getGlideName(java.lang.String sqlName)
getSqlName
public java.lang.String getSqlName(java.lang.String glideName)
printMap
public void printMap(java.io.PrintStream out)
loadFromXML
public void loadFromXML(org.jdom2.Element fieldnames)
loadFromTextFile
public void loadFromTextFile(java.io.InputStream stream)
throws java.io.IOException
- Throws:
java.io.IOException