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