001    package org.kuali.rice.kim.api.identity.affiliation;
002    
003    import org.kuali.rice.core.api.mo.common.Defaultable;
004    import org.kuali.rice.core.api.mo.common.GloballyUnique;
005    import org.kuali.rice.core.api.mo.common.Identifiable;
006    import org.kuali.rice.core.api.mo.common.Versioned;
007    import org.kuali.rice.core.api.mo.common.active.Inactivatable;
008    
009    public interface EntityAffiliationContract extends Versioned, GloballyUnique, Defaultable, Inactivatable, Identifiable {
010    
011        /**
012         * Gets this id of the parent identity object.
013         * @return the identity id for this {@link EntityAddressContract}
014         */
015        String getEntityId();
016    
017            /**
018         * Gets this {@link KimEntityAffiliation}'s type.
019         * @return the type for this {@link KimEntityAffiliation}, or null if none has been assigned.
020         */
021            EntityAffiliationTypeContract getAffiliationType();
022    
023            /**
024         * Gets this {@link KimEntityAffiliation}'s campus code.
025         * @return the campus code for this {@link KimEntityAffiliation}, or null if none has been assigned.
026         */
027            String getCampusCode();
028    }