public void makeImmutable(){
  if (isMutable) {
    if ((statusCode != null) && (statusCode.isMutable())) {
      statusCode.makeImmutable();
    }
    isMutable=false;
  }
}

public void makeImmutable ( ) { if ( isMutable ) { if ( ( statusCode != null ) && ( statusCode . isMutable ( ) ) ) { statusCode . makeImmutable ( ) ; } isMutable = false ; } }
makes this object immutable .
