Package org.dspace.rest.common
Class MetadataSchema
- java.lang.Object
-
- org.dspace.rest.common.MetadataSchema
-
public class MetadataSchema extends Object
Metadata schema representation- Author:
- Terry Brady, Georgetown University.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.dspace.content.service.MetadataFieldService
metadataFieldService
-
Constructor Summary
Constructors Constructor Description MetadataSchema()
MetadataSchema(org.dspace.content.MetadataSchema schema, String expand, org.dspace.core.Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExpand(String expandableAttribute)
List<String>
getExpand()
List<MetadataField>
getMetadataFields()
String
getNamespace()
String
getPrefix()
int
getSchemaID()
void
setExpand(ArrayList<String> expand)
void
setNamespace(String namespace)
void
setPrefix(String prefix)
void
setSchemaID(int schemaID)
-
-
-
Constructor Detail
-
MetadataSchema
public MetadataSchema()
-
MetadataSchema
public MetadataSchema(org.dspace.content.MetadataSchema schema, String expand, org.dspace.core.Context context) throws SQLException, javax.ws.rs.WebApplicationException
- Throws:
SQLException
javax.ws.rs.WebApplicationException
-
-
Method Detail
-
setPrefix
public void setPrefix(String prefix)
-
setNamespace
public void setNamespace(String namespace)
-
getPrefix
public String getPrefix()
-
getNamespace
public String getNamespace()
-
getSchemaID
public int getSchemaID()
-
setSchemaID
public void setSchemaID(int schemaID)
-
getMetadataFields
public List<MetadataField> getMetadataFields()
-
addExpand
public void addExpand(String expandableAttribute)
-
-