Class UnsupportedCodeList
java.lang.Object
org.opengis.util.CodeList<UnsupportedCodeList>
org.apache.sis.internal.geoapi.evolution.UnsupportedCodeList
- All Implemented Interfaces:
Serializable
,Comparable<UnsupportedCodeList>
Placeholder for code list not yet available in GeoAPI.
Currently defines constants mostly for
org.opengis.metadata.citation.TelephoneType
,
but constants for other code list can be constructed like below:
- Since:
- 0.5
- Version:
- 1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
org.opengis.util.CodeList.Filter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.opengis.util.CodeList<?>
A frequently used code list element.private static final long
For cross-version compatibility.private static final List<UnsupportedCodeList>
The list of constants defined in this code list.static final org.opengis.util.CodeList<?>
A frequently used code list element.static final org.opengis.util.CodeList<?>
A frequently used code list element. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
UnsupportedCodeList
(String name) Constructor for new code list element. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of codes of the same kind than this code list element.static UnsupportedCodeList
Returns the telephone type that matches the given string, or returns a new one if none match it.Methods inherited from class org.opengis.util.CodeList
compareTo, equals, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOf
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
VALUES
The list of constants defined in this code list. -
VOICE
@UML(identifier="voice", obligation=CONDITIONAL, specification=ISO_19115) public static final org.opengis.util.CodeList<?> VOICEA frequently used code list element. -
FACSIMILE
@UML(identifier="facsimile", obligation=CONDITIONAL, specification=ISO_19115) public static final org.opengis.util.CodeList<?> FACSIMILEA frequently used code list element. -
WEB_SERVICES
@UML(identifier="WebServices", obligation=CONDITIONAL, specification=ISO_19115) public static final org.opengis.util.CodeList<?> WEB_SERVICESA frequently used code list element.
-
-
Constructor Details
-
UnsupportedCodeList
Constructor for new code list element.- Parameters:
name
- The code list name.
-
-
Method Details
-
family
Returns the list of codes of the same kind than this code list element.- Specified by:
family
in classorg.opengis.util.CodeList<UnsupportedCodeList>
- Returns:
- All code values for this code list.
-
valueOf
Returns the telephone type that matches the given string, or returns a new one if none match it.- Parameters:
code
- The name of the code to fetch or to create.- Returns:
- A code matching the given name.
-