|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.maximo.parsing.Schema
public final class Schema
This class provides access to descriptive information about Maximo Objects
Structures (MOS) based on its XML Schema Descriptor (XSD), which is generated
by the Maximo Object Structure Application. Every element is exposed through
schema element
objects, organized in a hierarchical
way.
SchemaConfiguration
,
SchemaElement
Method Summary | |
---|---|
static void |
clearSchemaCache()
Clears every schema object cached. |
static Schema |
getInstance(SchemaConfiguration cfg,
Log log)
Builds a schema object based on the Maximo Object
Structure and its XML Schema Descriptor's URL (XSD). |
SchemaElement |
getMboByName(String mboName)
Returns the schema element that represents the specified MBO. |
Set<String> |
getMboNameList()
Returns a list of all valid MBO names. |
SchemaElement |
getMos()
Returns a schema element that describes the Maximo Object Structure (MOS). |
SchemaElement |
getRootMbo()
Returns the definition of the root or top-level MBO. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static Schema getInstance(SchemaConfiguration cfg, Log log) throws MxConnConfigException, MxConnIOException, MxConnXmlParsingException
schema
object based on the Maximo Object
Structure and its XML Schema Descriptor's URL (XSD).
cfg
- configuration parameter required to build the schema object
Schema
based on the Maximo Object Structure and its XML
Schema Descriptor's URL (XSD)
MxConnConfigException
- if the configuration provided is not valid
MxConnIOException
- if any sort of communication problem occurs when trying to
retrieve the XSD
MxConnXmlParsingException
- if the XSD content can not be parsedclearSchemaCache()
public static void clearSchemaCache()
public SchemaElement getMboByName(String mboName) throws MxConnConfigException
mboName
- name of the MBO to be returned
MxConnConfigException
- if mboName
does not existpublic Set<String> getMboNameList()
public SchemaElement getMos()
public SchemaElement getRootMbo()
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |