Package org.geotools.filter.identity
Class GmlObjectIdImpl
- Object
- 
- GmlObjectIdImpl
 
- 
- All Implemented Interfaces:
- GmlObjectId,- Identifier
 
 public class GmlObjectIdImpl extends Object implements GmlObjectId Implementation ofGmlObjectId.- Author:
- Justin Deoliveira, The Open Planning Project
 
- 
- 
Constructor SummaryConstructors Constructor Description GmlObjectIdImpl(String gmlId)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Identifier is a data object, equals is based just on getID()StringgetID()The identifier value, which is a string.inthashCode()Identifier is a data object, hashCode is based just on getID()booleanmatches(Object object)Evaluates the identifer value against the given object.StringtoString()Returns a string representation of the identifier.
 
- 
- 
- 
Constructor Detail- 
GmlObjectIdImplpublic GmlObjectIdImpl(String gmlId) 
 
- 
 - 
Method Detail- 
getIDpublic String getID() Description copied from interface:GmlObjectIdThe identifier value, which is a string.- Specified by:
- getIDin interface- GmlObjectId
- Specified by:
- getIDin interface- Identifier
 
 - 
matchespublic boolean matches(Object object) Description copied from interface:GmlObjectIdEvaluates the identifer value against the given object.- Specified by:
- matchesin interface- GmlObjectId
- Specified by:
- matchesin interface- Identifier
- Parameters:
- object- The construct to be tested.
- Returns:
- trueif a match, otherwise- false.
 
 - 
toStringpublic String toString() Description copied from interface:IdentifierReturns a string representation of the identifier.- Specified by:
- toStringin interface- Identifier
- Overrides:
- toStringin class- Object
- Returns:
- getID().toString()
 
 - 
equalspublic boolean equals(Object obj) Description copied from interface:IdentifierIdentifier is a data object, equals is based just on getID()- Specified by:
- equalsin interface- Identifier
- Overrides:
- equalsin class- Object
- Returns:
- true if obj is an Identifier with the same getID()
 
 - 
hashCodepublic int hashCode() Description copied from interface:IdentifierIdentifier is a data object, hashCode is based just on getID()- Specified by:
- hashCodein interface- Identifier
- Overrides:
- hashCodein class- Object
- Returns:
- hashCode based on getID()
 
 
- 
 
-