diff options
Diffstat (limited to 'hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/eav/EAVBlobValue.java')
-rw-r--r-- | hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/eav/EAVBlobValue.java | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/eav/EAVBlobValue.java b/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/eav/EAVBlobValue.java new file mode 100644 index 000000000..61f5c1fcb --- /dev/null +++ b/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/eav/EAVBlobValue.java @@ -0,0 +1,64 @@ +/** + * <copyright> + * + * Copyright (c) 2009 Springsite BV (The Netherlands) and others + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Martin Taal - Initial API and implementation + * + * </copyright> + * + * $Id: EAVBlobValue.java,v 1.1 2009/09/11 22:52:36 mtaal Exp $ + */ + +package org.eclipse.emf.teneo.hibernate.mapping.eav; + +/** + * Holds a blob value. + * + * @author <a href="mtaal@elver.org">Martin Taal</a> + */ +public class EAVBlobValue { + + private long id; + private int version; + + private byte[] blobValue; + private EAVSingleEAttributeValueHolder valueHolder; + + public EAVSingleEAttributeValueHolder getValueHolder() { + return valueHolder; + } + + public void setValueHolder(EAVSingleEAttributeValueHolder valueHolder) { + this.valueHolder = valueHolder; + } + + 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 byte[] getBlobValue() { + return blobValue; + } + + public void setBlobValue(byte[] blobValue) { + this.blobValue = blobValue; + } +}
\ No newline at end of file |