Class Schema

    • Constructor Detail

      • Schema

        public Schema()
    • Method Detail

      • addTable

        public void addTable​(Table table)
      • removeTable

        public Table removeTable​(String tableName)
      • addProcedure

        public void addProcedure​(Procedure procedure)
      • removeProcedure

        public Procedure removeProcedure​(String procedureName)
      • getTable

        public Table getTable​(String tableName)
      • getPrimaryMetamodelUri

        public String getPrimaryMetamodelUri()
      • isPhysical

        public boolean isPhysical()
      • setPrimaryMetamodelUri

        public void setPrimaryMetamodelUri​(String string)
        Parameters:
        string -
      • setPhysical

        public void setPhysical​(boolean physical)
      • addServer

        public void addServer​(Server server)
      • getServer

        public Server getServer​(String serverName)
      • isVisible

        public boolean isVisible()
      • setVisible

        public void setVisible​(boolean visible)
      • getChildType

        public static String getChildType​(Class<? extends AbstractMetadataRecord> child)
        Return the object type name for a given child type class, or null if the class is not a child of a Schema
        Parameters:
        child -
        Returns:
      • getTypeName

        public static String getTypeName()
        Returns:
        the literal value schema
      • getChild

        public AbstractMetadataRecord getChild​(String type,
                                               String id)
        Get the child of the given type
        Parameters:
        type -
        id - can be either the name or the uid depending on type
        Returns: