Sleuth Kit Java Bindings (JNI)  4.8.0
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.BlackboardAttribute Class Reference

Classes

enum  ATTRIBUTE_TYPE
 
enum  TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE
 
class  Type
 

Public Member Functions

 BlackboardAttribute (ATTRIBUTE_TYPE attributeType, String source, int valueInt) throws IllegalArgumentException
 
 BlackboardAttribute (Type attributeType, String source, int valueInt) throws IllegalArgumentException
 
 BlackboardAttribute (ATTRIBUTE_TYPE attributeType, String source, long valueLong) throws IllegalArgumentException
 
 BlackboardAttribute (Type attributeType, String source, long valueLong) throws IllegalArgumentException
 
 BlackboardAttribute (ATTRIBUTE_TYPE attributeType, String source, double valueDouble) throws IllegalArgumentException
 
 BlackboardAttribute (Type attributeType, String source, double valueDouble) throws IllegalArgumentException
 
 BlackboardAttribute (ATTRIBUTE_TYPE attributeType, String source, String valueString) throws IllegalArgumentException
 
 BlackboardAttribute (Type attributeType, String source, String valueString) throws IllegalArgumentException
 
 BlackboardAttribute (ATTRIBUTE_TYPE attributeType, String source, byte[] valueBytes) throws IllegalArgumentException
 
 BlackboardAttribute (Type attributeType, String source, byte[] valueBytes) throws IllegalArgumentException
 
 BlackboardAttribute (int attributeTypeID, String moduleName, int valueInt) throws IllegalArgumentException
 
 BlackboardAttribute (int attributeTypeID, String moduleName, String context, int valueInt)
 
 BlackboardAttribute (int attributeTypeID, String moduleName, long valueLong) throws IllegalArgumentException
 
 BlackboardAttribute (int attributeTypeID, String moduleName, String context, long valueLong)
 
 BlackboardAttribute (int attributeTypeID, String moduleName, double valueDouble) throws IllegalArgumentException
 
 BlackboardAttribute (int attributeTypeID, String moduleName, String context, double valueDouble)
 
 BlackboardAttribute (int attributeTypeID, String moduleName, String valueString) throws IllegalArgumentException
 
 BlackboardAttribute (int attributeTypeID, String moduleName, String context, String valueString)
 
 BlackboardAttribute (int attributeTypeID, String moduleName, byte[] valueBytes) throws IllegalArgumentException
 
 BlackboardAttribute (int attributeTypeID, String moduleName, String context, byte[] valueBytes)
 
void addSource (String source) throws TskCoreException
 
boolean equals (Object obj)
 
long getArtifactID ()
 
BlackboardAttribute.Type getAttributeType ()
 
String getAttributeTypeDisplayName () throws TskCoreException
 
int getAttributeTypeID ()
 
String getAttributeTypeName () throws TskCoreException
 
String getContext ()
 
String getDisplayString ()
 
String getModuleName ()
 
BlackboardArtifact getParentArtifact () throws TskCoreException
 
List< String > getSources ()
 
byte[] getValueBytes ()
 
double getValueDouble ()
 
int getValueInt ()
 
long getValueLong ()
 
String getValueString ()
 
TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE getValueType ()
 
int hashCode ()
 
String toString ()
 

Protected Member Functions

void setArtifactID (long artifactID)
 
void setCase (SleuthkitCase sleuthkitCase)
 

Detailed Description

Represents an attribute of an artifact posted to the blackboard. Instances should be constructed and then added to an instance of the BlackboardArtifact class.

Attributes are a name-value pairs. The name is the type of the attribute, as represented by the BlackboardAttribute.Type class. Standard attribute types are specified by the ATTRIBUTE_TYPE enumeration. Custom attribute types may be created by constructing a BlackboardAttribute.Type object and calling the SleuthkitCase.addArtifactAttributeType method. The BlackboardAttribute.Type object that is returned can then be used to create instances of the custom attribute by calling the appropriate BlackboardAttribute constructor. It can also be used to do blackboard queries involving the custom type.

Definition at line 45 of file BlackboardAttribute.java.

Constructor & Destructor Documentation

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( ATTRIBUTE_TYPE  attributeType,
String  source,
int  valueInt 
) throws IllegalArgumentException

Constructs a standard attribute with an integer value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeThe standard attribute type.
sourceThe source of this attribute.
valueIntThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER.

