Class FieldDefinitionIdentifier

java.lang.Object
com._1c.g5.aef2.standard.internal.definitions.FieldDefinitionIdentifier
All Implemented Interfaces:
IDefinitionIdentifier, org.eclipse.core.runtime.IAdaptable

public final class FieldDefinitionIdentifier extends Object implements IDefinitionIdentifier
The IDefinitionIdentifier implementation for the IFieldDefinition.
  • Constructor Details

    • FieldDefinitionIdentifier

      public FieldDefinitionIdentifier(org.eclipse.emf.databinding.FeaturePath[] featurePaths)
      Creates a new identifier.
      Parameters:
      featurePaths - feature path array, cannot be null.
  • Method Details

    • getFeaturePaths

      public org.eclipse.emf.databinding.FeaturePath[] getFeaturePaths()
      Return feature paths.
      Returns:
      feature paths, never null.
    • matches

      public boolean matches(Object id)
      Description copied from interface: IDefinitionIdentifier
      Checks whether the identifier matches the specified id.
      Specified by:
      matches in interface IDefinitionIdentifier
      Parameters:
      id - the object that represents identifier, cannot be null.
      Returns:
      true if the identifier matches the specified object, false - otherwise.
    • getAdapter

      public <T> T getAdapter(Class<T> adapter)
      Specified by:
      getAdapter in interface org.eclipse.core.runtime.IAdaptable
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object