@Entity public class MetadataField extends Object implements ReloadableEntity<Integer>
MetadataValue,
MetadataSchema| Modifier | Constructor and Description |
|---|---|
protected |
MetadataField()
Protected constructor, create object using:
MetadataFieldService.create(Context, MetadataSchema, String, String, String) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Return
true if other is the same MetadataField
as this object, false otherwise |
String |
getElement()
Get the element name.
|
Integer |
getID()
Get the metadata field id.
|
MetadataSchema |
getMetadataSchema()
Get the schema .
|
String |
getQualifier()
Get the qualifier.
|
String |
getScopeNote()
Get the scope note.
|
int |
hashCode() |
void |
setElement(String element)
Set the element name.
|
void |
setMetadataSchema(MetadataSchema metadataSchema)
Set the schema record key.
|
void |
setQualifier(String qualifier)
Set the qualifier.
|
void |
setScopeNote(String scopeNote)
Set the scope note.
|
String |
toString() |
String |
toString(char separator) |
protected MetadataField()
MetadataFieldService.create(Context, MetadataSchema, String, String, String)public Integer getID()
getID in interface ReloadableEntity<Integer>public String getElement()
public void setElement(String element)
element - new value for elementpublic String getQualifier()
public void setQualifier(String qualifier)
qualifier - new value for qualifierpublic String getScopeNote()
public void setScopeNote(String scopeNote)
scopeNote - new value for scope notepublic MetadataSchema getMetadataSchema()
public void setMetadataSchema(MetadataSchema metadataSchema)
metadataSchema - new value for keypublic boolean equals(Object obj)
true if other is the same MetadataField
as this object, false otherwisepublic String toString(char separator)
Copyright © 2016 DuraSpace. All rights reserved.