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 TypeMethodDescriptionbooleanIdentifier is a data object, equals is based just on getID()getID()The identifier value, which is a string.inthashCode()Identifier is a data object, hashCode is based just on getID()booleanEvaluates 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:GmlObjectIdThe identifier value, which is a string.- Specified by:
getIDin interfaceGmlObjectId- Specified by:
getIDin interfaceIdentifier
-
matches
Description copied from interface:GmlObjectIdEvaluates the identifer value against the given object.- Specified by:
matchesin interfaceGmlObjectId- Specified by:
matchesin interfaceIdentifier- Parameters:
object- The construct to be tested.- Returns:
trueif a match, otherwisefalse.
-
toString
Description copied from interface:IdentifierReturns a string representation of the identifier.- Specified by:
toStringin interfaceIdentifier- Overrides:
toStringin classObject- Returns:
- getID().toString()
-
equals
Description copied from interface:IdentifierIdentifier is a data object, equals is based just on getID()- Specified by:
equalsin interfaceIdentifier- Overrides:
equalsin classObject- Returns:
- true if obj is an Identifier with the same getID()
-
hashCode
public int hashCode()Description copied from interface:IdentifierIdentifier is a data object, hashCode is based just on getID()- Specified by:
hashCodein interfaceIdentifier- Overrides:
hashCodein classObject- Returns:
- hashCode based on getID()
-