public class WrappedResource extends ResourceImpl implements Resource
| Constructor and Description |
|---|
WrappedResource(IdFormatter idFormatter,
Schema schema,
Object obj,
Map<String,Object> additionalFields,
Set<String> priorityFieldNames,
String method) |
WrappedResource(IdFormatter idFormatter,
Schema schema,
Object obj,
Map<String,Object> additionalFields,
String method) |
WrappedResource(IdFormatter idFormatter,
Schema schema,
Object obj,
String method) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addField(String key,
Object value) |
Map<String,Object> |
getFields() |
protected Object |
getIdValue() |
Set<String> |
getPriorityFieldNames() |
String |
getType() |
protected void |
init() |
boolean |
isCreateTsFields() |
protected boolean |
isResource(Object obj) |
void |
setCreateTsFields(boolean createTsFields) |
void |
setPriorityFieldNames(Set<String> priorityFieldNames) |
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, String method)
public WrappedResource(IdFormatter idFormatter, Schema schema, Object obj, Map<String,Object> additionalFields, Set<String> priorityFieldNames, String method)
public WrappedResource(IdFormatter idFormatter, Schema schema, Object obj, String method)
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 © 2015. All rights reserved.