Changeset 4189 for openmrs/trunk/src/api/org/openmrs/Concept.java
- Timestamp:
- 05/13/08 13:12:05 (6 months ago)
- Files:
-
- openmrs/trunk/src/api/org/openmrs/Concept.java (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/trunk/src/api/org/openmrs/Concept.java
r4158 r4189 553 553 554 554 555 /** 556 * @see org.openmrs.Attributable#findPossibleValues(java.lang.String) 557 */ 555 558 public List<Concept> findPossibleValues(String searchText) { 556 559 List<Concept> concepts = new Vector<Concept>(); … … 567 570 568 571 572 /** 573 * @see org.openmrs.Attributable#getPossibleValues() 574 */ 569 575 public List<Concept> getPossibleValues() { 570 576 try { … … 578 584 579 585 586 /** 587 * @see org.openmrs.Attributable#hydrate(java.lang.String) 588 */ 580 589 public Concept hydrate(String s) { 581 590 try { … … 589 598 590 599 600 /** 601 * @see org.openmrs.Attributable#serialize() 602 */ 591 603 public String serialize() { 592 604 return "" + this.getConceptId(); 593 605 } 606 607 /** 608 * @see org.openmrs.Attributable#getDisplayString() 609 */ 610 public String getDisplayString() { 611 if (getName() == null) 612 return toString(); 613 else 614 return getName().getName(); 615 } 594 616 595 617