com.vladium.emma.report
Class Item.ItemMetadata
java.lang.Object
com.vladium.emma.report.Item.ItemMetadata
- All Implemented Interfaces:
- IItemMetadata
- Enclosing class:
- Item
- protected static final class Item.ItemMetadata
- extends java.lang.Object
- implements IItemMetadata
Constructor Summary |
(package private) |
Item.ItemMetadata(int typeID,
java.lang.String typeName,
long attributeIDs)
|
Method Summary |
long |
getAttributeIDs()
Using a long is only ok for less than 64 global attributes, but this limit
seems ok for a long time to come. |
int |
getTypeID()
|
java.lang.String |
getTypeName()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_typeID
private final int m_typeID
m_typeName
private final java.lang.String m_typeName
m_attributeIDs
private final long m_attributeIDs
Item.ItemMetadata
Item.ItemMetadata(int typeID,
java.lang.String typeName,
long attributeIDs)
getTypeID
public int getTypeID()
- Specified by:
getTypeID
in interface IItemMetadata
getTypeName
public java.lang.String getTypeName()
- Specified by:
getTypeName
in interface IItemMetadata
getAttributeIDs
public long getAttributeIDs()
- Description copied from interface:
IItemMetadata
- Using a long is only ok for less than 64 global attributes, but this limit
seems ok for a long time to come.
- Specified by:
getAttributeIDs
in interface IItemMetadata
- Returns:
- bitmask for valid attributes