Package org.labkey.remoteapi.domain
Class PropertyDescriptor
java.lang.Object
org.labkey.remoteapi.ResponseObject
org.labkey.remoteapi.domain.PropertyDescriptor
-
Field Summary
Fields inherited from class org.labkey.remoteapi.ResponseObject
_allProperties
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyDescriptor
(String name, String rangeURI) PropertyDescriptor
(String name, String label, String rangeURI) PropertyDescriptor
(org.json.JSONObject json) -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
getName()
getPHI()
setConditionalFormats
(List<ConditionalFormat> conditionalFormats) void
setDerivationDataScope
(String derivationDataScope) setDescription
(String description) setDimension
(Boolean dimension) Convenience function for creating lookupssetMeasure
(Boolean measure) setMvEnabled
(Boolean mvEnabled) void
setPropertyId
(Long propertyId) setPropertyURI
(String propertyURI) setRangeURI
(String rangeURI) setRequired
(Boolean required) org.json.JSONObject
org.json.JSONObject
toJSONObject
(boolean forProtocol) Methods inherited from class org.labkey.remoteapi.ResponseObject
getAllProperties
-
Constructor Details
-
PropertyDescriptor
public PropertyDescriptor() -
PropertyDescriptor
-
PropertyDescriptor
-
PropertyDescriptor
public PropertyDescriptor(org.json.JSONObject json)
-
-
Method Details
-
toJSONObject
public org.json.JSONObject toJSONObject() -
toJSONObject
public org.json.JSONObject toJSONObject(boolean forProtocol) -
setLookup
Convenience function for creating lookups- Parameters:
schema
- the schema for the lookupquery
- the query for the lookupcontainer
- set to null for current folder- Returns:
- property descriptor for the lookup in the given container for the given schema and query
-
getName
-
setName
-
getLabel
-
setLabel
-
getDescription
-
setDescription
-
getHidden
-
setHidden
-
getRequired
-
setRequired
-
getPHI
-
setPHI
-
getPropertyId
-
setPropertyId
-
getFormat
-
setFormat
-
getMeasure
-
setMeasure
-
getDimension
-
setDimension
-
getPropertyURI
-
setPropertyURI
-
getRangeURI
-
setRangeURI
-
getMvEnabled
-
setMvEnabled
-
setConditionalFormats
-
getConditionalFormats
-
getDerivationDataScope
-
setDerivationDataScope
-