Definition at line 74 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.getValueType(), and org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER.

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

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( Type  attributeType,
String  source,
int  valueInt 
) throws IllegalArgumentException

Constructs an attribute with an integer value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeThe attribute type.
sourceThe source of this attribute.
valueIntThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER.

Definition at line 101 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.getValueType(), and org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER.

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( ATTRIBUTE_TYPE  attributeType,
String  source,
long  valueLong 
) throws IllegalArgumentException

Constructs a standard attribute with a long/datetime value. If the value is a datetime, it should be seconds from January 1, 1970. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeThe standard attribute type.
sourceThe source of this attribute.
valueLongThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.LONG or TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DATETIME.

Definition at line 131 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DATETIME, org.sleuthkit.datamodel.BlackboardAttribute.getValueType(), and org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.LONG.

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( Type  attributeType,
String  source,
long  valueLong 
) throws IllegalArgumentException

Constructs an attribute with a long/datetime value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeThe attribute type.
sourceThe source of this attribute.
valueLongThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.LONG or TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DATETIME.

Definition at line 161 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DATETIME, org.sleuthkit.datamodel.BlackboardAttribute.getValueType(), and org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.LONG.

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( ATTRIBUTE_TYPE  attributeType,
String  source,
double  valueDouble 
) throws IllegalArgumentException

Constructs a standard attribute with a double value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeThe standard attribute type.
sourceThe source of this attribute.
valueDoubleThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DOUBLE.

Definition at line 189 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DOUBLE, and org.sleuthkit.datamodel.BlackboardAttribute.getValueType().

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( Type  attributeType,
String  source,
double  valueDouble 
) throws IllegalArgumentException

Constructs an attribute with a double value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeThe attribute type.
sourceThe source of this attribute.
valueDoubleThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DOUBLE.

Definition at line 217 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DOUBLE, and org.sleuthkit.datamodel.BlackboardAttribute.getValueType().

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( ATTRIBUTE_TYPE  attributeType,
String  source,
String  valueString 
) throws IllegalArgumentException

Constructs a standard attribute with an string value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeThe standard attribute type.
sourceThe source of this attribute.
valueStringThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING or TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.JSON

Definition at line 246 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.getValueType(), org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.JSON, and org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING.

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( Type  attributeType,
String  source,
String  valueString 
) throws IllegalArgumentException

Constructs an attribute with a string value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeThe attribute type.
sourceThe source of this attribute.
valueStringThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING.

Definition at line 278 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.getValueType(), org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.JSON, and org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING.

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( ATTRIBUTE_TYPE  attributeType,
String  source,
byte[]  valueBytes 
) throws IllegalArgumentException

Constructs a standard attribute with a byte array value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeThe standard attribute type.
sourceThe source of this attribute.
valueBytesThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.BYTE.

Definition at line 310 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.BYTE, and org.sleuthkit.datamodel.BlackboardAttribute.getValueType().

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( Type  attributeType,
String  source,
byte[]  valueBytes 
) throws IllegalArgumentException

Constructs an attribute with a byte array value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeThe attribute type.
sourceThe source of this attribute.
valueBytesThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.BYTE.

Definition at line 341 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.BYTE, and org.sleuthkit.datamodel.BlackboardAttribute.getValueType().

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( int  attributeTypeID,
String  moduleName,
int  valueInt 
) throws IllegalArgumentException

Creates a standard attribute with an integer value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeIDThe standard attribute type id.
moduleNameThe display name of the module creating this attribute.
valueIntThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER or the type id is not for a standard type.
Deprecated:

Definition at line 1520 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.ATTRIBUTE_TYPE.fromID().

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( int  attributeTypeID,
String  moduleName,
String  context,
int  valueInt 
)

Creates a standard attribute with an integer value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeIDThe standard attribute type id.
moduleNameThe display name of the module creating this attribute.
contextExtra information about the attribute.
valueIntThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER or the type id is not for a standard type.
Deprecated:

Definition at line 1542 of file BlackboardAttribute.java.

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( int  attributeTypeID,
String  moduleName,
long  valueLong 
) throws IllegalArgumentException

Creates a standard attribute with a long/datetime value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeIDThe standard attribute type id.
moduleNameThe display name of the module that creating this attribute.
valueLongThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.LONG or TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DATETIME or the type id is not for a standard type.
Deprecated:

Definition at line 1567 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.ATTRIBUTE_TYPE.fromID().

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( int  attributeTypeID,
String  moduleName,
String  context,
long  valueLong 
)

Creates a standard attribute with a long/datetime value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeIDThe standard attribute type id.
moduleNameThe display name of the module that creating this attribute.
contextExtra information about the attribute.
valueLongThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.LONG or TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DATETIME or the type id is not for a standard type.
Deprecated:

Definition at line 1592 of file BlackboardAttribute.java.

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( int  attributeTypeID,
String  moduleName,
double  valueDouble 
) throws IllegalArgumentException

Creates a standard attribute with a double value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeIDThe standard attribute type id.
moduleNameThe display name of the module creating this attribute.
valueDoubleThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DOUBLE or the type id is not for a standard type.
Deprecated:

Definition at line 1615 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.ATTRIBUTE_TYPE.fromID().

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( int  attributeTypeID,
String  moduleName,
String  context,
double  valueDouble 
)

Creates a standard attribute with a double value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeIDThe standard attribute type id.
moduleNameThe display name of the module creating this attribute.
contextExtra information about the attribute.
valueDoubleThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DOUBLE or the type id is not for a standard type.
Deprecated:

Definition at line 1638 of file BlackboardAttribute.java.

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( int  attributeTypeID,
String  moduleName,
String  valueString 
) throws IllegalArgumentException

Creates a standard attribute with a string value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeIDThe standard attribute type id.
moduleNameThe display name of the module creating this attribute.
valueStringThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING or the type id is not for a standard type.
Deprecated:

Definition at line 1661 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.ATTRIBUTE_TYPE.fromID().

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( int  attributeTypeID,
String  moduleName,
String  context,
String  valueString 
)

Creates a standard attribute with a string value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeIDThe standard attribute type id.
moduleNameThe display name of the module creating this attribute.
contextExtra information about the attribute.
valueStringThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING or the type id is not for a standard type.
Deprecated:

Definition at line 1683 of file BlackboardAttribute.java.

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( int  attributeTypeID,
String  moduleName,
byte[]  valueBytes 
) throws IllegalArgumentException

Creates a standard attribute with a byte array value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeIDThe standard attribute type id.
moduleNameThe display name of the module creating this attribute.
valueBytesThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.BYTE or the type id is not for a standard type.
Deprecated:

Definition at line 1706 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.BlackboardAttribute.ATTRIBUTE_TYPE.fromID().

org.sleuthkit.datamodel.BlackboardAttribute.BlackboardAttribute ( int  attributeTypeID,
String  moduleName,
String  context,
byte[]  valueBytes 
)

Creates a standard attribute with a byte array value. The attribute should be added to an appropriate artifact.

Parameters
attributeTypeIDThe standard attribute type id.
moduleNameThe display name of the module creating this attribute.
contextExtra information about the attribute.
valueBytesThe attribute value.
Exceptions
IllegalArgumentExceptionIf the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.BYTE or the type id is not for a standard type.
Deprecated:

Definition at line 1728 of file BlackboardAttribute.java.

Member Function Documentation

void org.sleuthkit.datamodel.BlackboardAttribute.addSource ( String  source) throws TskCoreException

Adds a source to the sources of this attribute.

Parameters
sourceThe source name.
Exceptions
org.sleuthkit.datamodel.TskCoreException

Definition at line 461 of file BlackboardAttribute.java.

boolean org.sleuthkit.datamodel.BlackboardAttribute.equals ( Object  obj)
long org.sleuthkit.datamodel.BlackboardAttribute.getArtifactID ( )

Gets the id of the artifact associated with this attribute, if the attribute was added to an artifact. Attributes should always be added to artifacts after they are constructed.

Returns
The artifact id or zero if the artifact id has not been set.

Definition at line 367 of file BlackboardAttribute.java.

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

BlackboardAttribute.Type org.sleuthkit.datamodel.BlackboardAttribute.getAttributeType ( )
String org.sleuthkit.datamodel.BlackboardAttribute.getAttributeTypeDisplayName ( ) throws TskCoreException

Gets the attribute type display name.

Returns
type The display name.
Exceptions
org.sleuthkit.datamodel.TskCoreException
Deprecated:
Use BlackboardAttribute.getAttributeType.getDisplayName instead.

