|
ModeShape Distribution 3.0.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.web.jcr.rest.client.domain.Repository
@Immutable public class Repository
The Repository class is the business object for a ModeShape repository.
| Constructor Summary | |
|---|---|
Repository(String name,
Server server)
Constructs a new Repository. |
|
Repository(String name,
Server server,
Map<String,Object> metadata)
Constructs a new Repository. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Map<String,Object> |
getMetadata()
Get the metadata for this repository. |
String |
getName()
|
Server |
getServer()
|
String |
getShortDescription()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, 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
public Repository(String name,
Server server,
Map<String,Object> metadata)
Repository.
name - the repository name (never null)server - the server where this repository resides (never null)metadata - the metadata; may be null or empty
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 IModeShapeObjectnull)IModeShapeObject.getName()public Server getServer()
null)public Map<String,Object> getMetadata()
public String getShortDescription()
getShortDescription in interface IModeShapeObjectnull)IModeShapeObject.getShortDescription()public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()
|
ModeShape Distribution 3.0.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||