mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 10:34:25 +00:00
[DS-1883] Un-deprecate DCValue and rename it.
It seems that the reason for deprecation was objection to the *name*, since it is not strictly for DC anymore.
This commit is contained in:
@@ -128,7 +128,7 @@ public class EmbargoManager
|
||||
throws SQLException, AuthorizeException, IOException
|
||||
{
|
||||
init();
|
||||
DCValue terms[] = item.getMetadata(terms_schema, terms_element,
|
||||
Metadatum terms[] = item.getMetadata(terms_schema, terms_element,
|
||||
terms_qualifier, Item.ANY);
|
||||
|
||||
DCDate result = null;
|
||||
@@ -338,7 +338,7 @@ public class EmbargoManager
|
||||
throws Exception
|
||||
{
|
||||
boolean status = false;
|
||||
DCValue lift[] = item.getMetadata(lift_schema, lift_element, lift_qualifier, Item.ANY);
|
||||
Metadatum lift[] = item.getMetadata(lift_schema, lift_element, lift_qualifier, Item.ANY);
|
||||
|
||||
if (lift.length > 0)
|
||||
{
|
||||
@@ -448,7 +448,7 @@ public class EmbargoManager
|
||||
// it was never under embargo, or the lift date has passed.
|
||||
private static DCDate recoverEmbargoDate(Item item) {
|
||||
DCDate liftDate = null;
|
||||
DCValue lift[] = item.getMetadata(lift_schema, lift_element, lift_qualifier, Item.ANY);
|
||||
Metadatum lift[] = item.getMetadata(lift_schema, lift_element, lift_qualifier, Item.ANY);
|
||||
if (lift.length > 0)
|
||||
{
|
||||
liftDate = new DCDate(lift[0].value);
|
||||
|
Reference in New Issue
Block a user