|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.kb.oai.ore.ResourceMap
public class ResourceMap
A resource map is a description of an Aggregation
according to the OAI-ORE data model.
ResourceMaps
can be serialized to a machine readable format, see ResourceMapSerializer
.
This class will consist of the Aggregation
it describes and some metadata concerning the
resource map itself.
Constructor Summary | |
---|---|
ResourceMap(String id)
Create an ResourceMap with the specified id. |
|
ResourceMap(URI id)
Create an ResourceMap with the specified id. |
Method Summary | |
---|---|
Aggregation |
getAggregation()
Get the aggregation that this resource map describes. |
Date |
getCreated()
Get the creation date of this resource map. |
String |
getCreator()
Get the creator of this resource map. |
URI |
getId()
Get the id. |
Date |
getModified()
Get the modification date of this resource map. |
String |
getRights()
Get the rights of this resource map. |
void |
setAggregation(Aggregation aggregation)
Set the aggregation that this resource map describes. |
void |
setCreated(Date created)
Set the creation date of this resource map. |
void |
setCreator(String creator)
Set the creator of this resource map. |
void |
setId(URI id)
Set the id. |
void |
setModified(Date modified)
Set the modification date of this resource map. |
void |
setRights(String rights)
Set the rights of this resource map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceMap(String id) throws URISyntaxException
ResourceMap
with the specified id.
id
- the id
URISyntaxException
public ResourceMap(URI id)
ResourceMap
with the specified id.
id
- the idMethod Detail |
---|
public URI getId()
public void setId(URI id)
id
- the idpublic String getCreator()
public void setCreator(String creator)
creator
- the creatorpublic String getRights()
public void setRights(String rights)
rights
- the rightspublic Date getCreated()
public void setCreated(Date created)
created
- the creation datepublic Date getModified()
public void setModified(Date modified)
modified
- he modification datepublic Aggregation getAggregation()
public void setAggregation(Aggregation aggregation)
aggregation
- the aggregation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |