mil.nga.geopackage.attributes.AttributesColumns Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geopackage-core Show documentation
Show all versions of geopackage-core Show documentation
Core functionality for GeoPackage implementations
The newest version!
package mil.nga.geopackage.attributes;
import java.util.List;
import mil.nga.geopackage.user.UserColumns;
/**
* Collection of attributes columns
*
* @author osbornb
* @since 3.5.0
*/
public class AttributesColumns extends UserColumns {
/**
* Constructor
*
* @param tableName
* table name
* @param columns
* columns
*/
public AttributesColumns(String tableName, List columns) {
this(tableName, columns, false);
}
/**
* Constructor
*
* @param tableName
* table name
* @param columns
* columns
* @param custom
* custom column specification
*/
public AttributesColumns(String tableName, List columns,
boolean custom) {
super(tableName, columns, custom);
updateColumns();
}
/**
* Copy Constructor
*
* @param attributesColumns
* attributes columns
*/
public AttributesColumns(AttributesColumns attributesColumns) {
super(attributesColumns);
}
/**
* {@inheritDoc}
*/
@Override
public AttributesColumns copy() {
return new AttributesColumns(this);
}
}