@Entity public abstract class DSpaceObject extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
DSpaceObject() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDetails(String d)
Add a string to the cache of event details.
|
void |
addHandle(Handle handle) |
protected void |
addMetadata(MetadataValue metadataValue) |
void |
clearDetails()
Reset the cache of event details.
|
void |
clearModified() |
String |
getDetails() |
String |
getHandle()
Get the Handle of the object.
|
List<Handle> |
getHandles() |
UUID |
getID()
Get the internal ID (database primary key) of this object
|
protected List<MetadataValue> |
getMetadata() |
abstract String |
getName() |
List<ResourcePolicy> |
getResourcePolicies() |
abstract int |
getType()
Get the type of this object, found in Constants
|
boolean |
isMetadataModified() |
boolean |
isModified() |
protected void |
removeMetadata(List<MetadataValue> metadataValues) |
protected void |
removeMetadata(MetadataValue metadataValue) |
void |
setMetadata(List<MetadataValue> metadata) |
protected void |
setMetadataModified() |
protected void |
setModified() |
protected UUID id
public void clearDetails()
protected void addDetails(String d)
d - detail string to add.public String getDetails()
public abstract int getType()
public UUID getID()
public abstract String getName()
public String getHandle()
nullnull if it doesn't have
onepublic void addHandle(Handle handle)
protected List<MetadataValue> getMetadata()
public void setMetadata(List<MetadataValue> metadata)
protected void removeMetadata(MetadataValue metadataValue)
protected void removeMetadata(List<MetadataValue> metadataValues)
protected void addMetadata(MetadataValue metadataValue)
public List<ResourcePolicy> getResourcePolicies()
public boolean isMetadataModified()
protected void setMetadataModified()
public boolean isModified()
public void clearModified()
protected void setModified()
Copyright © 2016 DuraSpace. All Rights Reserved.