LockComponent function ( ) { LockLevel loc0 = LockLevel . DB ; if ( tableNameSet ) loc0 = LockLevel . TABLE ; if ( partNameSet ) loc0 = LockLevel . PARTITION ; component . setLevel ( loc0 ) ; return component ; }
get the constructed lock component . concode_field_sep LockComponent component concode_elem_sep boolean partNameSet concode_elem_sep boolean tableNameSet concode_field_sep LockComponentBuilder setTableName concode_elem_sep LockComponentBuilder setDbName concode_elem_sep LockComponentBuilder setExclusive concode_elem_sep LockComponentBuilder setIsAcid concode_elem_sep LockComponentBuilder setShared concode_elem_sep LockComponentBuilder setOperationType concode_elem_sep LockComponentBuilder setSemiShared concode_elem_sep LockComponentBuilder setPartitionName