lojix/power_model/src/main/com/thesett/aima/attribute/impl/HierarchyAttribute.java
public long getId()
    {
        // Find the category for this hierarchy attribute value.
        Tree<CategoryNode> category = attributeClass.lookup.get(value);

        // Extract and return the id.
        return category.getElement().id;
    }
public long getId()
    {
        // Find the category for this hierarchy attribute value.
        Tree<CategoryNode> category = attributeClass.lookup.get(value);

        // Extract and return the id.
        return category.getElement().id;
    }
public long getId ( ) { // Find the category for this hierarchy attribute value. Tree < CategoryNode > category = attributeClass . lookup . get ( value ) ; // Extract and return the id. return category . getElement ( ) . id ; }
Returns the long id of the attribute.

@return The long id of the attribute.
Returns the long id of the attribute .