public class JSONBusinessTypeDTO extends BusinessTypeDTO
BusinessTypeDTO
.Modifier and Type | Field and Description |
---|---|
static Function<BusinessTypeDTO,JSONBusinessTypeDTO> |
wrap
The Constant wrap.
|
attributes, getTypeId, objectDTOs, type
Constructor and Description |
---|
JSONBusinessTypeDTO(BusinessTypeDTO btDTO)
Instantiates a new JSON business type dto.
|
Modifier and Type | Method and Description |
---|---|
static JSONBusinessTypeDTO |
create(Map<String,URI> typeId)
Creates the.
|
Set<JSONBusinessAttributeDTO<? extends BusinessAttribute,?>> |
getAttributes()
Gets the attributes.
|
Set<JSONBusinessObjectDTO> |
getObjectDTOs()
Gets the objectDTOs.
|
BusinessType |
getType()
Gets the type.
|
void |
setAttributes(Set<JSONBusinessAttributeDTO<? extends BusinessAttribute,?>> attrs)
Sets the attributes.
|
void |
setObjectDTOs(Set<JSONBusinessObjectDTO> jsonObjectDTOs)
Sets the objectDTOs.
|
public static final Function<BusinessTypeDTO,JSONBusinessTypeDTO> wrap
public JSONBusinessTypeDTO(BusinessTypeDTO btDTO)
btDTO
- the bt dtopublic static JSONBusinessTypeDTO create(Map<String,URI> typeId)
instanceId
- the instance idtypeId
- the type idpublic Set<JSONBusinessAttributeDTO<? extends BusinessAttribute,?>> getAttributes()
public Set<JSONBusinessObjectDTO> getObjectDTOs()
public BusinessType getType()
public void setAttributes(Set<JSONBusinessAttributeDTO<? extends BusinessAttribute,?>> attrs)
attrs
- the attrspublic void setObjectDTOs(Set<JSONBusinessObjectDTO> jsonObjectDTOs)
objectDTOs
- the objectDTOs