public class WrappedResource extends ResourceImpl implements Resource
| Constructor and Description |
|---|
WrappedResource(IdFormatter idFormatter,
Schema schema,
Object obj) |
WrappedResource(IdFormatter idFormatter,
Schema schema,
Object obj,
Map<String,Object> additionalFields) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getFields() |
protected Object |
getIdValue() |
String |
getType() |
protected void |
init() |
boolean |
isCreateTsFields() |
protected boolean |
isResource(Object obj) |
void |
setCreateTsFields(boolean createTsFields) |
getActions, getId, getLinks, setActions, setFields, setId, setLinks, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActions, getId, getLinkspublic WrappedResource(IdFormatter idFormatter, Schema schema, Object obj, Map<String,Object> additionalFields)
public WrappedResource(IdFormatter idFormatter, Schema schema, Object obj)
protected void init()
protected boolean isResource(Object obj)
protected Object getIdValue()
public String getType()
getType in interface ResourcegetType in class ResourceImplpublic Map<String,Object> getFields()
getFields in interface ResourcegetFields in class ResourceImplpublic boolean isCreateTsFields()
public void setCreateTsFields(boolean createTsFields)
Copyright © 2014. All rights reserved.