public static PriorityAttribute createPriorityAttribute ( long priority ) throws IllegalArgumentException { PriorityAttribute attribute = new PriorityAttribute ( ) ; attribute . setPriority ( priority ) ; return attribute ; }
Creates a Priority attribute with the specified priority value