|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Object
Object.equals(java.lang.Object)
public String getName()
getName
in interface IDnaObject
null
)IDnaObject.getName()
public Server getServer()
null
)public String getShortDescription()
getShortDescription
in interface IDnaObject
null
)IDnaObject.getShortDescription()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |