@Entity public class MetadataValue extends Object implements ReloadableEntity<Integer>
MetadataField on an Item.
(The Item can have many values of the same field.) It contains element, qualifier, value and language.
the field (which names the schema, element, and qualifier), language,
and a value.MetadataSchema,
MetadataField| Modifier and Type | Field and Description |
|---|---|
protected DSpaceObject |
dSpaceObject |
| Modifier | Constructor and Description |
|---|---|
protected |
MetadataValue()
Protected constructor, create object using:
MetadataValueService.create(Context, DSpaceObject, MetadataField) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Return
true if other is the same MetadataValue
as this object, false otherwise |
String |
getAuthority()
Get the metadata authority
|
int |
getConfidence()
Get the metadata confidence
|
DSpaceObject |
getDSpaceObject()
Get the dspaceObject
|
Integer |
getID()
Get the field ID the metadata value represents.
|
String |
getLanguage()
Get the language (e.g.
|
MetadataField |
getMetadataField() |
int |
getPlace()
Get the place ordering.
|
String |
getValue()
Get the metadata value.
|
int |
hashCode() |
void |
setAuthority(String value)
Set the metadata authority
|
void |
setConfidence(int value)
Set the metadata confidence
|
void |
setDSpaceObject(DSpaceObject dso)
Set the dspaceObject ID.
|
void |
setLanguage(String language)
Set the language (e.g.
|
void |
setMetadataField(MetadataField metadataField) |
void |
setPlace(int place)
Set the place ordering.
|
void |
setValue(String value)
Set the metadata value
|
protected DSpaceObject dSpaceObject
protected MetadataValue()
MetadataValueService.create(Context, DSpaceObject, MetadataField)public Integer getID()
getID in interface ReloadableEntity<Integer>public DSpaceObject getDSpaceObject()
public void setDSpaceObject(DSpaceObject dso)
dso - new dspaceObject IDpublic String getLanguage()
public void setLanguage(String language)
language - new languagepublic int getPlace()
public void setPlace(int place)
place - new place (relative order in series of values)public MetadataField getMetadataField()
public void setMetadataField(MetadataField metadataField)
public String getValue()
public void setValue(String value)
value - new metadata valuepublic String getAuthority()
public void setAuthority(String value)
value - new metadata authoritypublic int getConfidence()
public void setConfidence(int value)
value - new metadata confidencepublic boolean equals(Object obj)
true if other is the same MetadataValue
as this object, false otherwiseCopyright © 2016 DuraSpace. All rights reserved.