|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dna.web.jcr.rest.client.domain.Repository
@Immutable public class Repository

The Repository class is the business object for a DNA repository.
| Constructor Summary | |
|---|---|
Repository(String name,
Server server)
Constructs a new Repository. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getName()
|
Server |
getServer()
|
String |
getShortDescription()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Repository(String name,
Server server)
Repository.
name - the repository name (never null)server - the server where this repository resides (never null)
IllegalArgumentException - if the name or server argument is null| Method Detail |
|---|
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String getName()
getName in interface IDnaObjectnull)IDnaObject.getName()public Server getServer()
null)public String getShortDescription()
getShortDescription in interface IDnaObjectnull)IDnaObject.getShortDescription()public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||