com.ibm.tivoli.oslc

Class JSONProperty

  • java.lang.Object
    • com.ibm.tivoli.oslc.JSONProperty


  • public class JSONProperty
    extends java.lang.Object
    • Constructor Detail

      • JSONProperty

        public JSONProperty(java.lang.String propName,
                            boolean oasSchemaCompliance)
      • JSONProperty

        public JSONProperty(java.lang.String propName,
                            boolean persistent,
                            boolean oasSchemaCompliance)
    • Method Detail

      • getPattern

        public java.util.regex.Pattern getPattern()
      • setPattern

        public JSONProperty setPattern(java.util.regex.Pattern patt)
      • getCardinality

        public java.lang.String getCardinality()
      • setCardinality

        public JSONProperty setCardinality(java.lang.String cardinality)
      • getPropName

        public java.lang.String getPropName()
      • setPropName

        public JSONProperty setPropName(java.lang.String propName)
      • getType

        public java.lang.String getType()
      • setType

        public JSONProperty setType(java.lang.String type)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public JSONProperty setDescription(java.lang.String description)
      • getDefValue

        public java.lang.Object getDefValue()
      • setDefValue

        public JSONProperty setDefValue(java.lang.Object defValue)
      • getTitle

        public java.lang.String getTitle()
      • setTitle

        public JSONProperty setTitle(java.lang.String title)
      • getRemarks

        public java.lang.String getRemarks()
      • setRemarks

        public JSONProperty setRemarks(java.lang.String remarks)
      • getUsage

        public com.ibm.json.java.JSONArray getUsage()
      • setUsage

        public JSONProperty setUsage(java.lang.String[] usage)
      • propName

        public JSONProperty propName(java.lang.String propName)
      • addAdditionalProperty

        public JSONProperty addAdditionalProperty(java.lang.String key,
                                                  java.lang.Object value)
      • getPropName

        public void getPropName(JSONProperty prop,
                                java.lang.String propName)
      • getOneOf

        public com.ibm.json.java.JSONArray getOneOf()
      • setOneOf

        public JSONProperty setOneOf(com.ibm.json.java.JSONArray oneOf)
      • setOneOf

        public JSONProperty setOneOf(java.lang.String one)
      • getScale

        public java.lang.Integer getScale()
      • setScale

        public JSONProperty setScale(java.lang.Integer scale)
      • getMinimum

        public java.lang.Double getMinimum()
      • setMinimum

        public JSONProperty setMinimum(java.lang.Double minimum)
      • getMaximum

        public java.lang.Double getMaximum()
      • setMaximum

        public JSONProperty setMaximum(java.lang.Double maximum)
      • getMinItems

        public java.lang.Integer getMinItems()
      • setMinItems

        public JSONProperty setMinItems(java.lang.Integer minItems)
      • getMaxItems

        public java.lang.Integer getMaxItems()
      • setMaxItems

        public JSONProperty setMaxItems(java.lang.Integer maxItems)
      • getSubType

        public java.lang.String getSubType()
      • setSubType

        public JSONProperty setSubType(java.lang.String subType)
      • getRelation

        public java.lang.String getRelation()
      • setRelation

        public JSONProperty setRelation(java.lang.String relation)
      • getObjectName

        public java.lang.String getObjectName()
      • setObjectName

        public JSONProperty setObjectName(java.lang.String objectName)
      • getMaxLength

        public java.lang.Integer getMaxLength()
      • setMaxLength

        public JSONProperty setMaxLength(java.lang.Integer maxLength)
      • getRepresentaionType

        public java.lang.String getRepresentaionType()
      • setRepresentaionType

        public JSONProperty setRepresentaionType(java.lang.String representaionType)
      • getUserDefined

        public java.lang.Boolean getUserDefined()
      • setUserDefined

        public JSONProperty setUserDefined(java.lang.Boolean userDefined)
      • getESigEnabled

        public java.lang.Boolean getESigEnabled()
      • setESigEnabled

        public JSONProperty setESigEnabled(boolean esigEnabled)
      • setPersistent

        public JSONProperty setPersistent(java.lang.Boolean persistent)
      • getSearchType

        public java.lang.String getSearchType()
      • setSearchType

        public JSONProperty setSearchType(java.lang.String searchType)
      • setHasList

        public JSONProperty setHasList(boolean hasList)
      • hasList

        public java.lang.Boolean hasList()
      • getConstrainedValueList

        public com.ibm.json.java.JSONArray getConstrainedValueList()
      • setConstrainedValueList

        public void setConstrainedValueList(java.util.Set constrainedValueList)
      • setRequired

        public JSONProperty setRequired(boolean required)
      • getItemSchema

        public JSONSchema getItemSchema()
      • getJSON

        public com.ibm.json.java.JSONObject getJSON()
      • isOasSchemaCompliance

        public boolean isOasSchemaCompliance()
      • setOasSchemaCompliance

        public void setOasSchemaCompliance(boolean oasSchemaCompliance)