Class Space

java.lang.Object
org.duracloud.domain.Space

public class Space extends Object
A Space - the container in which content is stored.
Author:
Bill Branan
  • Constructor Details

    • Space

      public Space()
  • Method Details

    • getId

      public String getId()

      Getter for the field id.

    • setId

      public void setId(String id)

      Setter for the field id.

    • getProperties

      public Map<String,String> getProperties()

      Getter for the field properties.

    • setProperties

      public void setProperties(Map<String,String> properties)

      Setter for the field properties.

    • addProperties

      public void addProperties(String name, String value)

      Adds an item to the space properties map

      Parameters:
      name - properties key
      value - properties value
    • getContentIds

      public List<String> getContentIds()

      Getter for the field contentIds.

    • setContentIds

      public void setContentIds(List<String> contentIds)

      Setter for the field contentIds.

    • addContentId

      public void addContentId(String contentId)

      addContentId

    • equals

      public boolean equals(Space space)

      Compares one space to another

      Returns:
      true if the spaces properties and contents are equal