public long getId ( ) { // Check if the attribute class has been finalized yet. if ( attributeClass . finalized ) { // Fetch the object value from the attribute class array of finalized values. return attributeClass . lookupValue [ value ] . id ; } // The attribute class has not been finalized yet. else { // Fetch the object value from the attribute class list of unfinalized values. return attributeClass . lookupValueList . get ( value ) . id ; } }
Returns the integer id of the attribute .