FileDocCategorySizeDatePackage
Value.javaAPI DocHibernate 3.2.5885Mon Mar 26 12:24:58 BST 2007org.hibernate.test.component.cascading.collection

Value.java

package org.hibernate.test.component.cascading.collection;

/**
 * {@inheritDoc}
 *
 * @author Steve Ebersole
 */
public class Value {
	private Long id;
	private Definition definition;
	private LocalizedStrings localizedStrings = new LocalizedStrings();

	private Value() {
	}

	public Value(Definition definition) {
		this();
		this.definition = definition;
		definition.getValues().add( this );
	}

	public Long getId() {
		return id;
	}

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

	public Definition getDefinition() {
		return definition;
	}

	public void setDefinition(Definition definition) {
		this.definition = definition;
	}

	public LocalizedStrings getLocalizedStrings() {
		return localizedStrings;
	}

	public void setLocalizedStrings(LocalizedStrings localizedStrings) {
		this.localizedStrings = localizedStrings;
	}
}