edu.upc.dama.dex.core
Class Graph.AttributeData

java.lang.Object
  extended by edu.upc.dama.dex.core.Graph.AttributeData
Enclosing class:
Graph

public static class Graph.AttributeData
extends java.lang.Object

Stores information about an attribute.


Method Summary
 long getCount()
          Gets the number of non-null values.
 short getDatatype()
          Gets the data type.
 long getId()
          Gets the attribute identifier.
 short getKind()
          Gets the kind of the attribute.
 java.lang.String getName()
          Gets the name of the attribute.
 long getParent()
          Gets the parent for inherited attributes.
 long getSize()
          Gets the number of different values.
 int getType()
          Gets the type identifier owner of the attribute.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getId

public long getId()
Gets the attribute identifier.

Returns:
Attribute identifier.

getName

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

Returns:
Name of the attribute.

getType

public int getType()
Gets the type identifier owner of the attribute.

Returns:
Type identifier owner of the attribute.

getSize

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

Returns:
Number of different values.

getCount

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

Returns:
Number of non-null values.

getDatatype

public short getDatatype()
Gets the data type.

Returns:
Data type.
See Also:
Value

getKind

public short getKind()
Gets the kind of the attribute.

See Attribute section at Graph.

Returns:
The kind of the attribute.
See Also:
Graph

getParent

public long getParent()
Gets the parent for inherited attributes.

Returns:
Parent attribute identifier if it is an inherited attribute, otherwise it returns Identifiers.INVALID_ATTRIBUTE.

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object