PropertyTag
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.ms.System.IEquatable
public final class PropertyTag implements System.IEquatable<PropertyTag>
Represents a tag used to mark metadata properties.
Methods
Method | Description |
---|---|
getCategory() | Gets the tag category. |
equals(PropertyTag other) | Indicates whether the current object is equal to another object of the same type. |
equals(Object obj) | Determines whether the specified object is equal to the current object. |
hashCode() | Serves as the default hash function. |
op_Equality(PropertyTag left, PropertyTag right) | Indicates whether two objects of the same type are equal. |
op_Inequality(PropertyTag left, PropertyTag right) | Indicates whether two objects of the same type are not equal. |
toString() | Returns a string that represents the current object. |
getCategory()
public final TagCategory getCategory()
Gets the tag category.
Returns: TagCategory - The tag category.
equals(PropertyTag other)
public final boolean equals(PropertyTag other)
Indicates whether the current object is equal to another object of the same type.
Parameters:
Parameter | Type | Description |
---|---|---|
other | PropertyTag | An object to compare with this object. |
Returns: boolean - True if the current object is equal to the other parameter; otherwise, false.
equals(Object obj)
public boolean equals(Object obj)
Determines whether the specified object is equal to the current object.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | The object to compare with the current object. |
Returns: boolean - True if the specified object is equal to the current object; otherwise, false.
hashCode()
public int hashCode()
Serves as the default hash function.
Returns: int - A hash code for the current object.
op_Equality(PropertyTag left, PropertyTag right)
public static boolean op_Equality(PropertyTag left, PropertyTag right)
Indicates whether two objects of the same type are equal.
Parameters:
Parameter | Type | Description |
---|---|---|
left | PropertyTag | The left object. |
right | PropertyTag | The rigt object. |
Returns: boolean - True if the objects are equal; otherwise, false.
op_Inequality(PropertyTag left, PropertyTag right)
public static boolean op_Inequality(PropertyTag left, PropertyTag right)
Indicates whether two objects of the same type are not equal.
Parameters:
Parameter | Type | Description |
---|---|---|
left | PropertyTag | The left object. |
right | PropertyTag | The rigt object. |
Returns: boolean - True if the objects are not equal; otherwise, false.
toString()
public String toString()
Returns a string that represents the current object.
Returns: java.lang.String - A string that represents the current object.