public class TypeIdFormatter extends Object implements IdFormatter
| Constructor and Description |
|---|
TypeIdFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
formatId(String type,
Object id) |
Set<String> |
getPlainTypes() |
SchemaFactory |
getSchemaFactory() |
protected String |
getShortType(String type) |
String |
parseId(String id) |
void |
setPlainTypes(Set<String> plainTypes) |
void |
setSchemaFactory(SchemaFactory schemaFactory) |
public String formatId(String type, Object id)
formatId in interface IdFormatterpublic String parseId(String id)
parseId in interface IdFormatterpublic SchemaFactory getSchemaFactory()
@Inject public void setSchemaFactory(SchemaFactory schemaFactory)
Copyright © 2015. All rights reserved.