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

org.solovyev.common.definitions.Property Maven / Gradle / Ivy

The newest version!
package org.solovyev.common.definitions;

import org.solovyev.common.Identifiable;

/**
 * User: serso
 * Date: 29.04.2009
 * Time: 23:48:39
 */
public class Property implements Identifiable {

    private ID id = null;
    private VALUE value = null;

    public Property( VALUE value, ID id ) {
        this.setValue(value);
        this.setId(id);
    }

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

    public VALUE getValue() {
        return this.value;
    }

    public void setId( ID id ) {
        this.id = id;
    }

    public ID getId() {
        return this.id;
    }

	public static  Property create (VALUE value, ID id) {
		return new Property(value, id);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy