示例#1
0
 /**
  * Get a human-readable string representation of the content item.
  *
  * @return the string representation of the content item
  */
 public String toString() {
   return (relationshipType == null ? "" : relationshipType)
       + ": "
       + (valueType == null || valueType.length() == 0 ? "" : (valueType + ": "))
       + (conceptName == null ? "" : conceptName.getCodeMeaning());
 }
示例#2
0
 /**
  * Get the value of the code meaning of the Concept Name as a string, if present and applicable.
  *
  * @return the code meaning of the Concept Name, or an empty string
  */
 public String getConceptNameCodeMeaning() {
   return conceptName == null ? "" : conceptName.getCodeMeaning();
 }