parse static method
Parses the given textValue
Implementation
static Relationship parse(String textValue) {
switch (textValue) {
case 'PARENT':
return Relationship.parent;
case 'CHILD':
return Relationship.child;
case 'SIBLING':
return Relationship.sibling;
default:
return Relationship.other;
}
}