Sleuth Kit Java Bindings (JNI)  4.12.1
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE Enum Reference

Public Member Functions

String getLabel ()
 
long getType ()
 

Static Public Member Functions

static TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE fromLabel (String typeName)
 
static TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE fromType (long typeId)
 

Public Attributes

 BYTE =(4, "Byte")
 
 DATETIME =(5, "DateTime")
 
 DOUBLE =(3, "Double")
 
 INTEGER =(1, "Integer")
 
 JSON =(6, "Json")
 
 LONG =(2, "Long")
 
 STRING =(0, "String")
 

Detailed Description

Specifies the type ids and display names of the supported attribute value types.

Definition at line 892 of file BlackboardAttribute.java.

Member Function Documentation

static TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.fromLabel ( String  typeName)
static

Gets the attribute value type for a given value type name.

Parameters
typeNameA type name.
Returns
A BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE object.
Exceptions
IllegalArgumentExceptionIf the given type name does not map to a supported value type.

TODO (AUT-2070): Deprecate and provide a fromTypeName method instead for API consistency.

Definition at line 1003 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.getLabel().

static TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.fromType ( long  typeId)
static

Gets the attribute value type for a given value type id.

Parameters
typeIdA value type id.
Returns
A BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE object.
Exceptions
IllegalArgumentExceptionIf the given type id does not map to a supported value type.

TODO (AUT-2070): Deprecate and provide a fromTypeId method instead for API consistency.

Definition at line 980 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.getType().

Referenced by org.sleuthkit.datamodel.Blackboard.getAttributeType(), org.sleuthkit.datamodel.SleuthkitCase.getAttributeTypes(), and org.sleuthkit.datamodel.Blackboard.getOrAddAttributeType().

String org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.getLabel ( )

Gets the type name for this attribute value type.

TODO (AUT-2070): Deprecate and provide a getTypeName method instead for API consistency.

Returns
attribute value type name

Definition at line 962 of file BlackboardAttribute.java.

Referenced by org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.fromLabel().

long org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.getType ( )

Gets the type id for this attribute value type.

TODO (AUT-2070): Deprecate and provide a getTypeId method instead for API consistency.

Returns
attribute value type id

Definition at line 950 of file BlackboardAttribute.java.

Referenced by org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.fromType().

Member Data Documentation

org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.BYTE =(4, "Byte")
org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DATETIME =(5, "DateTime")

The value type of the attribute is a long representing seconds from January 1, 1970.

Definition at line 918 of file BlackboardAttribute.java.

Referenced by org.sleuthkit.datamodel.AbstractAttribute.AbstractAttribute(), and org.sleuthkit.datamodel.OsAccountManager.addExtendedOsAccountAttributes().

org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DOUBLE =(3, "Double")
org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER =(1, "Integer")
org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.LONG =(2, "Long")
org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING =(0, "String")

The documentation for this enum was generated from the following file:

Copyright © 2011-2021 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.