Package org.apache.sis.util.iso
Class Types.CodeTitle
java.lang.Object
org.apache.sis.util.AbstractInternationalString
org.apache.sis.util.ResourceInternationalString
org.apache.sis.util.iso.Types.Description
org.apache.sis.util.iso.Types.CodeTitle
- All Implemented Interfaces:
Serializable
,CharSequence
,Comparable<org.opengis.util.InternationalString>
,Formattable
,org.opengis.util.InternationalString
- Enclosing class:
- Types
The
InternationalString
returned by the Types.getCodeTitle(…)
method.
The code below is a duplicated - in a different way - of CodeListUID(CodeList)
constructor (package
). This duplication exists
because CodeListUID
constructor stores more information in an opportunist way.
If this method is updated, please update CodeListUID(CodeList)
accordingly.- Since:
- 0.3
- Version:
- 0.3
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final org.opengis.util.CodeList<?>
The code list for which to create a title.private static final long
For cross-version compatibility.Fields inherited from class org.apache.sis.util.ResourceInternationalString
key, resources
-
Constructor Summary
ConstructorsConstructorDescriptionCodeTitle
(org.opengis.util.CodeList<?> code) Creates a new international string for the given code list element. -
Method Summary
Methods inherited from class org.apache.sis.util.iso.Types.Description
getBundle, resourceKey, toString
Methods inherited from class org.apache.sis.util.ResourceInternationalString
equals, hashCode
Methods inherited from class org.apache.sis.util.AbstractInternationalString
charAt, compareTo, formatTo, length, subSequence, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
code
final org.opengis.util.CodeList<?> codeThe code list for which to create a title.
-
-
Constructor Details
-
CodeTitle
CodeTitle(org.opengis.util.CodeList<?> code) Creates a new international string for the given code list element.- Parameters:
code
- the code list for which to create a title.
-
-
Method Details
-
fallback
String fallback()Returns a fallback if no resource is found.- Overrides:
fallback
in classTypes.Description
-