|
||||||||||
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.Workspace
@Immutable public class Workspace
The Workspace
class is the business object for a DNA repository workspace.
Constructor Summary | |
---|---|
Workspace(String name,
Repository repository)
Constructs a new Workspace . |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getName()
|
Repository |
getRepository()
|
Server |
getServer()
|
String |
getShortDescription()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Workspace(String name, Repository repository)
Workspace
.
name
- the workspace name (never null
)repository
- the repository where this workspace resides (never null
)
IllegalArgumentException
- if any of the arguments are 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 Repository getRepository()
null
)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 |