/* * Seldon -- open source prediction engine * ======================================= * * Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/) * * ******************************************************************************************** * * 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 io.seldon.general; import java.util.Date; public class ExplicitLink { Long linkId; long u1; long u2; Double value; int type; Date date; public ExplicitLink() {} public ExplicitLink(long u1, long u2, int type) { this.u1 = u1; this.u2 = u2; this.type = type; } public long getLinkId() { return linkId; } public void setLinkId(long linkId) { this.linkId = linkId; } public long getU1() { return u1; } public void setU1(long u1) { this.u1 = u1; } public long getU2() { return u2; } public void setU2(long u2) { this.u2 = u2; } public Double getValue() { return value; } public void setValue(Double value) { this.value = value; } public int getType() { return type; } public void setType(int type) { this.type = type; } public Date getDate() { return date; } public void setDate(Date date) { this.date = date; }; }