com.sparsity.dex.gdb
Class Attribute

java.lang.Object
  extended by com.sparsity.dex.gdb.Attribute

public class Attribute
extends java.lang.Object

Attribute data class.

It contains information about an attribute.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Field Summary
static int InvalidAttribute
          Invalid attribute identifier constant.
 
Method Summary
 long getCount()
          Gets the number of non-NULL values.
 DataType getDataType()
          Gets the data type.
 int getId()
          Gets the Dex attribute identifier.
 AttributeKind getKind()
          Gets the attribute kind.
 java.lang.String getName()
          Gets the unique attribute name.
 long getSize()
          Gets the number of different values.
 int getTypeId()
          Gets the Dex type identifier.
 boolean isSessionAttribute()
          Check if it's a session attribute or a persistent one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

InvalidAttribute

public static int InvalidAttribute
Invalid attribute identifier constant.

Method Detail

getKind

public AttributeKind getKind()
Gets the attribute kind.

Returns:
The AttributeKind.

getCount

public long getCount()
Gets the number of non-NULL values.

Returns:
The number of non-NULL values.

isSessionAttribute

public boolean isSessionAttribute()
Check if it's a session attribute or a persistent one.

Returns:
True if it's a session attribute, or false otherwise.

getSize

public long getSize()
Gets the number of different values.

Returns:
The number of different values.

getTypeId

public int getTypeId()
Gets the Dex type identifier.

Returns:
The Dex type identifier.

getDataType

public DataType getDataType()
Gets the data type.

Returns:
The DataType.

getId

public int getId()
Gets the Dex attribute identifier.

Returns:
The Dex attribute identifier.

getName

public java.lang.String getName()
Gets the unique attribute name.

Returns:
The unique attribute name.