jaskell.sql.Name Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaskell-java8 Show documentation
Show all versions of jaskell-java8 Show documentation
This is a utils library for java 8 project.
It include parsec combinators and sql generators library.
package jaskell.sql;
import jaskell.script.Directive;
import java.util.ArrayList;
import java.util.List;
public class Name extends Literal implements CouldAlias {
protected Name(){}
public Name(String name) {
_literal = name;
}
public String name(){
return _literal;
}
protected void name(String n){
_literal = n;
}
public String escaped() {
return _literal.replace("\"", "\\\"");
}
public String escaped(Character c) {
return _literal.replace(c.toString(), "\\"+c.toString());
}
public String quotedName() {
return String.format("\"%s\"", _literal.replace("\"", "\\\""));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy