Class Relation

    • Constructor Detail

      • Relation

        protected Relation()
    • Method Detail

      • getName

        public String getName()
      • setName

        public Relation setName​(String name)
        Description copied from interface: DatabaseObject
        Sets the name for the database object.
        Parameters:
        name - the new name for the database object
        Returns:
        a reference to the same object (implementing classes are expected to return a reference to the same object).
      • getIndexes

        public List<Index> getIndexes()
      • getContainingObjects

        public DatabaseObject[] getContainingObjects()
      • getRemarks

        public String getRemarks()
      • getColumn

        public Column getColumn​(String columnName)
        Returns the column object for the given columnName. If the column does not exist in this table, return null.
      • getSchema

        public Schema getSchema()
        Returns:
        Returns the schema.
      • setSchema

        public Relation setSchema​(Schema schema)
        Parameters:
        schema - The schema to set.