blob: f0e8549b59dec8fbc5ef2b724871dc93f868f614 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 12:10:30 CEST 2019 -->
<title>TableColumn (Apache SIS 1.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2019-09-20">
<meta name="keywords" content="org.apache.sis.util.collection.TableColumn class">
<meta name="keywords" content="NAME">
<meta name="keywords" content="IDENTIFIER">
<meta name="keywords" content="INDEX">
<meta name="keywords" content="TYPE">
<meta name="keywords" content="VALUE">
<meta name="keywords" content="VALUE_AS_TEXT">
<meta name="keywords" content="VALUE_AS_NUMBER">
<meta name="keywords" content="REMARKS">
<meta name="keywords" content="getHeader()">
<meta name="keywords" content="getElementType()">
<meta name="keywords" content="toString()">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../sis.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="TableColumn (Apache SIS 1.0 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = false;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/TableColumn.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.sis.util.collection</a></div>
<h2 title="Class TableColumn" class="title">Class TableColumn&lt;V&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></li>
<li>
<ul class="inheritance">
<li>TableColumn&lt;V&gt;</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>V</code> - base type of all values in the column identified by this instance.</dd>
</dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="CheckedContainer.html" title="interface in org.apache.sis.util.collection">Checked­Container</a>&lt;V&gt;</code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">TableColumn&lt;V&gt;</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>
implements <a href="CheckedContainer.html" title="interface in org.apache.sis.util.collection">CheckedContainer</a>&lt;V&gt;</pre>
<div class="block">Identifies a column in <a href="TreeTable.Node.html" title="interface in org.apache.sis.util.collection"><code>Tree­Table​.Node</code></a> instances.
Each <code>Table­Column</code> instance contains the column header and the type of values
for a particular column. <code>Table­Column</code>s are used for fetching values from nodes
as in the following example:
<blockquote><pre><font color="green">public</font> <font color="green">class</font> CityLocation {
<font color="green">public</font> <font color="green">static</font> <font color="green">final</font> ColumnTable&lt;String&gt; CITY_NAME = <font color="green">new</font> ColumnTable&lt;&gt;(String.<font color="green">class</font>, <font color="orangered">"City name"</font>);
<font color="green">public</font> <font color="green">static</font> <font color="green">final</font> ColumnTable&lt;Float&gt; LATITUDE = <font color="green">new</font> ColumnTable&lt;&gt;(Float.<font color="green">class</font>, <font color="orangered">"Latitude"</font>);
<font color="green">public</font> <font color="green">static</font> <font color="green">final</font> ColumnTable&lt;Float&gt; LONGITUDE = <font color="green">new</font> ColumnTable&lt;&gt;(Float.<font color="green">class</font>, <font color="orangered">"Longitude"</font>);
<font color="green">private</font> String name;
<font color="green">private</font> <font color="green">float</font> latitude;
<font color="green">private</font> <font color="green">float</font> longitude;
<b>CityLocation</b>(TreeTable.Node myNode) {
name = myNode.<b>getValue</b>(CITY_NAME);
latitude = myNode.<b>getValue</b>(LATITUDE);
longitude = myNode.<b>getValue</b>(LONGITUDE);
}
}</pre></blockquote>
<div class="section">Identity comparisons and serialization</div>
This base class relies on <cite>identity comparisons</cite> instead than defining the
<code>equals(Object)</code> method, because the <a href="#getElementType()">element type</a>
is not a sufficient criterion for differentiating the columns (many columns have values
of the same type) and the <a href="#getHeader()">header</a> is arbitrary. Consequently
developers who create their own instances are encouraged to declare them as static final
constants as in the above example, and use those constants consistently.
<p>This base class is not serializable because the default deserialization mechanism does
not resolve automatically the deserialized instances to the above-cited singleton instances.
Developers who need serialization support for their own instances have to resolve them in
their own subclass. The following example is one possible way to achieve that goal:</p>
<blockquote><pre><font color="green">public</font> <font color="green">class</font> CityLocation {
<font color="green">public</font> <font color="green">static</font> <font color="green">final</font> ColumnTable&lt;String&gt; CITY_NAME = <font color="green">new</font> Column&lt;&gt;(<font color="orangered">"CITY_NAME"</font>, String.<font color="green">class</font>, <font color="orangered">"City name"</font>);
<font color="green">public</font> <font color="green">static</font> <font color="green">final</font> ColumnTable&lt;Float&gt; LATITUDE = <font color="green">new</font> Column&lt;&gt;(<font color="orangered">"LATITUDE"</font>, Float.<font color="green">class</font>, <font color="orangered">"Latitude"</font>);
<font color="green">public</font> <font color="green">static</font> <font color="green">final</font> ColumnTable&lt;Float&gt; LONGITUDE = <font color="green">new</font> Column&lt;&gt;(<font color="orangered">"LONGITUDE"</font>, Float.<font color="green">class</font>, <font color="orangered">"Longitude"</font>);
<font color="green">private</font> <font color="green">static</font> <font color="green">final</font> <font color="green">class</font> Column&lt;V&gt; <font color="green">extends</font> TableColumn&lt;V&gt; <font color="green">implements</font> Serializable {
<font color="green">private</font> <font color="green">final</font> String field;
<font color="green">private</font> <b>Column</b>(String field, Class&lt;V&gt; type, CharSequence header) {
<b><font color="green">super</font></b>(type, header);
<font color="green">this</font>.field = field;
}
<font color="green">private</font> Object <b>readResolve</b>() <font color="green">throws</font> ObjectStreamException {
<font color="green">try</font> {
<font color="green">return</font> CityLocation.<font color="green">class</font>.<b>getField</b>(field).<b>get</b>(<font color="green">null</font>);
} <font color="green">catch</font> (Exception cause) { <i><font color="gray">// Many exceptions, including unchecked ones.</font></i>
<font color="green">throw</font> <font color="green">new</font> <b>InvalidObjectException</b>(cause.<b>toString</b>());
}
}
}
}</pre></blockquote>
The constants defined in this class use a similar approach for providing serialization support.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>0.3</dd>
<p><font size="-1">Defined in the <code>sis-utility</code> module</font></p>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#IDENTIFIER">IDENTIFIER</a></span></code></th>
<td class="colLast">
<div class="block">Frequently-used constant for a column of object identifiers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#INDEX">INDEX</a></span></code></th>
<td class="colLast">
<div class="block">Frequently-used constant for a column of index values.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang" class="externalLink">CharSequence</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#NAME">NAME</a></span></code></th>
<td class="colLast">
<div class="block">Frequently-used constant for a column of object names.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang" class="externalLink">CharSequence</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#REMARKS">REMARKS</a></span></code></th>
<td class="colLast">
<div class="block">Frequently-used constant for a column of remarks.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;?&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TYPE">TYPE</a></span></code></th>
<td class="colLast">
<div class="block">Frequently-used constant for a column of object types.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#VALUE">VALUE</a></span></code></th>
<td class="colLast">
<div class="block">Frequently-used constant for a column of object values.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#VALUE_AS_NUMBER">VALUE_AS_NUMBER</a></span></code></th>
<td class="colLast">
<div class="block">Frequently-used constant for a column of object numerical values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang" class="externalLink">CharSequence</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#VALUE_AS_TEXT">VALUE_AS_TEXT</a></span></code></th>
<td class="colLast">
<div class="block">Frequently-used constant for a column of object textual values.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colSecond" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">TableColumn</a></span>()</code></th>
<td class="colLast">
<div class="block">Invoked on deserialization for creating an initially empty instance.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.Class,java.lang.CharSequence)">TableColumn</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;<a href="TableColumn.html" title="type parameter in TableColumn">V</a>&gt;&nbsp;type,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang" class="externalLink">CharSequence</a>&nbsp;header)</code></th>
<td class="colLast">
<div class="block">Creates a new instance for the given type of values.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;<a href="TableColumn.html" title="type parameter in TableColumn">V</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElementType()">getElementType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the base type of all values in any column identified by this <code>Table­Column</code> instance.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="http://www.geoapi.org/3.0/javadoc/org/opengis/util/InternationalString.html?is-external=true" title="class or interface in org.opengis.util" class="externalLink">InternationalString</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHeader()">getHeader</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the text to display as column header.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a string representation of this table column.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">get­Class</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hash­Code</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notify­All</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NAME</h4>
<pre>public static final&nbsp;<a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang" class="externalLink">CharSequence</a>&gt; NAME</pre>
<div class="block">Frequently-used constant for a column of object names.
The column <a href="#getHeader()">header</a> is <cite>"Name"</cite> (eventually localized) and
the column elements are typically instances of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>String</code></a> or <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/util/InternationalString.html?is-external=true" title="class or interface in org.opengis.util" class="externalLink"><code>International­String</code></a>,
depending on whether the data provide localization support or not.</div>
</li>
</ul>
<a id="IDENTIFIER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IDENTIFIER</h4>
<pre>public static final&nbsp;<a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt; IDENTIFIER</pre>
<div class="block">Frequently-used constant for a column of object identifiers.
The column <a href="#getHeader()">header</a> is <cite>"Identifier"</cite> (eventually localized)
and the column elements are instances of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>String</code></a>.</div>
</li>
</ul>
<a id="INDEX">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INDEX</h4>
<pre>public static final&nbsp;<a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&gt; INDEX</pre>
<div class="block">Frequently-used constant for a column of index values.
The column <a href="#getHeader()">header</a> is <cite>"Index"</cite> (eventually localized)
and the column elements are instances of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Integer</code></a>.</div>
</li>
</ul>
<a id="TYPE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE</h4>
<pre>public static final&nbsp;<a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;?&gt;&gt; TYPE</pre>
<div class="block">Frequently-used constant for a column of object types.
The column <a href="#getHeader()">header</a> is <cite>"Type"</cite> (eventually localized).</div>
</li>
</ul>
<a id="VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VALUE</h4>
<pre>public static final&nbsp;<a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&gt; VALUE</pre>
<div class="block">Frequently-used constant for a column of object values.
The column <a href="#getHeader()">header</a> is <cite>"Value"</cite> (eventually localized) and
the column elements can be instance of any kind of objects.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#VALUE_AS_TEXT"><code>VALUE_AS_TEXT</code></a>,
<a href="#VALUE_AS_NUMBER"><code>VALUE_AS_NUMBER</code></a></dd>
</dl>
</li>
</ul>
<a id="VALUE_AS_TEXT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VALUE_AS_TEXT</h4>
<pre>public static final&nbsp;<a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang" class="externalLink">CharSequence</a>&gt; VALUE_AS_TEXT</pre>
<div class="block">Frequently-used constant for a column of object textual values.
The column <a href="#getHeader()">header</a> is <cite>"Value"</cite> (eventually localized) and
the column elements are typically instances of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>String</code></a> or <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/util/InternationalString.html?is-external=true" title="class or interface in org.opengis.util" class="externalLink"><code>International­String</code></a>,
depending on whether the data provide localization support or not.</div>
</li>
</ul>
<a id="VALUE_AS_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VALUE_AS_NUMBER</h4>
<pre>public static final&nbsp;<a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a>&gt; VALUE_AS_NUMBER</pre>
<div class="block">Frequently-used constant for a column of object numerical values.
The column <a href="#getHeader()">header</a> is <cite>"Value"</cite> (eventually localized).</div>
</li>
</ul>
<a id="REMARKS">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>REMARKS</h4>
<pre>public static final&nbsp;<a href="TableColumn.html" title="class in org.apache.sis.util.collection">TableColumn</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang" class="externalLink">CharSequence</a>&gt; REMARKS</pre>
<div class="block">Frequently-used constant for a column of remarks.
The column <a href="#getHeader()">header</a> is <cite>"Remarks"</cite> (eventually localized) and
the column elements are typically instances of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>String</code></a> or <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/util/InternationalString.html?is-external=true" title="class or interface in org.opengis.util" class="externalLink"><code>International­String</code></a>,
depending on whether the data provide localization support or not.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.0</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TableColumn</h4>
<pre>protected&nbsp;TableColumn()</pre>
<div class="block">Invoked on deserialization for creating an initially empty instance.
This constructor has <code>protected</code> visibility only because the Java deserialization
mechanism requires so; this constructor shall not be invoked in any other context.
See the <cite>Identity comparisons and serialization</cite> section in the class
javadoc for more information.</div>
</li>
</ul>
<a id="&lt;init&gt;(java.lang.Class,java.lang.CharSequence)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TableColumn</h4>
<pre>public&nbsp;TableColumn&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;<a href="TableColumn.html" title="type parameter in TableColumn">V</a>&gt;&nbsp;type,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang" class="externalLink">CharSequence</a>&nbsp;header)</pre>
<div class="block">Creates a new instance for the given type of values.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - base type of all values in the column identified by this instance.</dd>
<dd><code>header</code> - the text to display as column header.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="getHeader()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeader</h4>
<pre class="methodSignature">public&nbsp;<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/util/InternationalString.html?is-external=true" title="class or interface in org.opengis.util" class="externalLink">InternationalString</a>&nbsp;getHeader()</pre>
<div class="block">Returns the text to display as column header.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the text to display as column header.</dd>
</dl>
</li>
</ul>
<a id="getElementType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getElementType</h4>
<pre class="methodSignature">public final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;<a href="TableColumn.html" title="type parameter in TableColumn">V</a>&gt;&nbsp;getElementType()</pre>
<div class="block">Returns the base type of all values in any column identified by this <code>Table­Column</code> instance.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="CheckedContainer.html#getElementType()">get­Element­Type</a></code>&nbsp;in interface&nbsp;<code><a href="CheckedContainer.html" title="interface in org.apache.sis.util.collection">Checked­Container</a>&lt;<a href="TableColumn.html" title="type parameter in TableColumn">V</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the element type.</dd>
</dl>
</li>
</ul>
<a id="toString()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;toString()</pre>
<div class="block">Returns a string representation of this table column.
The default implementation returns the <a href="#getHeader()">header</a> in its default locale.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">to­String</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/TableColumn.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2010&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>