public String getStatusCode() { if (status != null) { return status.getCode(); } else { return null; } }
public void setStatusCode(String statusCode) { String oldValue = null; if (status != null) { oldValue = status.getCode(); } setStatus(CacheManager.getBeanByCode(CacheManager.getRegistrationStatusTypes(), statusCode)); propertySupport.firePropertyChange(STATUS_CODE_PROPERTY, oldValue, statusCode); }