Class DublinCoreMetadata
- java.lang.Object
-
- mil.nga.geopackage.extension.related.dublin.DublinCoreMetadata
-
public class DublinCoreMetadata extends Object
Dublin Core Metadata Initiative- Since:
- 3.0.1
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description DublinCoreMetadata()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends UserColumn>
TgetColumn(UserCoreRow<T,?> row, DublinCoreType type)
Get the column from the row for the Dublin Core Type termstatic <T extends UserColumn>
TgetColumn(UserTable<T> table, DublinCoreType type)
Get the column from the table for the Dublin Core Type termstatic Object
getValue(UserCoreRow<?,?> row, DublinCoreType type)
Get the value from the row for the Dublin Core Type termstatic boolean
hasColumn(UserCoreRow<?,?> row, DublinCoreType type)
Check if the row has a column for the Dublin Core Type termstatic boolean
hasColumn(UserTable<?> table, DublinCoreType type)
Check if the table has a column for the Dublin Core Type termstatic void
setValue(UserCoreRow<?,?> row, DublinCoreType type, Object value)
Set the value in the row for the Dublin Core Type term
-
-
-
Method Detail
-
hasColumn
public static boolean hasColumn(UserTable<?> table, DublinCoreType type)
Check if the table has a column for the Dublin Core Type term- Parameters:
table
- user tabletype
- Dublin Core Type- Returns:
- true if has column
-
hasColumn
public static boolean hasColumn(UserCoreRow<?,?> row, DublinCoreType type)
Check if the row has a column for the Dublin Core Type term- Parameters:
row
- user rowtype
- Dublin Core Type- Returns:
- true if has column
-
getColumn
public static <T extends UserColumn> T getColumn(UserTable<T> table, DublinCoreType type)
Get the column from the table for the Dublin Core Type term- Type Parameters:
T
- column type- Parameters:
table
- user tabletype
- Dublin Core Type- Returns:
- column
-
getColumn
public static <T extends UserColumn> T getColumn(UserCoreRow<T,?> row, DublinCoreType type)
Get the column from the row for the Dublin Core Type term- Type Parameters:
T
- column type- Parameters:
row
- user rowtype
- Dublin Core Type- Returns:
- column
-
getValue
public static Object getValue(UserCoreRow<?,?> row, DublinCoreType type)
Get the value from the row for the Dublin Core Type term- Parameters:
row
- user rowtype
- Dublin Core Type- Returns:
- value
-
setValue
public static void setValue(UserCoreRow<?,?> row, DublinCoreType type, Object value)
Set the value in the row for the Dublin Core Type term- Parameters:
row
- user rowtype
- Dublin Core Typevalue
- value
-
-