All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.daon.identityx.rest.model.pojo.Statistic Maven / Gradle / Ivy

/*
* Copyright Daon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.daon.identityx.rest.model.pojo;

import java.sql.Timestamp;

public class Statistic extends RestResource {

	public enum StatisticTypeEnum {
		
		ENROLLMENT, 
		AUTHENTICATION,
		SYSTEM
		
	}
	
	private String name;
	private StatisticTypeEnum type;
	private String subType;
	private Timestamp recorded;
	private Timestamp updated;
	private Timestamp start;
	private Timestamp end;
	private double value;

	// Links
	private Tenant tenant;

    public Statistic() {
    }

    public Statistic(String href) {
    	super(href);
    }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public StatisticTypeEnum getType() {
		return type;
	}

	public void setType(StatisticTypeEnum type) {
		this.type = type;
	}

	public String getSubType() {
		return subType;
	}

	public void setSubType(String subType) {
		this.subType = subType;
	}

	public Timestamp getRecorded() {
		return recorded;
	}

	public void setRecorded(Timestamp recorded) {
		this.recorded = recorded;
	}

	public Timestamp getUpdated() {
		return updated;
	}

	public void setUpdated(Timestamp updated) {
		this.updated = updated;
	}

	public Timestamp getStart() {
		return start;
	}

	public void setStart(Timestamp start) {
		this.start = start;
	}

	public Timestamp getEnd() {
		return end;
	}

	public void setEnd(Timestamp end) {
		this.end = end;
	}

	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}

	public Tenant getTenant() {
		return tenant;
	}

	public void setTenant(Tenant tenant) {
		this.tenant = tenant;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy