public class JSONBusinessObjectDTO extends BusinessObjectDTO
BusinessObjectDTO
.Modifier and Type | Field and Description |
---|---|
static Function<JSONBusinessObjectDTO,BusinessObjectDTO> |
unwrap |
static Function<BusinessObjectDTO,JSONBusinessObjectDTO> |
wrap
The Constant wrap.
|
attributes, commentDTO, deleteAllowed, errorMessageLabel, errorMessageLabels, getInstanceId, getTypeId, groups, hasError, instance, isLink, localeDTO, metaAttributes, objects, position, readOnly, richTextDescriptionDTO, subGroups, synchronizeAllowed, type, valueImageUrl
Constructor and Description |
---|
JSONBusinessObjectDTO() |
JSONBusinessObjectDTO(BusinessObjectDTO boDTO)
Instantiates a new JSON business object dto using the given dto template.
|
addObject, compareTo, getAttribute, getAttributeLongValue, getAttributeValue, getAttributeValue, getAttributeValues, getAttributeValues, getCommentDTO, getDALabel, getDAValue, getDAValueLongText, getDAValues, getDSAValueName, getDSAValueNames, getDSAValueThumbnail, getDSAValueThumbnails, getObjects, getRichTextDescriptionDTO, getValueImageUrl, setCommentDTO, setLocaleDTO, setRichTextDescriptionDTO
public static final Function<JSONBusinessObjectDTO,BusinessObjectDTO> unwrap
public static final Function<BusinessObjectDTO,JSONBusinessObjectDTO> wrap
public JSONBusinessObjectDTO()
public JSONBusinessObjectDTO(BusinessObjectDTO boDTO)
null
!boDTO
- the non-null bo dtopublic static JSONBusinessObjectDTO create(Map<String,URI> instanceId, Map<String,URI> typeId)
instanceId
- the instance idtypeId
- the type idpublic Set<JSONBusinessAttributeDTO<? extends BusinessAttribute,?>> getAttributes()
public String getErrorMessageLabel()
public Map<BusinessObject,BusinessAttributeGroup> getGroups()
public String getHasError()
public BusinessObject getInstance()
public boolean getisLInk()
public LocaleDTO getLocaleDTO()
getLocaleDTO
in class BusinessObjectDTO
public Integer getPosition()
public boolean getReadOnly()
public Map<BusinessObject,BusinessAttributeGroup> getSubGroups()
public BusinessType getType()
public void setAttributes(Set<JSONBusinessAttributeDTO<? extends BusinessAttribute,?>> attrs)
attrs
- the attrspublic void setGroups(Map<BusinessObject,BusinessAttributeGroup> grps)
grps
- the grpspublic void setSubGroups(Map<BusinessObject,BusinessAttributeGroup> subGroups)
grps
- the grpspublic String toString()