return IssuePriority.class.equals(type);
}
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context)
{
IssuePriority priority = (IssuePriority) source;
writer.addAttribute("order", String.valueOf(priority.getOrder()));
writer.addAttribute("name", priority.getName());
}