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