xref: /JGit/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsObject.java (revision 5c5f7c6b146b24f2bd4afae1902df85ad6e57ea3)
13bae524fSMatthias Sohn /*
2*5c5f7c6bSMatthias Sohn  * Copyright (C) 2015, Sasa Zivkov <sasa.zivkov@sap.com> and others
33bae524fSMatthias Sohn  *
4*5c5f7c6bSMatthias Sohn  * This program and the accompanying materials are made available under the
5*5c5f7c6bSMatthias Sohn  * terms of the Eclipse Distribution License v. 1.0 which is available at
6*5c5f7c6bSMatthias Sohn  * https://www.eclipse.org/org/documents/edl-v10.php.
73bae524fSMatthias Sohn  *
8*5c5f7c6bSMatthias Sohn  * SPDX-License-Identifier: BSD-3-Clause
93bae524fSMatthias Sohn  */
103bae524fSMatthias Sohn package org.eclipse.jgit.lfs.server;
113bae524fSMatthias Sohn 
12584035a5SDavid Pursehouse /**
13584035a5SDavid Pursehouse  * LFS object.
14584035a5SDavid Pursehouse  *
15ae779f60SMatthias Sohn  * @since 4.5
16584035a5SDavid Pursehouse  */
17584035a5SDavid Pursehouse public class LfsObject {
183bae524fSMatthias Sohn 	String oid;
193bae524fSMatthias Sohn 	long size;
20584035a5SDavid Pursehouse 
21584035a5SDavid Pursehouse 	/**
225d64d3d8SMatthias Sohn 	 * Get the <code>oid</code> of this object.
235d64d3d8SMatthias Sohn 	 *
24584035a5SDavid Pursehouse 	 * @return the object ID.
25584035a5SDavid Pursehouse 	 */
getOid()26584035a5SDavid Pursehouse 	public String getOid() {
27584035a5SDavid Pursehouse 		return oid;
28584035a5SDavid Pursehouse 	}
29584035a5SDavid Pursehouse 
30584035a5SDavid Pursehouse 	/**
315d64d3d8SMatthias Sohn 	 * Get the <code>size</code> of this object.
325d64d3d8SMatthias Sohn 	 *
33584035a5SDavid Pursehouse 	 * @return the object size.
34584035a5SDavid Pursehouse 	 */
getSize()35584035a5SDavid Pursehouse 	public long getSize() {
36584035a5SDavid Pursehouse 		return size;
37584035a5SDavid Pursehouse 	}
383bae524fSMatthias Sohn }
39