Coverage Report - org.kuali.rice.kim.bo.impl.KimAttributes
 
Classes in this File Line Coverage Branch Coverage Complexity
KimAttributes
0%
0/99
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007-2008 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.kim.bo.impl;
 17  
 
 18  
 import java.util.LinkedHashMap;
 19  
 
 20  
 import org.kuali.rice.kew.doctype.bo.DocumentType;
 21  
 import org.kuali.rice.kim.util.KIMPropertyConstants;
 22  
 import org.kuali.rice.kim.util.KimConstants;
 23  
 import org.kuali.rice.kns.bo.Campus;
 24  
 import org.kuali.rice.kns.bo.Parameter;
 25  
 import org.kuali.rice.kns.bo.ParameterDetailType;
 26  
 import org.kuali.rice.kns.bo.Namespace;
 27  
 import org.kuali.rice.kns.bo.TransientBusinessObjectBase;
 28  
 
 29  
 /**
 30  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 31  
  */
 32  0
 public class KimAttributes extends TransientBusinessObjectBase {
 33  
 
 34  
         private static final long serialVersionUID = 8976113842166331719L;
 35  
 
 36  
         public static final String PRINCIPAL_ID = KIMPropertyConstants.Person.PRINCIPAL_ID;
 37  
         
 38  
         public static final String BUTTON_NAME = "buttonName";
 39  
         public static final String BEAN_NAME = "beanName";
 40  
         public static final String ACTION_CLASS = "actionClass";
 41  
         public static final String NAMESPACE_CODE = "namespaceCode";
 42  
         public static final String COMPONENT_NAME = "componentName";
 43  
         public static final String PROPERTY_NAME = "propertyName";
 44  
         public static final String EXISTING_RECORDS_ONLY = "existingRecordsOnly";
 45  
         public static final String CREATED_BY_SELF = "createdBySelf";
 46  
         public static final String CREATED_BY_SELF_ONLY = "createdBySelfOnly";
 47  
         public static final String ATTACHMENT_TYPE_CODE = "attachmentTypeCode";
 48  
         public static final String EDIT_MODE = "editMode";
 49  
         public static final String PARAMETER_NAME = "parameterName";
 50  
         public static final String CAMPUS_CODE = "campusCode";
 51  
         public static final String ACTION_REQUEST_CD = "actionRequestCd";
 52  
         public static final String ROUTE_STATUS_CODE = "routeStatusCode";
 53  
         public static final String ROUTE_NODE_NAME = "routeNodeName";
 54  
         public static final String ROLE_NAME = "roleName";
 55  
         public static final String PERMISSION_NAME = "permissionName";
 56  
         public static final String RESPONSIBILITY_NAME = "responsibilityName";
 57  
         public static final String GROUP_NAME = "groupName";
 58  
         public static final String REQUIRED = "required";
 59  
         public static final String ACTION_DETAILS_AT_ROLE_MEMBER_LEVEL = "actionDetailsAtRoleMemberLevel";
 60  
         public static final String DOCUMENT_NUMBER = "documentNumber";        
 61  
         public static final String DOCUMENT_TYPE_NAME = "documentTypeName";
 62  
         public static final String SECTION_ID = "sectionId";
 63  
         public static final String KIM_TYPE_ID = KimConstants.PrimaryKeyConstants.KIM_TYPE_ID;
 64  
         public static final String QUALIFIER_RESOLVER_PROVIDED_IDENTIFIER = "qualifierResolverProvidedIdentifier";
 65  
         
 66  
         protected String methodToCall;
 67  
         protected String beanName;
 68  
         protected String actionClass;
 69  
         protected String namespaceCode;
 70  
         protected String componentName;
 71  
         protected String propertyName;
 72  
         protected Boolean existingRecordsOnly;
 73  
         protected Boolean createdBySelfOnly;
 74  
         protected String attachmentTypeCode;
 75  
         protected String collectionItemTypeCode;
 76  
         protected String editMode;
 77  
         protected String parameterName;
 78  
         protected String campusCode;
 79  
         protected String documentTypeName;
 80  
         protected String actionRequestCd;
 81  
         protected String routeStatusCode;
 82  
         protected String routeNodeName;
 83  
         protected String roleName;
 84  
         protected String permissionName;
 85  
         protected String responsibilityName;
 86  
         protected String groupName;
 87  
         protected Boolean required;
 88  
         protected Boolean actionDetailsAtRoleMemberLevel;
 89  
         protected String documentNumber;
 90  
         protected String sectionId;
 91  
         protected String kimTypeId;
 92  
         protected String qualifierResolverProvidedIdentifier;
 93  
         
 94  
         protected Campus campus;
 95  
         protected Namespace parameterNamespace;
 96  
         protected ParameterDetailType parameterDetailType;
 97  
         protected Parameter parameter;
 98  
         protected DocumentType documentType;
 99  
 
 100  
         /**
 101  
          * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
 102  
          */
 103  
         @SuppressWarnings("unchecked")
 104  
         @Override
 105  
         protected LinkedHashMap toStringMapper() {
 106  0
                 LinkedHashMap m = new LinkedHashMap();
 107  0
                 return m;
 108  
         }
 109  
 
 110  
         /**
 111  
          * @return the methodToCall
 112  
          */
 113  
         public String getMethodToCall() {
 114  0
                 return this.methodToCall;
 115  
         }
 116  
 
 117  
         /**
 118  
          * @param methodToCall
 119  
          *            the methodToCall to set
 120  
          */
 121  
         public void setMethodToCall(String methodToCall) {
 122  0
                 this.methodToCall = methodToCall;
 123  0
         }
 124  
 
 125  
         /**
 126  
          * @return the beanName
 127  
          */
 128  
         public String getBeanName() {
 129  0
                 return this.beanName;
 130  
         }
 131  
 
 132  
         /**
 133  
          * @param beanName
 134  
          *            the beanName to set
 135  
          */
 136  
         public void setBeanName(String beanName) {
 137  0
                 this.beanName = beanName;
 138  0
         }
 139  
 
 140  
         /**
 141  
          * @return the actionClass
 142  
          */
 143  
         public String getActionClass() {
 144  0
                 return this.actionClass;
 145  
         }
 146  
 
 147  
         /**
 148  
          * @param actionClass
 149  
          *            the actionClass to set
 150  
          */
 151  
         public void setActionClass(String actionClass) {
 152  0
                 this.actionClass = actionClass;
 153  0
         }
 154  
 
 155  
         /**
 156  
          * @return the namespaceCode
 157  
          */
 158  
         public String getNamespaceCode() {
 159  0
                 return this.namespaceCode;
 160  
         }
 161  
 
 162  
         /**
 163  
          * @param namespaceCode
 164  
          *            the namespaceCode to set
 165  
          */
 166  
         public void setNamespaceCode(String namespaceCode) {
 167  0
                 this.namespaceCode = namespaceCode;
 168  0
         }
 169  
 
 170  
         /**
 171  
          * @return the componentName
 172  
          */
 173  
         public String getComponentName() {
 174  0
                 return this.componentName;
 175  
         }
 176  
 
 177  
         /**
 178  
          * @param componentName
 179  
          *            the componentName to set
 180  
          */
 181  
         public void setComponentName(String componentName) {
 182  0
                 this.componentName = componentName;
 183  0
         }
 184  
 
 185  
         /**
 186  
          * @return the propertyName
 187  
          */
 188  
         public String getPropertyName() {
 189  0
                 return this.propertyName;
 190  
         }
 191  
 
 192  
         /**
 193  
          * @param propertyName
 194  
          *            the propertyName to set
 195  
          */
 196  
         public void setPropertyName(String propertyName) {
 197  0
                 this.propertyName = propertyName;
 198  0
         }
 199  
 
 200  
         /**
 201  
          * @return the collectionItemTypeCode
 202  
          */
 203  
         public String getCollectionItemTypeCode() {
 204  0
                 return this.collectionItemTypeCode;
 205  
         }
 206  
 
 207  
         /**
 208  
          * @param collectionItemTypeCode
 209  
          *            the collectionItemTypeCode to set
 210  
          */
 211  
         public void setCollectionItemTypeCode(String collectionItemTypeCode) {
 212  0
                 this.collectionItemTypeCode = collectionItemTypeCode;
 213  0
         }
 214  
 
 215  
         /**
 216  
          * @return the editMode
 217  
          */
 218  
         public String getEditMode() {
 219  0
                 return this.editMode;
 220  
         }
 221  
 
 222  
         /**
 223  
          * @param editMode
 224  
          *            the editMode to set
 225  
          */
 226  
         public void setEditMode(String editMode) {
 227  0
                 this.editMode = editMode;
 228  0
         }
 229  
 
 230  
         /**
 231  
          * @return the parameterName
 232  
          */
 233  
         public String getParameterName() {
 234  0
                 return this.parameterName;
 235  
         }
 236  
 
 237  
         /**
 238  
          * @param parameterName
 239  
          *            the parameterName to set
 240  
          */
 241  
         public void setParameterName(String parameterName) {
 242  0
                 this.parameterName = parameterName;
 243  0
         }
 244  
 
 245  
         /**
 246  
          * @return the campusCode
 247  
          */
 248  
         public String getCampusCode() {
 249  0
                 return this.campusCode;
 250  
         }
 251  
 
 252  
         /**
 253  
          * @param campusCode
 254  
          *            the campusCode to set
 255  
          */
 256  
         public void setCampusCode(String campusCode) {
 257  0
                 this.campusCode = campusCode;
 258  0
         }
 259  
 
 260  
         /**
 261  
          * @return the documentTypeName
 262  
          */
 263  
         public String getDocumentTypeName() {
 264  0
                 return this.documentTypeName;
 265  
         }
 266  
 
 267  
         /**
 268  
          * @param documentTypeName
 269  
          *            the documentTypeName to set
 270  
          */
 271  
         public void setDocumentTypeName(String documentTypeName) {
 272  0
                 this.documentTypeName = documentTypeName;
 273  0
         }
 274  
 
 275  
         /**
 276  
          * @return the actionRequestCd
 277  
          */
 278  
         public String getActionRequestCd() {
 279  0
                 return this.actionRequestCd;
 280  
         }
 281  
 
 282  
         /**
 283  
          * @param actionRequestCd
 284  
          *            the actionRequestCd to set
 285  
          */
 286  
         public void setActionRequestCd(String actionRequestCd) {
 287  0
                 this.actionRequestCd = actionRequestCd;
 288  0
         }
 289  
 
 290  
         /**
 291  
          * @return the routeStatusCode
 292  
          */
 293  
         public String getRouteStatusCode() {
 294  0
                 return this.routeStatusCode;
 295  
         }
 296  
 
 297  
         /**
 298  
          * @param routeStatusCode
 299  
          *            the routeStatusCode to set
 300  
          */
 301  
         public void setRouteStatusCode(String routeStatusCode) {
 302  0
                 this.routeStatusCode = routeStatusCode;
 303  0
         }
 304  
 
 305  
         /**
 306  
          * @return the routeNodeName
 307  
          */
 308  
         public String getRouteNodeName() {
 309  0
                 return this.routeNodeName;
 310  
         }
 311  
 
 312  
         /**
 313  
          * @param routeNodeName
 314  
          *            the routeNodeName to set
 315  
          */
 316  
         public void setRouteNodeName(String routeNodeName) {
 317  0
                 this.routeNodeName = routeNodeName;
 318  0
         }
 319  
 
 320  
         /**
 321  
          * @return the roleName
 322  
          */
 323  
         public String getRoleName() {
 324  0
                 return this.roleName;
 325  
         }
 326  
 
 327  
         /**
 328  
          * @param roleName
 329  
          *            the roleName to set
 330  
          */
 331  
         public void setRoleName(String roleName) {
 332  0
                 this.roleName = roleName;
 333  0
         }
 334  
 
 335  
         /**
 336  
          * @return the permissionName
 337  
          */
 338  
         public String getPermissionName() {
 339  0
                 return this.permissionName;
 340  
         }
 341  
 
 342  
         /**
 343  
          * @param permissionName
 344  
          *            the permissionName to set
 345  
          */
 346  
         public void setPermissionName(String permissionName) {
 347  0
                 this.permissionName = permissionName;
 348  0
         }
 349  
 
 350  
         /**
 351  
          * @return the responsibilityName
 352  
          */
 353  
         public String getResponsibilityName() {
 354  0
                 return this.responsibilityName;
 355  
         }
 356  
 
 357  
         /**
 358  
          * @param responsibilityName
 359  
          *            the responsibilityName to set
 360  
          */
 361  
         public void setResponsibilityName(String responsibilityName) {
 362  0
                 this.responsibilityName = responsibilityName;
 363  0
         }
 364  
 
 365  
         /**
 366  
          * @return the groupName
 367  
          */
 368  
         public String getGroupName() {
 369  0
                 return this.groupName;
 370  
         }
 371  
 
 372  
         /**
 373  
          * @param groupName
 374  
          *            the groupName to set
 375  
          */
 376  
         public void setGroupName(String groupName) {
 377  0
                 this.groupName = groupName;
 378  0
         }
 379  
 
 380  
         /**
 381  
          * @return the documentNumber
 382  
          */
 383  
         public String getDocumentNumber() {
 384  0
                 return this.documentNumber;
 385  
         }
 386  
 
 387  
         /**
 388  
          * @param documentNumber
 389  
          *            the documentNumber to set
 390  
          */
 391  
         public void setDocumentNumber(String documentNumber) {
 392  0
                 this.documentNumber = documentNumber;
 393  0
         }
 394  
 
 395  
         /**
 396  
          * @return the existingRecordsOnly
 397  
          */
 398  
         public Boolean isExistingRecordsOnly() {
 399  0
                 return this.existingRecordsOnly;
 400  
         }
 401  
 
 402  
         /**
 403  
          * @param existingRecordsOnly the existingRecordsOnly to set
 404  
          */
 405  
         public void setExistingRecordsOnly(Boolean existingRecordsOnly) {
 406  0
                 this.existingRecordsOnly = existingRecordsOnly;
 407  0
         }
 408  
 
 409  
         /**
 410  
          * @return the createdBySelfOnly
 411  
          */
 412  
         public Boolean isCreatedBySelfOnly() {
 413  0
                 return this.createdBySelfOnly;
 414  
         }
 415  
 
 416  
         /**
 417  
          * @param createdBySelfOnly the createdBySelfOnly to set
 418  
          */
 419  
         public void setCreatedBySelfOnly(Boolean createdBySelfOnly) {
 420  0
                 this.createdBySelfOnly = createdBySelfOnly;
 421  0
         }
 422  
 
 423  
         /**
 424  
          * @return the required
 425  
          */
 426  
         public Boolean isRequired() {
 427  0
                 return this.required;
 428  
         }
 429  
 
 430  
         /**
 431  
          * @param required the required to set
 432  
          */
 433  
         public void setRequired(Boolean required) {
 434  0
                 this.required = required;
 435  0
         }
 436  
 
 437  
         /**
 438  
          * @return the actionDetailsAtRoleMemberLevel
 439  
          */
 440  
         public Boolean isActionDetailsAtRoleMemberLevel() {
 441  0
                 return this.actionDetailsAtRoleMemberLevel;
 442  
         }
 443  
 
 444  
         /**
 445  
          * @param actionDetailsAtRoleMemberLevel the actionDetailsAtRoleMemberLevel to set
 446  
          */
 447  
         public void setActionDetailsAtRoleMemberLevel(
 448  
                         Boolean actionDetailsAtRoleMemberLevel) {
 449  0
                 this.actionDetailsAtRoleMemberLevel = actionDetailsAtRoleMemberLevel;
 450  0
         }
 451  
 
 452  
         public String getSectionId() {
 453  0
                 return this.sectionId;
 454  
         }
 455  
 
 456  
         public void setSectionId(String sectionId) {
 457  0
                 this.sectionId = sectionId;
 458  0
         }
 459  
 
 460  
         public Campus getCampus() {
 461  0
                 return this.campus;
 462  
         }
 463  
 
 464  
         public void setCampus(Campus campus) {
 465  0
                 this.campus = campus;
 466  0
         }
 467  
 
 468  
         public Namespace getParameterNamespace() {
 469  0
                 return this.parameterNamespace;
 470  
         }
 471  
 
 472  
         public void setParameterNamespace(Namespace parameterNamespace) {
 473  0
                 this.parameterNamespace = parameterNamespace;
 474  0
         }
 475  
 
 476  
         public ParameterDetailType getParameterDetailType() {
 477  0
                 return this.parameterDetailType;
 478  
         }
 479  
 
 480  
         public void setParameterDetailType(ParameterDetailType parameterDetailType) {
 481  0
                 this.parameterDetailType = parameterDetailType;
 482  0
         }
 483  
 
 484  
         public Parameter getParameter() {
 485  0
                 return this.parameter;
 486  
         }
 487  
 
 488  
         public void setParameter(Parameter parameter) {
 489  0
                 this.parameter = parameter;
 490  0
         }
 491  
 
 492  
         public DocumentType getDocumentType() {
 493  0
                 return this.documentType;
 494  
         }
 495  
 
 496  
         public void setDocumentType(DocumentType documentType) {
 497  0
                 this.documentType = documentType;
 498  0
         }
 499  
 
 500  
         public String getKimTypeId() {
 501  0
                 return this.kimTypeId;
 502  
         }
 503  
 
 504  
         public void setKimTypeId(String kimTypeId) {
 505  0
                 this.kimTypeId = kimTypeId;
 506  0
         }
 507  
 
 508  
         public String getQualifierResolverProvidedIdentifier() {
 509  0
                 return qualifierResolverProvidedIdentifier;
 510  
         }
 511  
 
 512  
         public void setQualifierResolverProvidedIdentifier(String qualifierResolverProvidedIdentifier) {
 513  0
                 this.qualifierResolverProvidedIdentifier = qualifierResolverProvidedIdentifier;
 514  0
         }
 515  
 
 516  
         /**
 517  
          * @return the attachmentTypeCode
 518  
          */
 519  
         public String getAttachmentTypeCode() {
 520  0
                 return this.attachmentTypeCode;
 521  
         }
 522  
 
 523  
         /**
 524  
          * @param attachmentTypeCode the attachmentTypeCode to set
 525  
          */
 526  
         public void setAttachmentTypeCode(String attachmentTypeCode) {
 527  0
                 this.attachmentTypeCode = attachmentTypeCode;
 528  0
         }
 529  
         
 530  
 }