All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.antidot.sql.model.db.ColumnIdentifier Maven / Gradle / Ivy

There is a newer version: 2.2
Show newest version
/* 
 * Copyright 2011 Antidot [email protected]
 * https://github.com/antidot/db2triples
 * 
 * DB2Triples is free software; you can redistribute it and/or 
 * modify it under the terms of the GNU General Public License as 
 * published by the Free Software Foundation; either version 2 of 
 * the License, or (at your option) any later version.
 * 
 * DB2Triples is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see .
 */

package net.antidot.sql.model.db;

import net.antidot.sql.model.type.SQLType;

/**
 * Model of the Column identifier.
 * See SQL identifier section in R2RML norm.
 * 
 * @author Laurent Mazuel
 *
 */
public interface ColumnIdentifier {
    
    /** Return the type of this column if available (maybe null)
     * @return
     */
    public SQLType getSqlType() ;
    
    /** Made a replaceAll on the input String to replace all occurrence of
     * the "{column_name}" in.
     * @param input The input String
     * @return
     */
    public String replaceAll(String input, String replaceValue);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy