AsfDescriptorType
Inheritance: java.lang.Object
All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue
public final class AsfDescriptorType implements IEnumValue
Defines ASF descriptor types.
Fields
Field | Description |
---|---|
Unicode | The unicode string type. |
ByteArray | The byte array type. |
Bool | The 32-bit bool type. |
DWord | The 32-bit unsigned integer type. |
QWord | The 64-bit unsigned integer type. |
Word | The 16-bit unsigned integer type. |
Guid | The 128-bit (16 byte) GUID type. |
Methods
Unicode
public static final AsfDescriptorType Unicode
The unicode string type.
ByteArray
public static final AsfDescriptorType ByteArray
The byte array type.
Bool
public static final AsfDescriptorType Bool
The 32-bit bool type.
DWord
public static final AsfDescriptorType DWord
The 32-bit unsigned integer type.
QWord
public static final AsfDescriptorType QWord
The 64-bit unsigned integer type.
Word
public static final AsfDescriptorType Word
The 16-bit unsigned integer type.
Guid
public static final AsfDescriptorType Guid
The 128-bit (16 byte) GUID type.
getByRawValue(int rawValue)
public static AsfDescriptorType getByRawValue(int rawValue)
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: AsfDescriptorType
getFirst()
public static IEnumValue getFirst()
Returns: IEnumValue
getAllValues()
public Object[] getAllValues()
Returns the array of all values defined in the class.
Returns: java.lang.Object[]
getEnumValueByRawValue(int rawValue)
public IEnumValue getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: IEnumValue
getEnumValueByName(String name)
public IEnumValue getEnumValueByName(String name)
Returns the enumeration value by its name.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: IEnumValue
getRawValueType()
public RawIntegerType getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
Returns: RawIntegerType
getRawValue()
public int getRawValue()
Returns the raw value of this enumeration value.
Returns: int
name()
public String name()
Returns the name of this enumeration value.
Returns: java.lang.String
equals(Object o)
public boolean equals(Object o)
Parameters:
Parameter | Type | Description |
---|---|---|
o | java.lang.Object |
Returns: boolean
hashCode()
public int hashCode()
Returns: int