/* * Copyright (c) 2008-2012, Hazel Bilisim Ltd. All Rights Reserved. * * 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.hazelcast.hibernate.entity; import java.util.Date; import java.util.Set; public class DummyEntity { private long id; private int version; private String name; private double value; private Date date; private Set<DummyProperty> properties; public DummyEntity() { super(); } public DummyEntity(long id, String name, double value, Date date) { super(); this.id = id; this.name = name; this.value = value; this.date = date; } public long getId() { return id; } public void setId(long id) { this.id = id; } public int getVersion() { return version; } public void setVersion(int version) { this.version = version; } public String getName() { return name; } public void setName(String name) { this.name = name; } public double getValue() { return value; } public void setValue(double value) { this.value = value; } public Date getDate() { return date; } public void setDate(Date date) { this.date = date; } public void setProperties(Set<DummyProperty> properties) { this.properties = properties; } public Set<DummyProperty> getProperties() { return properties; } }