public interface Deprecable
Deprecated
annotation.
This interface is for identifying deprecated data rather than language constructs.
isDeprecated()
method in this interface allows users to identify
CRS instances created from such deprecated database records, for example in order to log a warning when data
are projected to a deprecated CRS.AbstractIdentifiedObject
(typically a CRS)
which has been built from a deprecated EPSG code.NamedIdentifier
containing the legacy name
of an object which has been renamed.Defined in the sis-utility
module
Modifier and Type | Method and Description |
---|---|
InternationalString |
getRemarks()
If this instance is deprecated, the reason or the alternative to use.
|
boolean |
isDeprecated()
Returns
true if this instance is deprecated. |
boolean isDeprecated()
true
if this instance is deprecated.
In such case, the remarks may contain information about the new object to use.true
if this instance is deprecated.InternationalString getRemarks()
null
if none. Shall be the
reason for deprecation or the alternative to use if this instance
is deprecated.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.