Package org.duracloud.domain
Class Space
java.lang.Object
org.duracloud.domain.Space
A Space - the container in which content is stored.
- Author:
- Bill Branan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContentId(String contentId) addContentIdvoidaddProperties(String name, String value) Adds an item to the space properties mapbooleanCompares one space to anotherGetter for the fieldcontentIds.getId()Getter for the fieldid.Getter for the fieldproperties.voidsetContentIds(List<String> contentIds) Setter for the fieldcontentIds.voidSetter for the fieldid.voidsetProperties(Map<String, String> properties) Setter for the fieldproperties.
-
Constructor Details
-
Space
public Space()
-
-
Method Details
-
getId
Getter for the field
id. -
setId
Setter for the field
id. -
getProperties
Getter for the field
properties. -
setProperties
Setter for the field
properties. -
addProperties
Adds an item to the space properties map
- Parameters:
name- properties keyvalue- properties value
-
getContentIds
Getter for the field
contentIds. -
setContentIds
Setter for the field
contentIds. -
addContentId
addContentId
-
equals
Compares one space to another
- Returns:
- true if the spaces properties and contents are equal
-