public AbstractSpecWithPrimaryKey < T > withPrimaryKey ( KeyAttribute ... components ) { if ( components == null ) this . keyComponents = null ; else this . keyComponents = Arrays . asList ( components ) ; return this ; }
Sets the primary key with the specified key components .