com.sun.jersey.samples.optimisticconcurrency
Class ItemData
java.lang.Object
com.sun.jersey.samples.optimisticconcurrency.ItemData
public class ItemData
- extends java.lang.Object
- Author:
- Paul.Sandoz@Sun.Com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTEXT
public static final javax.xml.bind.JAXBContext CONTEXT
ITEM
public static ItemData ITEM
version
public int version
mediaType
public MediaType mediaType
content
public byte[] content
ItemData
public ItemData()
getVersion
public int getVersion()
getVersionAsString
public java.lang.String getVersionAsString()
getMediaType
public MediaType getMediaType()
getContent
public byte[] getContent()
update
public void update(byte[] content)
update
public void update(MediaType mediaType,
byte[] content)
Copyright © 2011 Oracle Corporation. All Rights Reserved.