Package org.dspace.content
Class Site
- java.lang.Object
-
- org.dspace.content.DSpaceObject
-
- org.dspace.content.Site
-
- All Implemented Interfaces:
Serializable,ReloadableEntity<UUID>
@Entity public class Site extends DSpaceObject
Represents the root of the DSpace Archive. By default, the handle suffix "0" represents the Site, e.g. "1721.1/0"- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.dspace.content.DSpaceObject
id, predefinedUUID
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSite()Protected constructor, create object using:SiteService.createSite(Context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()intgetType()Get the type of this object, found in ConstantsStringgetURL()-
Methods inherited from class org.dspace.content.DSpaceObject
addDetails, addHandle, addMetadata, clearDetails, clearModified, getDetails, getHandle, getHandles, getID, getMetadata, getPredefinedUUID, getResourcePolicies, isMetadataModified, isModified, removeMetadata, removeMetadata, setMetadata, setMetadataModified, setModified
-
-
-
-
Constructor Detail
-
Site
protected Site()
Protected constructor, create object using:SiteService.createSite(Context)
-
-
Method Detail
-
getType
public int getType()
Get the type of this object, found in Constants- Specified by:
getTypein classDSpaceObject- Returns:
- type of the object
-
getName
public String getName()
- Specified by:
getNamein classDSpaceObject
-
getURL
public String getURL()
-
-