001/**
002 * Copyright 2005-2016 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 */
016package org.kuali.rice.kim.framework.identity.affiliation;
017
018import org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationTypeContract;
019import org.kuali.rice.krad.bo.ExternalizableBusinessObject;
020
021/**
022 * TODO: Likely should remove all methods from this interface after KULRICE-7170 is fixed
023 */
024public interface EntityAffiliationTypeEbo extends EntityAffiliationTypeContract, ExternalizableBusinessObject {
025    
026    /**
027     * This value determines if the Affiliation Type is an employment type.
028     *
029     * @return the boolean value representing if type is an employment type
030     */
031    boolean isEmploymentAffiliationType();
032    
033    /**
034     * This the name for the AddressType.  This can be null or a blank string.
035     *
036     * @return the name of the AddressType
037     */
038    String getName();
039
040    /**
041     * This the sort code for the AddressType.  This can be null or a blank string.
042     *
043     * @return the sort code of the AddressType
044     */
045    String getSortCode();
046    
047    /**
048     * Returns the version number for this object.  In general, this value should only
049     * be null if the object has not yet been stored to a persistent data store.
050     * This version number is generally used for the purposes of optimistic locking.
051     * 
052     * @return the version number, or null if one has not been assigned yet
053     */
054    Long getVersionNumber();
055    
056    /**
057     * Return the globally unique object id of this object.  In general, this value should only
058     * be null if the object has not yet been stored to a persistent data store.
059     * 
060     * @return the objectId of this object, or null if it has not been set yet
061     */
062    String getObjectId();
063    
064    /**
065     * The active indicator for an object.
066     *
067     * @return true if active false if not.
068     */
069    boolean isActive();
070    
071    /**
072     * The code value for this object.  In general a code value cannot be null or a blank string.
073     *
074     * @return the code value for this object.
075     */
076    String getCode();
077
078}