Class SchemaInfo

    • Field Detail

      • XATTR_SCHEMA_INIT_MODE

        public static final java.lang.String XATTR_SCHEMA_INIT_MODE
        See Also:
        Constant Field Values
      • XATTR_SCHEMA_PREV_INIT_MODE

        public static final java.lang.String XATTR_SCHEMA_PREV_INIT_MODE
        See Also:
        Constant Field Values
      • XATTR_SCHEMA_NULL_ORDERING

        public static final java.lang.String XATTR_SCHEMA_NULL_ORDERING
        See Also:
        Constant Field Values
    • Method Detail

      • updateName

        public SchemaInfo updateName​(java.lang.String newName)
      • findEntity

        public AbstractEntityInfo findEntity​(java.lang.String entityId)
        Finds entity using its id.
        Parameters:
        entityId - Entity Id
        Returns:
        Entity or null if not found.
      • updateDbSchemas

        public SchemaInfo updateDbSchemas​(java.util.List<java.lang.String> dbSchemasNames)
        Updates the list of DB schema names. NOTE: you need to include also old names if you want to keep them. This method REPLACES existing list.
        Parameters:
        dbSchemasNames - The complete list of DB schema names for new instance of SchemaInfo
        Returns:
        The new instance of SchemaInfo that contains passed DB schema names
      • updateXAttributes

        public SchemaInfo updateXAttributes​(java.util.List<PropInfo> props)
        Creates new EntityInfo with updated properties.
        Parameters:
        props - The properties
        Returns:
        The new instance of SchemaInfo
      • toString

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

        public java.util.List<DataTreeInfo> getDataTrees()
      • getScripts

        public java.util.List<ScriptInfo> getScripts()
      • getDbSchemasNames

        public java.util.List<java.lang.String> getDbSchemasNames()