001 /* 002 * Copyright 2011 The Kuali Foundation. 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package org.kuali.kfs.sec.identity; 017 018 import java.util.LinkedHashMap; 019 020 import org.kuali.kfs.sys.identity.KfsKimAttributes; 021 022 public class SecKimAttributes extends KfsKimAttributes { 023 public static final String CONSTRAINT_CODE = "constraintCode"; 024 public static final String OPERATOR = "operator"; 025 public static final String PROPERTY_VALUE = "propertyValue"; 026 public static final String OVERRIDE_DENY = "overrideDeny"; 027 028 protected String constraintCode; 029 protected String operator; 030 protected String propertyValue; 031 protected String overrideDeny; 032 033 /** 034 * Gets the constraintCode attribute. 035 * 036 * @return Returns the constraintCode. 037 */ 038 public String getConstraintCode() { 039 return constraintCode; 040 } 041 042 043 /** 044 * Sets the constraintCode attribute value. 045 * 046 * @param constraintCode The constraintCode to set. 047 */ 048 public void setConstraintCode(String constraintCode) { 049 this.constraintCode = constraintCode; 050 } 051 052 053 /** 054 * Gets the operator attribute. 055 * 056 * @return Returns the operator. 057 */ 058 public String getOperator() { 059 return operator; 060 } 061 062 063 /** 064 * Sets the operator attribute value. 065 * 066 * @param operator The operator to set. 067 */ 068 public void setOperator(String operator) { 069 this.operator = operator; 070 } 071 072 073 /** 074 * Gets the propertyValue attribute. 075 * 076 * @return Returns the propertyValue. 077 */ 078 public String getPropertyValue() { 079 return propertyValue; 080 } 081 082 083 /** 084 * Sets the propertyValue attribute value. 085 * 086 * @param propertyValue The propertyValue to set. 087 */ 088 public void setPropertyValue(String propertyValue) { 089 this.propertyValue = propertyValue; 090 } 091 092 093 /** 094 * Gets the overrideDeny attribute. 095 * 096 * @return Returns the overrideDeny. 097 */ 098 public String getOverrideDeny() { 099 return overrideDeny; 100 } 101 102 103 /** 104 * Sets the overrideDeny attribute value. 105 * 106 * @param overrideDeny The overrideDeny to set. 107 */ 108 public void setOverrideDeny(String overrideDeny) { 109 this.overrideDeny = overrideDeny; 110 } 111 112 113 @SuppressWarnings("unchecked") 114 @Override 115 protected LinkedHashMap toStringMapper() { 116 LinkedHashMap m = new LinkedHashMap(); 117 return m; 118 } 119 }