Changeset 696


Ignore:
Timestamp:
04/25/11 22:54:00 (8 years ago)
Author:
philsmart
Message:
 
Location:
raptor-information-model/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • raptor-information-model/trunk/pom.xml

    r684 r696  
    3232            <groupId>ch.qos.logback</groupId> 
    3333            <artifactId>logback-classic</artifactId> 
    34             <version>0.9.28</version> 
     34            <version>0.9.27</version> 
    3535        </dependency> 
    3636        </dependencies> 
  • raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model/event/event.hbm.xml

    r690 r696  
    5353                <property name="requesterIp" column="requesterIp" type="string" /> 
    5454                <property name="sessionId" column="sessionId" type="string" /> 
     55                <property name="hashCode" column="hashCode" type="integer" index="hashcode_index" /> 
    5556 
    5657            </joined-subclass> 
  • raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model/report/AggregatorGraphModel.java

    r615 r696  
    1414public class AggregatorGraphModel implements Serializable{ 
    1515 
    16         private static final long serialVersionUID = 5372664739350074383L; 
     16        /** Class logger */ 
     17        private static final long serialVersionUID = 5372664739350074383L; 
    1718     
     19        /** The list of <code>String</code> labels for the groups*/ 
    1820        private List<String> groupLabels; 
     21         
     22        /** The list of <code>String</code> labels for each series*/ 
    1923        private List<String> seriesLabels; 
     24         
     25        /** The list of <code>Double</code> values assigned to each series */ 
    2026        private List<List<Double>> chartValues; 
    2127 
     28        /** A class that holds presentation information for this graph model*/ 
    2229        private Presentation presentation; 
    2330 
  • raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model/wsmodel/StatisticParameters.java

    r624 r696  
    5858    /** either system or user types */ 
    5959    public enum StatisticType { 
    60         /* 
     60        /** 
    6161         * A statistic for use by the USER. Possibly removed in the future, in favour of individual 
    6262         * user based statistics 
    6363         */ 
    6464         USER, 
    65          /* 
     65         /** 
    6666          * A statistic for use by the system level processes, e.g. to generate dashboard 
    6767          * statistics 
     
    6969         SYSTEM}; 
    7070 
     71    /** The type of statistic */ 
    7172    private StatisticType type; 
     73     
     74    //TODO should be constructed in XML 
     75    /** The type of event from the information model this statistic should be performed over*/ 
     76    public enum EventType{ 
     77        /** A Shibboleth Authentication Event Type*/ 
     78        SHIBBOLETH_AUTHENTICATION("ShibbolethIdpAuthenticationEvent"), 
     79        /** An Ezproxy Authentication Event Type */ 
     80        EZPROXY_AUTHENTICATION("EzproxyAuthenticationEvent"); 
     81         
     82        private String hibernateSimpleClassName; 
     83         
     84        private EventType(String hibernateSimpleClassName){ 
     85            this.hibernateSimpleClassName = hibernateSimpleClassName; 
     86        } 
     87         
     88        public String getHibernateSimpleClassName(){ 
     89            return hibernateSimpleClassName; 
     90        } 
     91    } 
     92     
     93    private EventType eventType; 
    7294 
    7395 
     
    347369    } 
    348370 
     371    public void setEventType(EventType eventType) { 
     372        this.eventType = eventType; 
     373    } 
     374 
     375    public EventType getEventType() { 
     376        return eventType; 
     377    } 
     378 
    349379 
    350380 
Note: See TracChangeset for help on using the changeset viewer.