servicenow.community.soap
Class GlideTableSchema

java.lang.Object
  extended by servicenow.community.soap.GlideTableSchema

public class GlideTableSchema
extends java.lang.Object

This class holds the the schema or definition for a ServiceNow table. The definition is pulled from the instance by the GlideTable constructor.

Author:
LewisGF

Constructor Summary
protected GlideTableSchema(GlideTable table)
           
protected GlideTableSchema(GlideTable table, boolean displayValues)
           
 
Method Summary
 GlideFieldDefinition getFieldDefinition(java.lang.String fieldname)
           
 java.util.Collection<GlideFieldDefinition> getFieldDefinitions()
           
 java.lang.String[] getFieldNames()
           
 GlideFieldDefinition getKeyFieldDefinition()
           
 boolean isDefined(java.lang.String fieldname)
           
 java.util.Iterator<GlideFieldDefinition> iterator()
           
 int numFields()
           
 void report()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlideTableSchema

protected GlideTableSchema(GlideTable table)
                    throws java.io.IOException
Throws:
java.io.IOException

GlideTableSchema

protected GlideTableSchema(GlideTable table,
                           boolean displayValues)
                    throws java.io.IOException,
                           InvalidTableNameException
Throws:
java.io.IOException
InvalidTableNameException
Method Detail

getFieldNames

public java.lang.String[] getFieldNames()

getFieldDefinition

public GlideFieldDefinition getFieldDefinition(java.lang.String fieldname)

getKeyFieldDefinition

public GlideFieldDefinition getKeyFieldDefinition()

isDefined

public boolean isDefined(java.lang.String fieldname)

getFieldDefinitions

public java.util.Collection<GlideFieldDefinition> getFieldDefinitions()

iterator

public java.util.Iterator<GlideFieldDefinition> iterator()

numFields

public int numFields()

report

public void report()