xref: /JGit/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsObject.java (revision 5c5f7c6b146b24f2bd4afae1902df85ad6e57ea3)
1 /*
2  * Copyright (C) 2015, Sasa Zivkov <sasa.zivkov@sap.com> and others
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Distribution License v. 1.0 which is available at
6  * https://www.eclipse.org/org/documents/edl-v10.php.
7  *
8  * SPDX-License-Identifier: BSD-3-Clause
9  */
10 package org.eclipse.jgit.lfs.server;
11 
12 /**
13  * LFS object.
14  *
15  * @since 4.5
16  */
17 public class LfsObject {
18 	String oid;
19 	long size;
20 
21 	/**
22 	 * Get the <code>oid</code> of this object.
23 	 *
24 	 * @return the object ID.
25 	 */
getOid()26 	public String getOid() {
27 		return oid;
28 	}
29 
30 	/**
31 	 * Get the <code>size</code> of this object.
32 	 *
33 	 * @return the object size.
34 	 */
getSize()35 	public long getSize() {
36 		return size;
37 	}
38 }
39