Class Schema


  • public final class Schema
    extends java.lang.Object
    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.
    Since:
    7.1
    See Also:
    SchemaConfiguration, SchemaElement
    • Method Detail

      • clearSchemaCache

        public static void clearSchemaCache()
        Clears every schema object cached.
      • getMboByName

        public SchemaElement getMboByName​(java.lang.String mboName)
                                   throws MxConnConfigException
        Returns the schema element that represents the specified MBO.
        Parameters:
        mboName - name of the MBO to be returned
        Returns:
        schema element that represents the specified MBO
        Throws:
        MxConnConfigException - if mboName does not exist
      • getMboNameList

        public java.util.Set<java.lang.String> getMboNameList()
        Returns a list of all valid MBO names.
        Returns:
        list of all valid MBO names
      • getMos

        public SchemaElement getMos()
        Returns a schema element that describes the Maximo Object Structure (MOS).
        Returns:
        schema element that describes the Maximo Object Structure
      • getRootMbo

        public SchemaElement getRootMbo()
        Returns the definition of the root or top-level MBO.
        Returns:
        the definition of the root or top-level MBO
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object