Class SingleObjectDefinitionIdentifier
java.lang.Object
com._1c.g5.aef2.standard.internal.definitions.SingleObjectDefinitionIdentifier
- All Implemented Interfaces:
IDefinitionIdentifier,org.eclipse.core.runtime.IAdaptable
The
Methods
IDefinitionIdentifier implementation that uses single object to identify the definition.Methods
equals(Object) and hashCode() delegate the execution to the underlying object.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SingleObjectDefinitionIdentifier
Creates a new identifier.- Parameters:
object- the object that uniquely identifies the definition.
-
-
Method Details
-
getObject
Returns the object that uniquely identifies the definition.- Returns:
- the identifier object, never
null.
-
matches
Description copied from interface:IDefinitionIdentifierChecks whether the identifier matches the specifiedid.- Specified by:
matchesin interfaceIDefinitionIdentifier- Parameters:
id- the object that represents identifier, cannot benull.- Returns:
trueif the identifier matches the specified object,false- otherwise.
-
equals
-
hashCode
public int hashCode() -
getAdapter
- Specified by:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable
-
toString
-