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

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

public class Customer
extends java.lang.Object

The Customer 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 Customer will look like this: 123 National Aquarium


Constructor Summary
Customer()
           
 
Method Summary
 long getId()
           
 java.lang.String getName()
           
 void setId(long id)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Customer

public Customer()
Method Detail

getId

public long getId()

setId

public void setId(long id)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)


Copyright © 2012 FuseSource. All Rights Reserved.