org.glassfish.jersey.examples.httppatch
Class State

java.lang.Object
  extended by org.glassfish.jersey.examples.httppatch.State

public class State
extends Object

A resource state modelled as Java bean (that can be patched).

Author:
Gerard Davison (gerard.davison at oracle.com), Marek Potociar (marek.potociar at oracle.com)

Constructor Summary
State()
          Create new bean instance without any data.
 
Method Summary
 boolean equals(Object o)
           
 List<String> getList()
           
 String getMessage()
           
 String getTitle()
           
 int hashCode()
           
 void setList(List<String> list)
           
 void setMessage(String message)
           
 void setTitle(String title)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

State

public State()
Create new bean instance without any data.

Method Detail

setList

public void setList(List<String> list)

getList

public List<String> getList()

setTitle

public void setTitle(String title)

getTitle

public String getTitle()

setMessage

public void setMessage(String message)

getMessage

public String getMessage()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.