Package org.geotools.filter.identity
Class GmlObjectIdImpl
Object
GmlObjectIdImpl
- All Implemented Interfaces:
GmlObjectId
,Identifier
Implementation of
GmlObjectId
.- Author:
- Justin Deoliveira, The Open Planning Project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Identifier is a data object, equals is based just on getID()getID()
The identifier value, which is a string.int
hashCode()
Identifier is a data object, hashCode is based just on getID()boolean
Evaluates the identifer value against the given object.toString()
Returns a string representation of the identifier.
-
Constructor Details
-
GmlObjectIdImpl
-
-
Method Details
-
getID
Description copied from interface:GmlObjectId
The identifier value, which is a string.- Specified by:
getID
in interfaceGmlObjectId
- Specified by:
getID
in interfaceIdentifier
-
matches
Description copied from interface:GmlObjectId
Evaluates the identifer value against the given object.- Specified by:
matches
in interfaceGmlObjectId
- Specified by:
matches
in interfaceIdentifier
- Parameters:
object
- The construct to be tested.- Returns:
true
if a match, otherwisefalse
.
-
toString
Description copied from interface:Identifier
Returns a string representation of the identifier.- Specified by:
toString
in interfaceIdentifier
- Overrides:
toString
in classObject
- Returns:
- getID().toString()
-
equals
Description copied from interface:Identifier
Identifier is a data object, equals is based just on getID()- Specified by:
equals
in interfaceIdentifier
- Overrides:
equals
in classObject
- Returns:
- true if obj is an Identifier with the same getID()
-
hashCode
public int hashCode()Description copied from interface:Identifier
Identifier is a data object, hashCode is based just on getID()- Specified by:
hashCode
in interfaceIdentifier
- Overrides:
hashCode
in classObject
- Returns:
- hashCode based on getID()
-