Repository
public class RepositoryImpl extends Object implements Repository
LOCAL, SYSTEM
Constructor | Description |
---|---|
RepositoryImpl() |
|
RepositoryImpl(Resource[] resources) |
Modifier and Type | Method | Description |
---|---|---|
void |
addReferral(Referral referral) |
|
void |
addResource(Resource resource) |
|
long |
getLastModified() |
Return the last modification date of this repository
|
String |
getName() |
Return the name of this repository.
|
Referral[] |
getReferrals() |
|
Resource[] |
getResources() |
Return the resources for this repository.
|
String |
getURI() |
Return the associated URL for the repository.
|
protected Object |
put(Object key,
Object value) |
Default setter method when setting parsed data from the XML file,
which currently ignores everything.
|
void |
setLastModified(long lastModified) |
|
void |
setLastModified(String s) |
|
void |
setName(String name) |
|
protected void |
setURI(String uri) |
public RepositoryImpl()
public RepositoryImpl(Resource[] resources)
public String getURI()
Repository
getURI
in interface Repository
protected void setURI(String uri)
public Resource[] getResources()
Repository
getResources
in interface Repository
public void addResource(Resource resource)
public Referral[] getReferrals()
public String getName()
Repository
getName
in interface Repository
public void setName(String name)
public long getLastModified()
Repository
getLastModified
in interface Repository
public void setLastModified(long lastModified)
public void setLastModified(String s)
Copyright © 2018. All rights reserved.