com.groupdocs.metadata.tagging

Class PropertyTag

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<PropertyTag>


    public final class PropertyTag
    extends Object
    implements com.aspose.ms.System.IEquatable<PropertyTag>

    Represents a tag used to mark metadata properties.

    • Method Detail

      • getCategory

        public final TagCategory getCategory()

        Gets the tag category.

        Returns:
        The tag category.
      • equals

        public final boolean equals(PropertyTag other)

        Indicates whether the current object is equal to another object of the same type.

        Parameters:
        other - An object to compare with this object.
        Returns:
        True if the current object is equal to the other parameter; otherwise, false.
      • equals

        public boolean equals(Object obj)

        Determines whether the specified object is equal to the current object.

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<PropertyTag>
        Overrides:
        equals in class Object
        Parameters:
        obj - The object to compare with the current object.
        Returns:
        True if the specified object is equal to the current object; otherwise, false.
      • hashCode

        public int hashCode()

        Serves as the default hash function.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for the current object.
      • op_Equality

        public static boolean op_Equality(PropertyTag left,
                          PropertyTag right)

        Indicates whether two objects of the same type are equal.

        Parameters:
        left - The left object.
        right - The rigt object.
        Returns:
        True if the objects are equal; otherwise, false.
      • op_Inequality

        public static boolean op_Inequality(PropertyTag left,
                            PropertyTag right)

        Indicates whether two objects of the same type are not equal.

        Parameters:
        left - The left object.
        right - The rigt object.
        Returns:
        True if the objects are not equal; otherwise, false.
      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class Object
        Returns:
        A string that represents the current object.