public void makeImmutable(){
  if (isMutable) {
    if (subjectConfirmationData != null) {
      subjectConfirmationData.makeImmutable();
    }
    if (baseId != null) {
      baseId.makeImmutable();
    }
    if (nameId != null) {
      nameId.makeImmutable();
    }
    isMutable=false;
  }
}

public void makeImmutable ( ) { if ( isMutable ) { if ( subjectConfirmationData != null ) { subjectConfirmationData . makeImmutable ( ) ; } if ( baseId != null ) { baseId . makeImmutable ( ) ; } if ( nameId != null ) { nameId . makeImmutable ( ) ; } isMutable = false ; } }
makes the object immutable
