hibBIObject.setVisible(new Short(obj.getVisible().shortValue()));
}
hibBIObject.setProfiledVisibility(obj.getProfiledVisibility());
hibBIObject.setRelName(obj.getRelName());
SbiDomains hibState = (SbiDomains) aSession.load(SbiDomains.class, obj.getStateID());
hibBIObject.setState(hibState);
hibBIObject.setStateCode(obj.getStateCode());
SbiDomains hibObjectType = (SbiDomains) aSession.load(SbiDomains.class, obj.getBiObjectTypeID());
hibBIObject.setObjectType(hibObjectType);
hibBIObject.setObjectTypeCode(obj.getBiObjectTypeCode());
SbiDataSource dSource = null;
if (obj.getDataSourceId() != null) {
dSource = (SbiDataSource) aSession.load(SbiDataSource.class, obj.getDataSourceId());