Sleuth Kit Java Bindings (JNI)  4.3
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")
 
 LONG =(2, "Long")
 
 STRING =(0, "String")
 

Private Member Functions

 TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE (long type, String typeName)
 

Private Attributes

final long typeId
 
final String typeName
 

Detailed Description

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

Definition at line 181 of file BlackboardAttribute.java.

Constructor & Destructor Documentation

org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE ( long  type,
String  typeName 
)
private

Constructs an attribute value type object.

Parameters
typeThe type id of the value type.
typeNameThe type name of the value type.

Definition at line 222 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 288 of file BlackboardAttribute.java.

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 265 of file BlackboardAttribute.java.

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

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 247 of file BlackboardAttribute.java.

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 235 of file BlackboardAttribute.java.

Referenced by org.sleuthkit.datamodel.SleuthkitCase.updateFromSchema3toSchema4().

Member Data Documentation

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

The value type of the attribute is a byte array.

Definition at line 202 of file BlackboardAttribute.java.

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

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 207 of file BlackboardAttribute.java.

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

org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DOUBLE =(3, "Double")

The value type of the attribute is a double.

Definition at line 198 of file BlackboardAttribute.java.

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

org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER =(1, "Integer")

The value type of the attribute is an int.

Definition at line 190 of file BlackboardAttribute.java.

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

org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.LONG =(2, "Long")

The value type of the attribute is a long.

Definition at line 194 of file BlackboardAttribute.java.

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

org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING =(0, "String")

The value type of the attribute is a string.

Definition at line 186 of file BlackboardAttribute.java.

Referenced by org.sleuthkit.datamodel.SleuthkitCase.addAttrType(), and org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute().

final long org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.typeId
private

Definition at line 209 of file BlackboardAttribute.java.

final String org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.typeName
private

Definition at line 210 of file BlackboardAttribute.java.


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

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