com.aspose.diagram

Class UnitFormulaErr

  • java.lang.Object
    • com.aspose.diagram.UnitFormulaErr
  • All Implemented Interfaces:
    com.aspose.diagram.b.a.i
    Direct Known Subclasses:
    UnitFormulaErrV
    public class UnitFormulaErr 
    extends java.lang.Object

Specifies attributes of an element.

Constructor Summary
UnitFormulaErr(intunit, java.lang.Stringf, java.lang.Stringerr)
Constructor.
UnitFormulaErr()
Constructor.
 
Property Getters/Setters Summary
java.lang.StringgetErr()
void
setErr(java.lang.Stringvalue)
           Indicates that the formula evaluates to an error.
java.lang.StringgetF()
void
setF(java.lang.Stringvalue)
           Represents the element's formula.
intgetUnit()
void
setUnit(intvalue)
           Units of measure. The value of the property is MeasureConst integer constant.
 
Method Summary
java.lang.ObjectdeepClone()
Creates deep copy of this instance.
booleanequals(java.lang.Object value)
Are objects equal.
inthashCode()
Serves as a hash function for a particular type.
 

    • Constructor Detail

      • UnitFormulaErr

        public UnitFormulaErr(int unit, java.lang.String f, java.lang.String err)
        Constructor.
        Parameters:
        unit - A MeasureConst value.
        f -
        err -
      • UnitFormulaErr

        public UnitFormulaErr()
        Constructor.
    • Property Getters/Setters Detail

      • getUnit/setUnit

        public int getUnit() / public void setUnit(int value)
        
        Units of measure. The value of the property is MeasureConst integer constant.
      • getF/setF

        public java.lang.String getF() / public void setF(java.lang.String value)
        
        Represents the element's formula.
      • getErr/setErr

        public java.lang.String getErr() / public void setErr(java.lang.String value)
        
        Indicates that the formula evaluates to an error.
    • Method Detail

      • equals

        public boolean equals(java.lang.Object value)
        Are objects equal.
        Parameters:
        value -
        Returns:
      • hashCode

        public int hashCode()
        Serves as a hash function for a particular type.
        Returns:
      • deepClone

        public java.lang.Object deepClone()
                        throws java.lang.Exception
        Creates deep copy of this instance.
        Returns: