Changeset 494


Ignore:
Timestamp:
01/26/11 18:06:49 (2 years ago)
Author:
philsmart
Message:
 
Location:
raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model/ShibbolethEntry.java

    r388 r494  
    107107        } 
    108108 
     109        /** 
     110         * For hibernate, so the hashcode can be persisted 
     111         * @return 
     112         */ 
     113        public int getHashCode(){ 
     114            return hashCode(); 
     115        } 
     116 
     117        /** 
     118         * For hibernate, does nothing as the hascode is computed on the fly 
     119         * from the <code>hashCode</code> method 
     120         * 
     121         * @param hashCode 
     122         */ 
     123        public void setHashCode(int hashCode){ 
     124 
     125        } 
     126 
    109127 
    110128        /** 
  • raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model/entry.hbm.xml

    r473 r494  
    4040                        <property name="nameIdentifier" column="nameIdentifier" type="string" /> 
    4141                        <property name="responseId" column="responseId" type="string" /> 
    42  
     42            <property name="hashCode" column="hashCode" type="integer" index="hashcode_index"/> 
    4343        </joined-subclass> 
    4444 
Note: See TracChangeset for help on using the changeset viewer.