com.atlassian.gadgets.directory.internal.jaxb
Class JAXBCategory
java.lang.Object
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.
JAXBCategory
public JAXBCategory(Category category)
- Constructor. Maps the
Category
properties onto the JAXB
properties.
- Parameters:
category
- the Category
value to map from
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.