Class ContentsId
- java.lang.Object
-
- mil.nga.geopackage.extension.nga.contents.ContentsId
-
public class ContentsId extends Object
Contents Id object, for maintaining a unique identifier for contents tables- Since:
- 3.2.0
- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static String
COLUMN_ID
id field namestatic String
COLUMN_TABLE_NAME
tableName field namestatic String
TABLE_NAME
Table name
-
Constructor Summary
Constructors Constructor Description ContentsId()
Default ConstructorContentsId(ContentsId contentsId)
Copy Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Contents
getContents()
Get the contentslong
getId()
Get the idString
getTableName()
Get the table namevoid
setContents(Contents contents)
Set the contentsvoid
setId(long id)
Set the id
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
Table name- See Also:
- Constant Field Values
-
COLUMN_ID
public static final String COLUMN_ID
id field name- See Also:
- Constant Field Values
-
COLUMN_TABLE_NAME
public static final String COLUMN_TABLE_NAME
tableName field name- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContentsId
public ContentsId()
Default Constructor
-
ContentsId
public ContentsId(ContentsId contentsId)
Copy Constructor- Parameters:
contentsId
- contents id to copy
-
-
Method Detail
-
getId
public long getId()
Get the id- Returns:
- id
-
setId
public void setId(long id)
Set the id- Parameters:
id
- id
-
getContents
public Contents getContents()
Get the contents- Returns:
- contents
-
setContents
public void setContents(Contents contents)
Set the contents- Parameters:
contents
- contents
-
getTableName
public String getTableName()
Get the table name- Returns:
- table name
-
-