com.aspose.note.revision

Interfaces

Classes

com.aspose.note.revision

Class PropertyId

    • Constructor Detail

      • PropertyId

        public PropertyId(int id,
                          byte type,
                          boolean val)

        Initializes a new instance of the PropertyId class.

        Parameters:
        id - The id.
        type - The type.
        val - The val.
      • PropertyId

        public PropertyId(int id,
                          byte type)

        Initializes a new instance of the PropertyId class.

        Parameters:
        id - The id.
        type - The type.
    • Method Detail

      • getId

        public int getId()

        Gets the identity of this property.

      • getType

        public byte getType()

        Gets the property type and the size and location of the data for this property.

      • getBoolValue

        public boolean getBoolValue()

        Gets the value of a Boolean property. Must be false if the value of the type field is not equal to 0x2.

      • toByteArray

        public byte[] toByteArray()

        The to byte array.

        Specified by:
        toByteArray in interface IBinarySerializable
        Returns:
        The T:byte[].
        Throws:
        com.aspose.ms.System.InvalidOperationException
      • equals

        public boolean equals(Object obj)

        The equals.

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<PropertyId>
        Overrides:
        equals in class Object
      • op_Equality

        public static boolean op_Equality(PropertyId x,
                                          PropertyId y)

        The ==.

        Parameters:
        x - The x.
        y - The y.
        Returns:
      • op_Inequality

        public static boolean op_Inequality(PropertyId x,
                                            PropertyId y)

        The !=.

        Parameters:
        x - The x.
        y - The y.
        Returns:
      • equals

        public boolean equals(PropertyId other)

        The equals.

        Parameters:
        other - The other.
        Returns:
        The bool.
      • hashCode

        public int hashCode()

        The get hash code.

        Overrides:
        hashCode in class Object
        Returns:
        The int.
      • toString

        public String toString()

        The to string.

        Overrides:
        toString in class Object
        Returns:
        The string.