001    /*
002     * Copyright 2008-2009 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.rice.kim.util;
017    
018    import org.kuali.rice.krad.util.KRADPropertyConstants;
019    
020    /**
021     * This is a description of what this class does - kellerj don't forget to fill this in. 
022     * 
023     * @author Kuali Rice Team (rice.collab@kuali.org)
024     *
025     */
026    public final class KIMPropertyConstants {
027    
028            public static final class Entity {
029                    public static final String ID = "id";
030            public static final String ENTITY_ID = "entityId";
031            public static final String ACTIVE = KRADPropertyConstants.ACTIVE;
032            public static final String ENTITY_TYPE_CODE = "entityTypeCode";
033                    
034                    private Entity() {
035                            throw new UnsupportedOperationException("do not call");
036                    }
037            }
038    
039        public static final class Type {
040                    public static final String CODE = "code";
041    
042                    private Type() {
043                            throw new UnsupportedOperationException("do not call");
044                    }
045            }
046            
047            public static final class Principal {
048                    public static final String PRINCIPAL_ID = "principalId";
049                    public static final String PRINCIPAL_NAME = "principalName";
050                    public static final String PASSWORD = "password";
051                    public static final String ACTIVE = KRADPropertyConstants.ACTIVE;
052                    
053                    private Principal() {
054                            throw new UnsupportedOperationException("do not call");
055                    }
056            }
057    
058            public static final class Person {
059                    public static final String ENTITY_ID = "entityId";
060                    public static final String PRINCIPAL_ID = Principal.PRINCIPAL_ID;
061                    public static final String PRINCIPAL_NAME = Principal.PRINCIPAL_NAME;
062                    public static final String FIRST_NAME = "firstName";
063                    public static final String MIDDLE_NAME = "middleName";
064                    public static final String LAST_NAME = "lastName";
065                    public static final String NAME = "name";
066                    public static final String EMAIL_ADDRESS = KRADPropertyConstants.EMAIL_ADDRESS;
067                    public static final String PHONE_NUMBER = "phoneNumber";
068                    public static final String ACTIVE = KRADPropertyConstants.ACTIVE;
069                    public static final String EMPLOYEE_ID = "employeeId";
070                    public static final String EMPLOYEE_STATUS_CODE = "employeeStatusCode";
071                    public static final String EMPLOYEE_TYPE_CODE = "employeeTypeCode";
072                    public static final String EXTERNAL_ID = "externalId";
073                    public static final String EXTERNAL_IDENTIFIER_TYPE_CODE = "externalIdentifierTypeCode";
074                    public static final String ADDRESS_LINE_1 = "line1";
075                    public static final String ADDRESS_LINE_2 = "line2";
076                    public static final String ADDRESS_LINE_3 = "line3";
077                    public static final String CITY_NAME = "cityName";
078                    public static final String STATE_CODE = KRADPropertyConstants.STATE_CODE;
079                    public static final String POSTAL_CODE = KRADPropertyConstants.POSTAL_CODE;
080                    public static final String COUNTRY_CODE = KRADPropertyConstants.COUNTY_CODE;
081                    public static final String CAMPUS_CODE = KRADPropertyConstants.CAMPUS_CODE;
082                    public static final String AFFILIATION_TYPE_CODE = "affiliationTypeCode";
083                    public static final String PRIMARY_DEPARTMENT_CODE = "primaryDepartmentCode";
084                    public static final String BASE_SALARY_AMOUNT = "baseSalaryAmount";
085                    
086                    private Person() {
087                            throw new UnsupportedOperationException("do not call");
088                    }
089            }
090            
091            public static final class Group {
092                public static final String GROUP_ID = "id";
093            public static final String GROUP_NAME = "name";
094            
095                    private Group() {
096                            throw new UnsupportedOperationException("do not call");
097                    }
098            }
099            
100            public static final class KimType {
101                public static final String KIM_TYPE_ID = "kimTypeId";
102                
103                    private KimType() {
104                            throw new UnsupportedOperationException("do not call");
105                    }
106            }
107            
108            public static final class Role {
109                    public static final String ROLE_ID = "id";
110                    public static final String ROLE_NAME = "name";
111                public static final String KIM_TYPE_ID = KimType.KIM_TYPE_ID;
112                    public static final String ACTIVE = KRADPropertyConstants.ACTIVE;
113                    
114                    private Role() {
115                            throw new UnsupportedOperationException("do not call");
116                    }
117            }
118    
119            public static final class KimMember {
120                    public static final String MEMBER_ID = "id";
121                    public static final String MEMBER_TYPE_CODE = "typeCode";
122                    public static final String ACTIVE_FROM_DATE = "activeFromDate";
123                    public static final String ACTIVE_TO_DATE = "activeToDate";
124                    
125                    private KimMember() {
126                            throw new UnsupportedOperationException("do not call");
127                    }
128            }
129            
130            public static final class RoleMember {
131                    public static final String ROLE_MEMBER_ID = "roleMemberId";
132                    public static final String ROLE_ID = "roleId";
133                    public static final String MEMBER_ID = "memberId";
134                    public static final String MEMBER_TYPE_CODE = "memberTypeCode";
135                    public static final String ACTIVE_FROM_DATE = KimMember.ACTIVE_FROM_DATE;
136                    public static final String ACTIVE_TO_DATE = KimMember.ACTIVE_TO_DATE;
137                    
138                    private RoleMember() {
139                            throw new UnsupportedOperationException("do not call");
140                    }
141            }
142    
143            public static final class GroupMember {
144                    public static final String GROUP_MEMBER_ID = "id";
145                    public static final String GROUP_ID = "groupId";
146                    public static final String MEMBER_ID = "memberId";
147                    public static final String MEMBER_TYPE_CODE = KimMember.MEMBER_TYPE_CODE;
148                    public static final String ACTIVE_FROM_DATE = KimMember.ACTIVE_FROM_DATE;
149                    public static final String ACTIVE_TO_DATE = KimMember.ACTIVE_TO_DATE;
150                    
151                    private GroupMember() {
152                            throw new UnsupportedOperationException("do not call");
153                    }
154            }
155            
156            public static final class DelegationMember {
157                    public static final String DELEGATION_MEMBER_ID = "delegationMemberId";
158                    public static final String DELEGATION_ID = Delegation.DELEGATION_ID;
159                    public static final String MEMBER_ID = "memberId";
160                    public static final String MEMBER_TYPE_CODE = "typeCode";
161                    public static final String ACTIVE_FROM_DATE = KimMember.ACTIVE_FROM_DATE;
162                    public static final String ACTIVE_TO_DATE = KimMember.ACTIVE_TO_DATE;
163                    
164                    private DelegationMember() {
165                            throw new UnsupportedOperationException("do not call");
166                    }
167            }
168            
169            public static final class Delegation {
170                    public static final String ROLE_ID = "roleId";
171                    public static final String DELEGATION_ID = "delegationId";
172                    public static final String ACTIVE = KRADPropertyConstants.ACTIVE;
173                    
174                    private Delegation() {
175                            throw new UnsupportedOperationException("do not call");
176                    }
177            }
178            
179            private KIMPropertyConstants() {
180                    throw new UnsupportedOperationException("do not call");
181            }
182    }