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 longFor 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, toStringMethods inherited from class org.apache.sis.util.ResourceInternationalString
equals, hashCodeMethods inherited from class org.apache.sis.util.AbstractInternationalString
charAt, compareTo, formatTo, length, subSequence, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints
-
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:
fallbackin classTypes.Description
-