@Immutable public class Workspace extends Object implements IModeShapeObject
Workspace class is the business object for a ModeShape repository workspace.| Constructor and Description |
|---|
Workspace(String name,
Repository repository)
Constructs a new
Workspace. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName() |
Repository |
getRepository() |
Server |
getServer() |
String |
getShortDescription() |
int |
hashCode() |
String |
toString() |
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 nullpublic String getName()
getName in interface IModeShapeObjectnull)public Repository getRepository()
null)public Server getServer()
null)public String getShortDescription()
getShortDescription in interface IModeShapeObjectnull)Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.