@zeroc/ice
    Preparing search index...

    Class Identity

    Represents the identity of an Ice object. It is comparable to the path of a URI. Its string representation is name when the category is empty, and category/name when the category is not empty.

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Constructs a new Identity object.

      Parameters

      • Optionalname: string

        The identity name.

      • Optionalcategory: string

        The identity category.

      Returns Identity

    Properties

    category: string

    The category of the object.

    name: string

    The name of the Ice object. An empty name is not valid.

    Methods

    • Clones this identity.

      Returns Identity

      A shallow copy of the identity.

    • Determines whether the specified object is equal to this object.

      Parameters

      • other: Identity

        The object to compare with.

      Returns boolean

      true if the specified object is equal to the this object, false otherwise.

    • Returns the hash code of the object.

      Returns number

      the hash code of the object.