/**
  * Setter for the CodeGroupOwner.
  *
  * @param newOwner the String.
  */
 public void setCodeGroupOwner(String newOwner) {
   if (((codeGroup != null) && (codeGroup.getOwner() == null))) {
     Owner owner = new Owner();
     codeGroup.setOwner(owner);
   }
   String oldVal = codeGroup.getOwner().getValue();
   codeGroup.getOwner().setValue(newOwner);
   this.updateProperty(PROPERTY_CODEGROUP_OWNER, oldVal, newOwner);
   if (((!oldVal.equals(newOwner))
       && codeGroup.getDatatypeState().equals(DatatypeState.PERSISTENT))) {
     codeGroup.setDatatypeState(DatatypeState.MODIFIED);
   }
 }
 /**
  * Setter for the CodeGroupName.
  *
  * @param newName the String.
  */
 public void setCodeGroupName(String newName) {
   if (((codeGroup != null) && (codeGroup.getName() == null))) {
     Name name = new Name();
     codeGroup.setName(name);
   }
   String oldVal = codeGroup.getName().getValue();
   codeGroup.getName().setValue(newName);
   this.updateProperty(PROPERTY_CODEGROUP_NAME, oldVal, newName);
   if (((!oldVal.equals(newName))
       && codeGroup.getDatatypeState().equals(DatatypeState.PERSISTENT))) {
     codeGroup.setDatatypeState(DatatypeState.MODIFIED);
   }
 }
 /**
  * Setter for the CodeGroupDescription.
  *
  * @param newDescription the String.
  */
 public void setCodeGroupDescription(String newDescription) {
   if (((codeGroup != null) && (codeGroup.getDescription() == null))) {
     Description description = new Description();
     codeGroup.setDescription(description);
   }
   String oldVal = codeGroup.getDescription().getValue();
   codeGroup.getDescription().setValue(newDescription);
   this.updateProperty(PROPERTY_CODEGROUP_DESCRIPTION, oldVal, newDescription);
   if (((!oldVal.equals(newDescription))
       && codeGroup.getDatatypeState().equals(DatatypeState.PERSISTENT))) {
     codeGroup.setDatatypeState(DatatypeState.MODIFIED);
   }
 }