toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AssociationEdgeType.contributedTo:
      return 'ContributedTo';
    case AssociationEdgeType.associatedWith:
      return 'AssociatedWith';
    case AssociationEdgeType.derivedFrom:
      return 'DerivedFrom';
    case AssociationEdgeType.produced:
      return 'Produced';
  }
}