use of org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValue in project dhis2-core by dhis2.
the class DhisConvenienceTest method createTrackedEntityAttributeValue.
public static TrackedEntityAttributeValue createTrackedEntityAttributeValue(char uniqueChar, TrackedEntityInstance entityInstance, TrackedEntityAttribute attribute) {
TrackedEntityAttributeValue attributeValue = new TrackedEntityAttributeValue();
attributeValue.setEntityInstance(entityInstance);
attributeValue.setAttribute(attribute);
attributeValue.setValue("Attribute" + uniqueChar);
return attributeValue;
}
Aggregations