public interface IUIComponentMetadata
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PY_TEMPLATES |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
void |
addMetadataInArray(java.lang.String key,
IUIComponentMetadata metadata)
Adds metdata to the list
|
void |
adoptJSON(java.lang.String jsonString) |
IUIComponentInfo |
getInfo() |
java.lang.String |
getJSON()
Returns the json representation of metadata.
|
com.google.gson.JsonObject |
getNestedObject(java.lang.String key) |
java.lang.String |
getNestedProperty(java.lang.String key)
returns the value of the nested property
|
com.google.gson.JsonObject |
getObject()
Returns the data as Map
|
java.lang.String |
getString(java.lang.String key)
Get the value with this key.
|
java.lang.String |
getStringIfPresent(java.lang.String aKey)
Get the value with this key.
|
void |
put(java.lang.String key,
boolean value) |
void |
put(java.lang.String key,
IUIComponentMetadata[] metadatas) |
void |
put(java.lang.String key,
java.lang.String value) |
void |
putMetadata(java.lang.String key,
IUIComponentMetadata metadata)
Embed the metadata.
|
void |
putNestedProperty(java.lang.String key,
java.lang.String value) |
void |
putString(java.lang.String key,
java.lang.String value)
Store the values as key:value, any existing value will be overridden.
|
java.lang.Object |
remove(java.lang.String key)
Removes the property from metadata
|
static final java.lang.String VERSION
static final java.lang.String PY_TEMPLATES
void putString(java.lang.String key, java.lang.String value)
key
- value
- void put(java.lang.String key, boolean value)
key
- value
- void put(java.lang.String key, java.lang.String value)
key
- value
- java.lang.String getString(java.lang.String key)
key
- java.lang.String getStringIfPresent(java.lang.String aKey)
aKey
- java.lang.String getJSON()
com.google.gson.JsonObject getObject()
void putMetadata(java.lang.String key, IUIComponentMetadata metadata)
key
- metadata
- void addMetadataInArray(java.lang.String key, IUIComponentMetadata metadata)
key
- metadata
- void putNestedProperty(java.lang.String key, java.lang.String value)
key
- value
- ex: putNestedProperty("topPage.property","somevalue")java.lang.String getNestedProperty(java.lang.String key)
key
- void put(java.lang.String key, IUIComponentMetadata[] metadatas)
key
- metadatas
- void adoptJSON(java.lang.String jsonString)
jsonString
- IUIComponentInfo getInfo()
java.lang.Object remove(java.lang.String key)
key
- com.google.gson.JsonObject getNestedObject(java.lang.String key)
Copyright © 2018 Pegasystems Inc. All Rights Reserved.