Definition at line 1826 of file BlackboardAttribute.java.

int org.sleuthkit.datamodel.BlackboardAttribute.getAttributeTypeID ( )

Gets the attribute type id.

Returns
The type id.
Deprecated:
Use BlackboardAttribute.getAttributeType.getTypeID instead.

Definition at line 1797 of file BlackboardAttribute.java.

String org.sleuthkit.datamodel.BlackboardAttribute.getAttributeTypeName ( ) throws TskCoreException

Gets the attribute type name.

Returns
The type name.
Exceptions
org.sleuthkit.datamodel.TskCoreException
Deprecated:
Use BlackboardAttribute.getAttributeType.getTypeName instead.

Definition at line 1811 of file BlackboardAttribute.java.

String org.sleuthkit.datamodel.BlackboardAttribute.getContext ( )

Gets the context of this attribute.

Returns
The context, may be the empty string.
Deprecated:
Setting context for an attribute is deprecated.

Definition at line 1773 of file BlackboardAttribute.java.

String org.sleuthkit.datamodel.BlackboardAttribute.getModuleName ( )

Gets the name of the first module identified as a sources of this attribute.

Returns
A comma-separated-values list of module names, may be empty.
Deprecated:
Use getSources instead.

Definition at line 1839 of file BlackboardAttribute.java.

BlackboardArtifact org.sleuthkit.datamodel.BlackboardAttribute.getParentArtifact ( ) throws TskCoreException

Gets the artifact associated with this attribute. The artifact can be used to get the source content for the artifact as well as any other attributes associated with the artifact.

Returns
The artifact.
Exceptions
TskCoreExceptionIf there is no artifact associated with this attribute or there is an error reading from the case database.

Definition at line 476 of file BlackboardAttribute.java.

References org.sleuthkit.datamodel.SleuthkitCase.getBlackboardArtifact().

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

List<String> org.sleuthkit.datamodel.BlackboardAttribute.getSources ( )

Gets the sources of this attribute.

Returns
A list of sources, may be empty.

Definition at line 445 of file BlackboardAttribute.java.

byte [] org.sleuthkit.datamodel.BlackboardAttribute.getValueBytes ( )

Gets the value of this attribute. The value is only valid if the attribute value type is TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.BYTE.

Returns
The attribute value.

Definition at line 436 of file BlackboardAttribute.java.

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

double org.sleuthkit.datamodel.BlackboardAttribute.getValueDouble ( )

Gets the value of this attribute. The value is only valid if the attribute value type is TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DOUBLE.

Returns
The attribute value.

Definition at line 415 of file BlackboardAttribute.java.

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

int org.sleuthkit.datamodel.BlackboardAttribute.getValueInt ( )

Gets the value of this attribute. The value is only valid if the attribute value type is TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER.

Returns
The attribute value.

Definition at line 395 of file BlackboardAttribute.java.

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

long org.sleuthkit.datamodel.BlackboardAttribute.getValueLong ( )

Gets the value of this attribute. The value is only valid if the attribute value type is TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.LONG.

Returns
The attribute value.

Definition at line 405 of file BlackboardAttribute.java.

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

int org.sleuthkit.datamodel.BlackboardAttribute.hashCode ( )

Definition at line 481 of file BlackboardAttribute.java.

void org.sleuthkit.datamodel.BlackboardAttribute.setArtifactID ( long  artifactID)
protected

Sets the artifact id.

Parameters
artifactIDThe artifact id.
Deprecated:
The preferred method for doing this is to add the attribute to a BlackboardArtifact object by calling BlackboardArtifact.addAttribute or BlackboardArtifact.addAttributes, both of which post the attributes to the blackboard.

Definition at line 1745 of file BlackboardAttribute.java.

void org.sleuthkit.datamodel.BlackboardAttribute.setCase ( SleuthkitCase  sleuthkitCase)
protected

Sets the reference to the SleuthkitCase object that represents the case database.

Parameters
sleuthkitCaseA reference to a SleuthkitCase object.
Deprecated:
The preferred method for doing this is to add the attribute to a BlackboardArtifact object by calling BlackboardArtifact.addAttribute or BlackboardArtifact.addAttributes, both of which post the attributes to the blackboard.

Definition at line 1761 of file BlackboardAttribute.java.


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

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