@Entity public class MetadataSchema extends Object
The schema object exposes a name which can later be used to generate
namespace prefixes in RDF or XML, e.g. the core DSpace Dublin Core schema
would have a name of 'dc'.
MetadataValue,
MetadataField| Modifier and Type | Field and Description |
|---|---|
static String |
DC_SCHEMA
Short Name of built-in Dublin Core schema.
|
| Modifier | Constructor and Description |
|---|---|
protected |
MetadataSchema()
Protected constructor, create object using:
MetadataSchemaService.create(Context, String, String) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName()
Get the schema name.
|
String |
getNamespace()
Get the schema namespace.
|
int |
getSchemaID()
Get the schema record key number.
|
int |
hashCode() |
void |
setName(String name)
Set the schema name.
|
void |
setNamespace(String namespace)
Set the schema namespace.
|
public static final String DC_SCHEMA
protected MetadataSchema()
MetadataSchemaService.create(Context, String, String)public String getNamespace()
public void setNamespace(String namespace)
namespace - XML namespace URIpublic String getName()
public void setName(String name)
name - short name of schemapublic int getSchemaID()
Copyright © 2016 DuraSpace. All Rights Reserved.