public final class VdbDataRoleSerializer extends BasicEntitySerializer<RestVdbDataRole>
RestVdbDataRole
s.BOOLEAN_MAP_TYPE, STRING_MAP_TYPE
BASE_URI, CHILDREN, DATA_PATH, DDL_ATTRIBUTE, DEFAULT_VALUE, DESCRIPTION, HAS_CHILDREN, HREF, ID, KENGINE_PREFIX, KTYPE, LIMIT, LINKS, NULL, PARENT, PREFIX_PATTERN, PREFIX_SEPARATOR, PROPERTIES, REL, REPEATABLE, REQUIRED, SELF, TYPE, VALUES
AMPERSAND, AT, BR, CLASS, CLOSE_ANGLE_BRACKET, CLOSE_BRACE, CLOSE_BRACKET, CLOSE_PRE_CMT, CLOSE_PRE_TAG, CLOSE_SQUARE_BRACKET, COLON, COMMA, CONNECTION_SUFFIX, CURRENT_FOLDER_SYMBOL, DDL, DEFAULT_LOCAL_WORKSPACE_NAME, DIVIDE, DOLLAR_SIGN, DOT, DOT_CHAR, DOT_DOT, DOT_KOMODO, DOUBLE_BACK_SLASH, DRIVE_SEPARATOR, EMPTY_ARRAY, EMPTY_STRING, ENUM, EQUALS, FILE_EXTENSION_SEPARATOR, FILE_NAME_WILDCARD, FINAL, FORWARD_SLASH, HASH, HYPHEN, INTERFACE, JAR, JAVA, JAVA_IO_TMPDIR, JBOSS_SERVER_TMP_DIR, KOMODO, LINE_SEPARATOR, LINE_SEPARATOR_PROPERTY_NAME, LOG, MINUS, MULTIPLY, NBSP, NEW_LINE, OPEN_ANGLE_BRACKET, OPEN_BRACE, OPEN_BRACKET, OPEN_PRE_CMT, OPEN_PRE_TAG, OPEN_SQUARE_BRACKET, PARENT_FOLDER_SYMBOL, PERCENT, PIPE, PLUS, PRIVATE, PUBLIC, QUESTION_MARK, QUOTE_MARK, SEMI_COLON, SERVICE_VDB_SUFFIX, SERVICE_VDB_VIEW_MODEL, SERVICE_VDB_VIEW_SUFFIX, SOURCES, SPACE, SPEECH_MARK, SRC, STAR, STATIC, TAB, TARGET, UNDERSCORE, UNDERSCORE_CHAR, VDB_DEPLOYMENT_SUFFIX, VDB_PREFIX, XML, XML_SUFFIX, ZIP, ZIP_SUFFIX
Constructor and Description |
---|
VdbDataRoleSerializer() |
Modifier and Type | Method and Description |
---|---|
protected RestVdbDataRole |
createEntity() |
protected boolean |
isComplete(RestVdbDataRole dataRole) |
protected String |
readExtension(String name,
RestVdbDataRole dataRole,
com.google.gson.stream.JsonReader in)
Sub-classes should implement this to write further data to the json
|
protected void |
writeExtensions(com.google.gson.stream.JsonWriter out,
RestVdbDataRole dataRole)
Sub-classes should implement this to write further data to the json
|
beginRead, beginWrite, endRead, endWrite, read, readLinks, readProperties, write, writeLinks, writeProperties, writeTuples, writeValue
protected boolean isComplete(RestVdbDataRole dataRole)
isComplete
in class BasicEntitySerializer<RestVdbDataRole>
dataRole
- the entityprotected RestVdbDataRole createEntity()
createEntity
in class BasicEntitySerializer<RestVdbDataRole>
protected String readExtension(String name, RestVdbDataRole dataRole, com.google.gson.stream.JsonReader in)
protected void writeExtensions(com.google.gson.stream.JsonWriter out, RestVdbDataRole dataRole) throws IOException
writeExtensions
in class BasicEntitySerializer<RestVdbDataRole>
IOException
BasicEntitySerializer.writeExtensions(com.google.gson.stream.JsonWriter, org.komodo.rest.RestBasicEntity)
Copyright © 2013–2019. All rights reserved.