| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| BusinessObjectBase |
|
| 1.6;1.6 |
| 1 | /* | |
| 2 | * Copyright 2005-2007 The Kuali Foundation | |
| 3 | * | |
| 4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
| 5 | * you may not use this file except in compliance with the License. | |
| 6 | * You may obtain a copy of the License at | |
| 7 | * | |
| 8 | * http://www.opensource.org/licenses/ecl2.php | |
| 9 | * | |
| 10 | * Unless required by applicable law or agreed to in writing, software | |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | * See the License for the specific language governing permissions and | |
| 14 | * limitations under the License. | |
| 15 | */ | |
| 16 | package org.kuali.rice.krad.bo; | |
| 17 | ||
| 18 | import org.apache.commons.lang.builder.ToStringBuilder; | |
| 19 | ||
| 20 | import java.util.LinkedHashMap; | |
| 21 | ||
| 22 | /** | |
| 23 | * Transient Business Object Base Business Object | |
| 24 | */ | |
| 25 | public abstract class BusinessObjectBase implements BusinessObject { | |
| 26 | ||
| 27 | /** | |
| 28 | * Default constructor. Required to do some of the voodoo involved in letting the DataDictionary validate attributeNames for a | |
| 29 | * given BusinessObject subclass. | |
| 30 | */ | |
| 31 | 0 | public BusinessObjectBase() { |
| 32 | 0 | } |
| 33 | ||
| 34 | /** @deprecated will be removed in rice 1.1 */ | |
| 35 | @Deprecated | |
| 36 | protected final String toStringBuilder(LinkedHashMap<String, Object> fieldValues) { | |
| 37 | 0 | throw new UnsupportedOperationException("do not call. this method will be removed from rice 1.1"); |
| 38 | } | |
| 39 | ||
| 40 | /** @deprecated will be removed in rice 1.1 */ | |
| 41 | @Deprecated | |
| 42 | protected final LinkedHashMap<String, Object> toStringMapper() { | |
| 43 | 0 | throw new UnsupportedOperationException("do not call. this method will be removed from rice 1.1"); |
| 44 | } | |
| 45 | ||
| 46 | @Override | |
| 47 | public String toString() { | |
| 48 | 0 | return ToStringBuilder.reflectionToString(this); |
| 49 | } | |
| 50 | ||
| 51 | /** @deprecated will be removed in rice 1.1 */ | |
| 52 | @Deprecated | |
| 53 | public final void prepareForWorkflow() { | |
| 54 | 0 | throw new UnsupportedOperationException("do not call. this method will be removed from rice 1.1"); |
| 55 | } | |
| 56 | } |