Example #1
0
 public void setPrimaryDescription(String description) {
   CXLocalizedValue primaryDescription = getLocalizedDescription();
   CXMutableLocalizedValue localDescription =
       (primaryDescription == null)
           ? new CXMutableLocalizedValue()
           : primaryDescription.mutableClone();
   localDescription.setPrimaryValue(description);
   setLocalizedDescription(localDescription);
 }
Example #2
0
 public String getPrimaryDescription() {
   CXLocalizedValue primaryDescription = getLocalizedDescription();
   return (primaryDescription == null) ? null : (String) primaryDescription.primaryValue();
 }