[]
        
立即试用
(Showing Draft Content)

PropertyType

Enum Class PropertyType

java.lang.Object
java.lang.Enum<PropertyType>
com.grapecity.documents.excel.PropertyType
All Implemented Interfaces:
Serializable, Comparable<PropertyType>, Constable

public enum PropertyType extends Enum<PropertyType>
指定文档属性的数据类型。
  • Enum Constant Details

    • Number

      public static final PropertyType Number
      该属性是一个整数值。
    • Boolean

      public static final PropertyType Boolean
      该属性是一个布尔值。
    • DateTime

      public static final PropertyType DateTime
      该属性是一个日期时间值。
    • String

      public static final PropertyType String
      该属性是一个字符串值。
    • Double

      public static final PropertyType Double
      该属性是一个双精度值。
  • Method Details

    • values

      public static PropertyType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PropertyType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
    • forValue

      public static PropertyType forValue(int value)