org.apache.abdera.protocol.server.impl
Class SimpleWorkspaceInfo
java.lang.Object
org.apache.abdera.protocol.server.impl.SimpleWorkspaceInfo
- All Implemented Interfaces:
- Serializable, WorkspaceInfo
public class SimpleWorkspaceInfo
- extends Object
- implements WorkspaceInfo, Serializable
- See Also:
- Serialized Form
title
protected String title
collections
protected Set<CollectionInfo> collections
SimpleWorkspaceInfo
public SimpleWorkspaceInfo()
SimpleWorkspaceInfo
public SimpleWorkspaceInfo(String title)
getTitle
public String getTitle()
setTitle
public void setTitle(String title)
getTitle
public String getTitle(RequestContext request)
- Description copied from interface:
WorkspaceInfo
- Return the value of the app:workspace element's atom:title. This assumes that the atom:title element uses
type="text". This must not be null
- Specified by:
getTitle
in interface WorkspaceInfo
addCollection
public void addCollection(CollectionInfo ci)
getCollections
public Collection<CollectionInfo> getCollections(RequestContext request)
- Description copied from interface:
WorkspaceInfo
- Return the listing of collections available as part of the workspace
- Specified by:
getCollections
in interface WorkspaceInfo
getCollections
public Set<CollectionInfo> getCollections()
setCollections
public void setCollections(Set<CollectionInfo> collections)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
asWorkspaceElement
public Workspace asWorkspaceElement(RequestContext request)
- Description copied from interface:
WorkspaceInfo
- Returns an instance of the FOM Workspace interface
- Specified by:
asWorkspaceElement
in interface WorkspaceInfo
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.