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

nbcp.myoql.db.sql.base.SqlColumnNames.kt Maven / Gradle / Ivy

The newest version!
package nbcp.myoql.db.sql.base

import java.io.Serializable


class SqlColumnNames() : ArrayList(), Serializable {
    constructor(vararg columns: SqlColumnName) : this() {
        this.addAll(columns)
    }

    fun containsColumn(name: String): Boolean {
        return this.any { it.name == name }
    }

    fun getColumn(name: String): SqlColumnName? {
        return this.firstOrNull { it.name == name }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy