public class JSONProperty
extends java.lang.Object
Constructor and Description |
---|
JSONProperty(java.lang.String propName) |
JSONProperty(java.lang.String propName,
boolean persistent) |
Modifier and Type | Method and Description |
---|---|
JSONProperty |
addAdditionalProperty(java.lang.String key,
java.lang.Object value) |
java.lang.String |
getCardinality() |
com.ibm.json.java.JSONArray |
getConstrainedValueList() |
java.lang.Object |
getDefValue() |
java.lang.String |
getDescription() |
java.lang.Boolean |
getESigEnabled() |
JSONSchema |
getItemSchema() |
com.ibm.json.java.JSONObject |
getJSON() |
java.lang.Double |
getMaximum() |
java.lang.Integer |
getMaxItems() |
java.lang.Integer |
getMaxLength() |
java.lang.Double |
getMinimum() |
java.lang.Integer |
getMinItems() |
java.lang.String |
getObjectName() |
com.ibm.json.java.JSONArray |
getOneOf() |
java.util.regex.Pattern |
getPattern() |
java.lang.String |
getPropName() |
void |
getPropName(JSONProperty prop,
java.lang.String propName) |
java.lang.String |
getRelation() |
java.lang.String |
getRemarks() |
java.lang.String |
getRepresentaionType() |
java.lang.Integer |
getScale() |
java.lang.String |
getSearchType() |
java.lang.String |
getSubType() |
java.lang.String |
getTitle() |
java.lang.String |
getType() |
com.ibm.json.java.JSONArray |
getUsage() |
java.lang.Boolean |
getUserDefined() |
java.lang.Boolean |
hasList() |
JSONProperty |
propName(java.lang.String propName) |
JSONProperty |
setCardinality(java.lang.String cardinality) |
void |
setConstrainedValueList(java.util.Set<java.lang.String> constrainedValueList) |
JSONProperty |
setDefValue(java.lang.Object defValue) |
JSONProperty |
setDescription(java.lang.String description) |
JSONProperty |
setESigEnabled(boolean esigEnabled) |
void |
setHasList(boolean hasList) |
JSONProperty |
setItem(JSONSchema item) |
JSONProperty |
setMaximum(java.lang.Double maximum) |
JSONProperty |
setMaxItems(java.lang.Integer maxItems) |
JSONProperty |
setMaxLength(java.lang.Integer maxLength) |
JSONProperty |
setMinimum(java.lang.Double minimum) |
JSONProperty |
setMinItems(java.lang.Integer minItems) |
JSONProperty |
setObjectName(java.lang.String objectName) |
JSONProperty |
setOneOf(com.ibm.json.java.JSONArray oneOf) |
JSONProperty |
setOneOf(java.lang.String one) |
JSONProperty |
setPattern(java.util.regex.Pattern patt) |
void |
setPersistent(java.lang.Boolean persistent) |
JSONProperty |
setPropName(JSONProperty prop,
java.lang.String propName) |
JSONProperty |
setPropName(java.lang.String propName) |
JSONProperty |
setRelation(java.lang.String relation) |
JSONProperty |
setRemarks(java.lang.String remarks) |
JSONProperty |
setRepresentaionType(java.lang.String representaionType) |
JSONProperty |
setRequired(boolean required) |
JSONProperty |
setScale(java.lang.Integer scale) |
JSONProperty |
setSchema(JSONSchema schema) |
void |
setSearchType(java.lang.String searchType) |
JSONProperty |
setSubType(java.lang.String subType) |
JSONProperty |
setTitle(java.lang.String title) |
JSONProperty |
setType(java.lang.String type) |
JSONProperty |
setUsage(java.lang.String... usage) |
JSONProperty |
setUserDefined(java.lang.Boolean userDefined) |
public JSONProperty(java.lang.String propName)
public JSONProperty(java.lang.String propName, boolean persistent)
public java.util.regex.Pattern getPattern()
public JSONProperty setPattern(java.util.regex.Pattern patt)
public java.lang.String getCardinality()
public JSONProperty setCardinality(java.lang.String cardinality)
public java.lang.String getPropName()
public JSONProperty setPropName(java.lang.String propName)
public java.lang.String getType()
public JSONProperty setType(java.lang.String type)
public java.lang.String getDescription()
public JSONProperty setDescription(java.lang.String description)
public java.lang.Object getDefValue()
public JSONProperty setDefValue(java.lang.Object defValue)
public java.lang.String getTitle()
public JSONProperty setTitle(java.lang.String title)
public java.lang.String getRemarks()
public JSONProperty setRemarks(java.lang.String remarks)
public com.ibm.json.java.JSONArray getUsage()
public JSONProperty setUsage(java.lang.String... usage)
public JSONProperty propName(java.lang.String propName)
public JSONProperty addAdditionalProperty(java.lang.String key, java.lang.Object value)
public JSONProperty setPropName(JSONProperty prop, java.lang.String propName)
public void getPropName(JSONProperty prop, java.lang.String propName)
public JSONProperty setItem(JSONSchema item)
public JSONProperty setSchema(JSONSchema schema)
public com.ibm.json.java.JSONArray getOneOf()
public JSONProperty setOneOf(com.ibm.json.java.JSONArray oneOf)
public JSONProperty setOneOf(java.lang.String one)
public java.lang.Integer getScale()
public JSONProperty setScale(java.lang.Integer scale)
public java.lang.Double getMinimum()
public JSONProperty setMinimum(java.lang.Double minimum)
public java.lang.Double getMaximum()
public JSONProperty setMaximum(java.lang.Double maximum)
public java.lang.Integer getMinItems()
public JSONProperty setMinItems(java.lang.Integer minItems)
public java.lang.Integer getMaxItems()
public JSONProperty setMaxItems(java.lang.Integer maxItems)
public java.lang.String getSubType()
public JSONProperty setSubType(java.lang.String subType)
public java.lang.String getRelation()
public JSONProperty setRelation(java.lang.String relation)
public java.lang.String getObjectName()
public JSONProperty setObjectName(java.lang.String objectName)
public java.lang.Integer getMaxLength()
public JSONProperty setMaxLength(java.lang.Integer maxLength)
public java.lang.String getRepresentaionType()
public JSONProperty setRepresentaionType(java.lang.String representaionType)
public java.lang.Boolean getUserDefined()
public JSONProperty setUserDefined(java.lang.Boolean userDefined)
public java.lang.Boolean getESigEnabled()
public JSONProperty setESigEnabled(boolean esigEnabled)
public void setPersistent(java.lang.Boolean persistent)
public java.lang.String getSearchType()
public void setSearchType(java.lang.String searchType)
public void setHasList(boolean hasList)
public java.lang.Boolean hasList()
public com.ibm.json.java.JSONArray getConstrainedValueList()
public void setConstrainedValueList(java.util.Set<java.lang.String> constrainedValueList)
public JSONProperty setRequired(boolean required)
public JSONSchema getItemSchema()
public com.ibm.json.java.JSONObject getJSON()