|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Observable
nesstar.rdf.RDFObject
nesstar.api.common.Resource
nesstar.api.common.DCResource
public class DCResource
Code automatically generated from ARGO/UML
| Field Summary | |
|---|---|
static String |
CLASS_ID
|
| Fields inherited from class nesstar.rdf.RDFObject |
|---|
COLSEP, IS_GETTER, IS_PART, IS_PART_OF, WRITE_OP |
| Constructor Summary | |
|---|---|
DCResource(RDFDB db,
URL id)
Create an object with the indicated id in the indicated db |
|
| Method Summary | |
|---|---|
void |
clear()
Clear all properties of this object |
String |
get_contributor()
|
String |
get_coverage()
|
String |
get_creator()
|
String |
get_format()
|
String |
get_identifier()
|
String |
get_language()
|
String |
get_publisher()
|
String |
get_relation()
|
String |
get_resourceDate()
|
String |
get_resourceType()
|
String |
get_rights()
|
String |
get_source()
|
String |
get_subject()
|
static Vector |
getAllInstances()
|
static Vector |
getAllInstances(RDFDB db)
|
String[] |
getContributor()
An entity responsible for making contributions to the content of the resource. |
String |
getContributorAsString()
|
String[] |
getCoverage()
The extent or scope of the content of the resource. |
String |
getCoverageAsString()
|
String[] |
getCreator()
An entity primarily responsible for making the content of the resource. |
String |
getCreatorAsString()
|
static FeatureDescriptor |
getDescriptor(String featureName)
get the descriptor for a feature of the class, either method or attribute Note: the methods' feature are still not implemented |
String |
getFormat()
The physical or digital manifestation of the resource. |
static Collection |
getGetterMethods()
|
String |
getIdentifier()
An unambiguous reference to the resource within a given context. |
static Resource |
getInstance(RDFDB db,
URL id)
If an object of type DCResource with the indicated id exists in the db returns it otherwise create a new object in the db and returns it |
static Resource |
getInstance(String rdf)
|
String[] |
getLanguage()
A language of the intellectual content of the resource. |
String |
getLanguageAsString()
|
static Collection |
getPartsDescriptor()
|
String[] |
getPublisher()
An entity responsible for making the resource available. |
String |
getPublisherAsString()
|
String[] |
getRelation()
A reference to a related resource. |
String |
getRelationAsString()
|
String[] |
getResourceDate()
A date associated with an event in the life cycle of the resource. |
String |
getResourceDateAsString()
|
String |
getResourceType()
The nature or genre of the content of the resource. |
String[] |
getRights()
Information about rights held in and over the resource. |
String |
getRightsAsString()
|
String[] |
getSource()
A reference to a resource from which the present resource is derived. |
String |
getSourceAsString()
|
String[] |
getSubject()
A topic of the content of the resource. |
String |
getSubjectAsString()
|
void |
initialised()
Notify that the object has been created and its properties setup for the first time. |
static void |
listenForNewObj(NewObjListener listener)
Register to be notified when new objects are added. |
static Resource |
newInstance(RDFDB db)
Create a new object of this type with a locally unique id and returns it |
static Resource |
retrieve(URL id)
If an object of type DCResource with the indicated id has already being retrieved from the network returns it otherwise retrieve it together with its class information (methods, properties, etc.) |
void |
set_contributor(String contributor)
|
void |
set_coverage(String coverage)
|
void |
set_creator(String creator)
|
void |
set_format(String format)
|
void |
set_identifier(String identifier)
|
void |
set_language(String language)
|
void |
set_publisher(String publisher)
|
void |
set_relation(String relation)
|
void |
set_resourceDate(String resourceDate)
|
void |
set_resourceType(String resourceType)
|
void |
set_rights(String rights)
|
void |
set_source(String source)
|
void |
set_subject(String subject)
|
void |
setContributor(String[] contributor)
An entity responsible for making contributions to the content of the resource. |
void |
setCoverage(String[] coverage)
The extent or scope of the content of the resource. |
void |
setCreator(String[] creator)
An entity primarily responsible for making the content of the resource. |
void |
setFormat(String format)
The physical or digital manifestation of the resource. |
void |
setIdentifier(String identifier)
An unambiguous reference to the resource within a given context. |
void |
setLanguage(String[] language)
A language of the intellectual content of the resource. |
void |
setPublisher(String[] publisher)
An entity responsible for making the resource available. |
void |
setRelation(String[] relation)
A reference to a related resource. |
void |
setResourceDate(String[] resourceDate)
A date associated with an event in the life cycle of the resource. |
void |
setResourceType(String resourceType)
The nature or genre of the content of the resource. |
void |
setRights(String[] rights)
Information about rights held in and over the resource. |
void |
setSource(String[] source)
A reference to a resource from which the present resource is derived. |
void |
setSubject(String[] subject)
A topic of the content of the resource. |
| Methods inherited from class java.util.Observable |
|---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String CLASS_ID
| Constructor Detail |
|---|
public DCResource(RDFDB db,
URL id)
throws Exception
db - the db where the object is to be createdid - the id of the object to create
Exception| Method Detail |
|---|
public void setContributor(String[] contributor)
An entity responsible for making contributions to the content of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
contributor - public void set_contributor(String contributor)
contributor - public void setCoverage(String[] coverage)
The extent or scope of the content of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
coverage - public void set_coverage(String coverage)
coverage - public void setCreator(String[] creator)
An entity primarily responsible for making the content of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
creator - public void set_creator(String creator)
creator - public void setResourceDate(String[] resourceDate)
A date associated with an event in the life cycle of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
resourceDate - public void set_resourceDate(String resourceDate)
resourceDate - public void setFormat(String format)
The physical or digital manifestation of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
format - public void set_format(String format)
format - public void setIdentifier(String identifier)
An unambiguous reference to the resource within a given context.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
identifier - public void set_identifier(String identifier)
identifier - public void setLanguage(String[] language)
A language of the intellectual content of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
language - public void set_language(String language)
language - public void setPublisher(String[] publisher)
An entity responsible for making the resource available.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
publisher - public void set_publisher(String publisher)
publisher - public void setRelation(String[] relation)
A reference to a related resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
relation - public void set_relation(String relation)
relation - public void setRights(String[] rights)
Information about rights held in and over the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
rights - public void set_rights(String rights)
rights - public void setSource(String[] source)
A reference to a resource from which the present resource is derived.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
source - public void set_source(String source)
source - public void setSubject(String[] subject)
A topic of the content of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
subject - public void set_subject(String subject)
subject - public void setResourceType(String resourceType)
The nature or genre of the content of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
resourceType - public void set_resourceType(String resourceType)
resourceType -
public static Vector getAllInstances(RDFDB db)
throws Exception
db - the db where the instances are to be found
Exception
public static Vector getAllInstances()
throws Exception
Exception
public static Resource getInstance(RDFDB db,
URL id)
throws Exception
db - the db where the object is to be found or createdid - the id of the object to retrieve or create
Exception
public static Resource getInstance(String rdf)
throws Exception
rdf - some rdf code that contains a description of an object of this kind
Exceptionpublic String[] getContributor()
An entity responsible for making contributions to the content of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String getContributorAsString()
public String get_contributor()
throws Exception
Exceptionpublic String[] getCoverage()
The extent or scope of the content of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String getCoverageAsString()
public String get_coverage()
throws Exception
Exceptionpublic String[] getCreator()
An entity primarily responsible for making the content of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String getCreatorAsString()
public String get_creator()
throws Exception
Exceptionpublic String[] getResourceDate()
A date associated with an event in the life cycle of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String getResourceDateAsString()
public String get_resourceDate()
throws Exception
Exceptionpublic String getFormat()
The physical or digital manifestation of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String get_format()
throws Exception
Exceptionpublic String getIdentifier()
An unambiguous reference to the resource within a given context.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String get_identifier()
throws Exception
Exceptionpublic String[] getLanguage()
A language of the intellectual content of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String getLanguageAsString()
public String get_language()
throws Exception
Exceptionpublic String[] getPublisher()
An entity responsible for making the resource available.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String getPublisherAsString()
public String get_publisher()
throws Exception
Exceptionpublic String[] getRelation()
A reference to a related resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String getRelationAsString()
public String get_relation()
throws Exception
Exceptionpublic String[] getRights()
Information about rights held in and over the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String getRightsAsString()
public String get_rights()
throws Exception
Exceptionpublic String[] getSource()
A reference to a resource from which the present resource is derived.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String getSourceAsString()
public String get_source()
throws Exception
Exceptionpublic String[] getSubject()
A topic of the content of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String getSubjectAsString()
public String get_subject()
throws Exception
Exceptionpublic String getResourceType()
The nature or genre of the content of the resource.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf, http://dublincore.org/documents/dces/
public String get_resourceType()
throws Exception
Exceptionpublic static FeatureDescriptor getDescriptor(String featureName)
featureName - public static Collection getPartsDescriptor()
public static Collection getGetterMethods()
public static Resource newInstance(RDFDB db)
throws Exception
db - the db where the object is to be found or created
Exceptionpublic static void listenForNewObj(NewObjListener listener)
listener - the listenerpublic void initialised()
initialised in class Resource
public static Resource retrieve(URL id)
throws Exception
id - the id of the object to retrieve
Exceptionpublic void clear()
RDFObject
clear in class Resource
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||