Package org.geotools.imageio
Class Identification
- Object
-
- Identification
-
- All Implemented Interfaces:
Serializable
,CharSequence
public class Identification extends Object implements CharSequence, Serializable
- Author:
- Martin Desruisseaux, Daniele Romagnoli, GeoSolutions
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Identification(String name)
Creates an identification from the specified object name.Identification(String name, String remarks, String alias, String identifier)
Creates an identification from the specified object name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char
charAt(int index)
Returns the name character at the specified index.boolean
equals(Object object)
Compares the specified object with this identification for equality.String
getAlias()
String
getIdentifier()
String
getName()
String
getRemarks()
int
hashCode()
Returns a hash value for this identification.int
length()
Returns the name length.CharSequence
subSequence(int start, int end)
Returns a subsequence of this identification.String
toString()
-
Methods inherited from interface CharSequence
chars, codePoints
-
-
-
-
Method Detail
-
length
public int length()
Returns the name length.- Specified by:
length
in interfaceCharSequence
-
charAt
public char charAt(int index)
Returns the name character at the specified index.- Specified by:
charAt
in interfaceCharSequence
-
subSequence
public CharSequence subSequence(int start, int end)
Returns a subsequence of this identification. The new identification will contains a substring of the name, but the #type will be unchanged.- Specified by:
subSequence
in interfaceCharSequence
-
hashCode
public int hashCode()
Returns a hash value for this identification.
-
equals
public boolean equals(Object object)
Compares the specified object with this identification for equality.
-
getName
public String getName()
-
getRemarks
public String getRemarks()
-
getAlias
public String getAlias()
-
getIdentifier
public String getIdentifier()
-
toString
public String toString()
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-
-