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 .