private static boolean isParameter ( Instance extendedParameter , ConnectionManager cm ) throws KnowledgeSourceReadException { Instance proposition = ( Instance ) cm . getOwnSlotValue ( extendedParameter , cm . getSlot ( "proposition" ) ) ; if ( proposition . hasType ( cm . getCls ( "Parameter" ) ) ) { return true ; } else { return false ; } }
Returns whether a Protege instance is a Parameter .