AT
- the AttributeType for this AttributeOT
- the type this attribute can belong topublic interface Attribute<AT extends AttributeType,OT extends Customizable<?>> extends OpenmrsData, SingleCustomValue<AT>
AttributeType
, which defines, among other things, whether it
is required, whether it may repeat, and how it is serialized and deserialized for storage.
These attribute types are intended for use cases that would involve adding custom columns to the base
table in a less generic system.
For example Visit has VisitAttributes (which implements AttributeAttributeType
,
Customizable
,
AttributeHandler
Modifier and Type | Method and Description |
---|---|
AT |
getAttributeType() |
OT |
getOwner() |
void |
setOwner(OT owner)
Sets the owner of this attribute
|
getChangedBy, getCreator, getDateChanged, getDateCreated, setChangedBy, setCreator, setDateChanged, setDateCreated
getDateVoided, getVoidedBy, getVoidReason, isVoided, setDateVoided, setVoided, setVoidedBy, setVoidReason
getId, getUuid, setId, setUuid
getDescriptor, getValue, getValueReference, isDirty, setValue, setValueReferenceInternal
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.