com.atlassian.gadgets.directory.internal.jaxb
Class JAXBCategory

java.lang.Object
  extended by com.atlassian.gadgets.directory.internal.jaxb.JAXBCategory

public final class JAXBCategory
extends Object

Provides a JAXB view of Category values. TODO: AG-428 We should add LINK elements to this representation, as the REST Guidleines recommend.


Constructor Summary
JAXBCategory(Category category)
          Constructor.
 
Method Summary
 boolean equals(Object that)
           
 String getName()
          Returns the name of the category.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBCategory

public JAXBCategory(Category category)
Constructor. Maps the Category properties onto the JAXB properties.

Parameters:
category - the Category value to map from
Method Detail

getName

public String getName()
Returns the name of the category.

Returns:
the name of the category

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object that)
Overrides:
equals in class Object


Copyright © 2009 Atlassian. All Rights Reserved.