org.fusesource.examples.cxf.jaxrs.security
Class Product

java.lang.Object
  extended by org.fusesource.examples.cxf.jaxrs.security.Product

public class Product
extends java.lang.Object

The Product class is just a plain old java object, with a few properties and getters and setters. By adding the @XmlRootElement annotation, we make it possible for JAXB to unmarshal this object into a XML document and to marshal it back from the same XML document. The XML representation of a Product will look like this: 10010 Armadillo


Constructor Summary
Product()
           
 
Method Summary
 java.lang.String getDescription()
           
 long getId()
           
 void setDescription(java.lang.String d)
           
 void setId(long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Product

public Product()
Method Detail

getId

public long getId()

setId

public void setId(long id)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String d)


Copyright © 2012 FuseSource. All Rights Reserved.