public abstract class Repository extends Entity
Repository
represents a repository inside the database.
Every repository consists of a directory including all its sub-directories and files together with one
meta-data-directory containing a database. Inside this database, the local repository itself is represented
by a LocalRepository
instance.
The local repository can be connected as a client to zero or more remote repositories. For each such remote
repository there is one RemoteRepository
instance in the database.
Modifier | Constructor and Description |
---|---|
|
Repository() |
protected |
Repository(UUID repositoryId) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getPublicKey() |
UUID |
getRepositoryId() |
long |
getRevision() |
void |
setPublicKey(byte[] publicKey) |
void |
setRevision(long revision) |
equals, getChanged, getCreated, getId, hashCode, setChanged, setCreated, toString
public Repository()
protected Repository(UUID repositoryId)
public UUID getRepositoryId()
public long getRevision()
public void setRevision(long revision)
public byte[] getPublicKey()
public void setPublicKey(byte[] publicKey)
Copyright © 2013-2014. All Rights Reserved.