|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.LexBIG.Impl.testUtility.DataTestUtils
public class DataTestUtils
The Class DataTestUtils.
Constructor Summary | |
---|---|
DataTestUtils()
|
Method Summary | ||
---|---|---|
static Association |
getAssociation(Association[] assocs,
java.lang.String associationName)
Gets the association. |
|
static
|
getConceptReference(T[] concepts,
java.lang.String code)
Gets the associated concept. |
|
static java.util.List<Property> |
getPropertiesFromEntity(Entity entity,
java.lang.String propertyName)
Gets the properties from entity. |
|
static java.util.List<PropertyQualifier> |
getPropertyQualifiersFromProperty(Property prop,
java.lang.String qualifierName)
Gets the property qualifiers from property. |
|
static Property |
getPropertyWithId(Property[] properties,
java.lang.String id)
|
|
static Property |
getPropertyWithValue(Entity entity,
java.lang.String value)
|
|
static Property |
getPropertyWithValue(Property[] properties,
java.lang.String value)
|
|
static boolean |
isAssociatedConceptPresent(AssociatedConcept[] assocConcepts,
java.lang.String code)
|
|
static boolean |
isConceptReferencePresent(java.util.List<? extends ConceptReference> refs,
java.lang.String code)
|
|
static boolean |
isConceptReferencePresent(ResolvedConceptReferenceList refs,
java.lang.String code)
|
|
static boolean |
isPropertyWithValuePresent(Entity entity,
java.lang.String propertyName,
java.lang.String propertyValue)
|
|
static boolean |
isQualifierNameAndValuePresent(java.lang.String qualifierName,
java.lang.String qualifierValue,
NameAndValueList list)
Checks if is qualifier name and value present. |
|
static boolean |
isQualifierNameAndValuePresentInProperty(java.lang.String qualifierName,
java.lang.String qualifierValue,
Property property)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataTestUtils()
Method Detail |
---|
public static java.util.List<Property> getPropertiesFromEntity(Entity entity, java.lang.String propertyName)
entity
- the entitypropertyName
- the property name
public static Property getPropertyWithValue(Property[] properties, java.lang.String value)
public static Property getPropertyWithId(Property[] properties, java.lang.String id)
public static Property getPropertyWithValue(Entity entity, java.lang.String value)
public static java.util.List<PropertyQualifier> getPropertyQualifiersFromProperty(Property prop, java.lang.String qualifierName)
prop
- the propqualifierName
- the qualifier name
public static Association getAssociation(Association[] assocs, java.lang.String associationName)
assocs
- the assocsassociationName
- the association name
public static <T extends ConceptReference> T getConceptReference(T[] concepts, java.lang.String code)
assocConcepts
- the assoc conceptscode
- the code
public static boolean isPropertyWithValuePresent(Entity entity, java.lang.String propertyName, java.lang.String propertyValue)
public static boolean isAssociatedConceptPresent(AssociatedConcept[] assocConcepts, java.lang.String code)
public static boolean isConceptReferencePresent(java.util.List<? extends ConceptReference> refs, java.lang.String code)
public static boolean isConceptReferencePresent(ResolvedConceptReferenceList refs, java.lang.String code)
public static boolean isQualifierNameAndValuePresent(java.lang.String qualifierName, java.lang.String qualifierValue, NameAndValueList list)
qualifierName
- the qualifier namequalifierValue
- the qualifier valuelist
- the list
public static boolean isQualifierNameAndValuePresentInProperty(java.lang.String qualifierName, java.lang.String qualifierValue, Property property)
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |