toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Origin.owned:
      return 'OWNED';
    case Origin.entitled:
      return 'ENTITLED';
  }
}