nesstar.api.common
Class EGMSResource2

java.lang.Object
  extended by java.util.Observable
      extended by nesstar.rdf.RDFObject
          extended by nesstar.api.common.Resource
              extended by nesstar.api.common.DCResource
                  extended by nesstar.api.common.EGMSResource
                      extended by nesstar.api.common.EGMSResource2
All Implemented Interfaces:
Comparable, RDFObj
Direct Known Subclasses:
EGMSResource2Ex

public class EGMSResource2
extends EGMSResource

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
EGMSResource2(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_addresseeCopy()
           
 String get_coverageTemporalDateCapturePeriodEnds()
           
 String get_dateAcquired()
           
 String get_dateAvailableEnd()
           
 String get_dateValidEnd()
           
 String get_identifierCaseID()
           
 String get_subjectPerson()
           
 String[] getAddresseeCopy()
           The person (or persons) to whom the resource was copied.
 String getAddresseeCopyAsString()
           
static Vector getAllInstances()
           
static Vector getAllInstances(RDFDB db)
           
 String[] getCoverageTemporalDateCapturePeriodEnds()
           If an element of EGMSResource.dateCapturePeriod is a range the corresponding element of this array stores the end of the period.
 String getCoverageTemporalDateCapturePeriodEndsAsString()
           
 Date getDateAcquired()
           Refinement of date
 Date getDateAvailableEnd()
           To be used, if the dateAvailable property is a range, to store the end value of the range.
 Date getDateValidEnd()
           To be used, if the dateValid property is a range, to store the end value of the range.
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
 Bookmark GetFileURL()
          
 String GetFileURL(BasicExecutorLog log)
          
static Collection getGetterMethods()
           
 String getIdentifierCaseID()
           Refinement of Identifier to identify the case handling environment.
static Resource getInstance(RDFDB db, URL id)
          If an object of type EGMSResource2 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)
           
static Collection getPartsDescriptor()
           
 String[] getSubjectPerson()
           Refinement of Subject.
 String getSubjectPersonAsString()
           
 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 EGMSResource2 with the indicated id has already being retrieved from the network returns it otherwise retrieve it together with its class information (methods, properties, etc.)
 Bookmark SaveFile(File file)
           Save a file to be linked to the resource;
 void SaveFile(File file, BasicExecutorLog log)
           Save a file to be linked to the resource;
 void set_addresseeCopy(String addresseeCopy)
           
 void set_coverageTemporalDateCapturePeriodEnds(String coverageTemporalDateCapturePeriodEnds)
           
 void set_dateAcquired(String dateAcquired)
           
 void set_dateAvailableEnd(String dateAvailableEnd)
           
 void set_dateValidEnd(String dateValidEnd)
           
 void set_identifierCaseID(String identifierCaseID)
           
 void set_subjectPerson(String subjectPerson)
           
 void setAddresseeCopy(String[] addresseeCopy)
           The person (or persons) to whom the resource was copied.
 void setCoverageTemporalDateCapturePeriodEnds(String[] coverageTemporalDateCapturePeriodEnds)
           If an element of EGMSResource.dateCapturePeriod is a range the corresponding element of this array stores the end of the period.
 void setDateAcquired(Date dateAcquired)
           Refinement of date
 void setDateAvailableEnd(Date dateAvailableEnd)
           To be used, if the dateAvailable property is a range, to store the end value of the range.
 void setDateValidEnd(Date dateValidEnd)
           To be used, if the dateValid property is a range, to store the end value of the range.
 void setIdentifierCaseID(String identifierCaseID)
           Refinement of Identifier to identify the case handling environment.
 void setSubjectPerson(String[] subjectPerson)
           Refinement of Subject.
 
Methods inherited from class nesstar.api.common.EGMSResource
Delete, Delete, get_abstractText, get_accessability, get_accessibility, get_addressee, get_aggregation, get_alternativeTitle, get_audience, get_authorisingStatute, get_autoRemoveDate, get_beginningDate, get_bibliographicCitation, get_category, get_conformsTo, get_copyright, get_currentLocation, get_custodian, get_cutOffDate, get_dataProtectionExemptCategory, get_dateAccepted, get_dateAquired, get_dateAvailable, get_dateCapturePeriod, get_dateClosed, get_dateCopyrighted, get_dateCreated, get_dateDeclared, get_dateIssued, get_dateModified, get_dateNextVersionDue, get_dateOfLastReview, get_datesModified, get_dateSubmitted, get_dateValid, get_descriptor, get_digitalSignature, get_disclosabilityToDPADataSubject, get_disposal, get_disposalAction, get_disposalAuthorisedBy, get_disposalComment, get_disposalConditions, get_disposalDate, get_disposalExportDestination, get_disposalExportStatus, get_disposalReview, get_disposalReviewDetails, get_disposalReviewerDetails, get_disposalScheduleID, get_disposalTimePeriod, get_dPADataSubjectAccessExemption, get_educationLevel, get_eIRDisclosabilityIndicator, get_eIRExemption, get_endDate, get_endDateOfCapture, get_event, get_extent, get_fileplanID, get_fOIDisclosabilityIndicator, get_fOIExemption, get_fOIReleaseDate, get_fOIReleaseDetails, get_groupAccess, get_hasFormat, get_hasPart, get_hasVersion, get_homeLocation, get_individualUserAccessList, get_isDefinedBy, get_isFormatOf, get_isPartOf, get_isReferencedBy, get_isReplacedBy, get_isRequiredBy, get_isVersionOf, get_keyword, get_lastFOIDisclosabilityReview, get_location, get_mandate, get_mediator, get_medium, get_notes, get_originalFormat, get_person, get_personalDataAquisitionPurpose, get_postcode, get_preservation, get_previousProtectiveMarking, get_processIdentifier, get_programme, get_project, get_protectiveMarking, get_protectiveMarkingChangeDate, get_protectiveMarkingExpiryDate, get_providesDefinitionOf, get_reasonForRedaction, get_redaction, get_replaces, get_requires, get_resourceReferences, get_sequenceNum, get_spatial, get_spatialLocation, get_startDateOfCapture, get_status, get_statusOfStartDateOfCapture, get_study, get_systemID, get_tableOfContents, get_temporal, get_updatingFrequency, get_uri, getAbstractText, getAccessability, getAccessibility, getAddressee, getAddresseeAsString, getAggregation, getAlternativeTitle, getAlternativeTitleAsString, getAudience, getAuthorisingStatute, getAutoRemoveDate, getBeginningDate, getBibliographicCitation, getCategory, getCategoryAsString, getComment, getConformsTo, getConformsToAsString, getCopyright, getCopyrightAsString, getCurrentLocation, getCustodian, getCustodianAsString, getCutOffDate, getDataProtectionExemptCategory, getDataProtectionExemptCategoryAsString, getDateAccepted, getDateAquired, getDateAvailable, getDateCapturePeriod, getDateCapturePeriodAsString, getDateClosed, getDateCopyrighted, getDateCreated, getDateDeclared, getDateIssued, getDateModified, getDateNextVersionDue, getDateOfLastReview, getDatesModified, getDatesModifiedAsString, getDateSubmitted, getDateValid, getDescriptor, getDigitalSignature, getDisclosabilityToDPADataSubject, getDisposal, getDisposalAction, getDisposalAuthorisedBy, getDisposalAuthorisedByAsString, getDisposalComment, getDisposalConditions, getDisposalDate, getDisposalExportDestination, getDisposalExportStatus, getDisposalReview, getDisposalReviewDetails, getDisposalReviewerDetails, getDisposalReviewerDetailsAsString, getDisposalScheduleID, getDisposalTimePeriod, getDPADataSubjectAccessExemption, getEducationLevel, getEIRDisclosabilityIndicator, getEIRExemption, getEndDate, getEndDateOfCapture, getEvent, getExtent, getFileplanID, getFOIDisclosabilityIndicator, getFOIExemption, getFOIReleaseDate, getFOIReleaseDetails, getFOIReleaseDetailsAsString, getGroupAccess, getGroupAccessAsString, getHasFormat, getHasFormatAsString, getHasPart, getHasPartAsString, getHasVersion, getHasVersionAsString, getHomeLocation, getIndividualUserAccessList, getIndividualUserAccessListAsString, getIsDefinedBy, getIsDefinedByAsString, getIsFormatOf, getIsFormatOfAsString, getIsPartOf, getIsPartOfAsString, getIsReferencedBy, getIsReferencedByAsString, getIsReplacedBy, getIsReplacedByAsString, getIsRequiredBy, getIsRequiredByAsString, getIsVersionOf, getKeyword, getKeywordAsString, getLastFOIDisclosabilityReview, getLocation, getMandate, getMediator, getMedium, getNotes, getOriginalFormat, getPerson, getPersonalDataAquisitionPurpose, getPersonalDataAquisitionPurposeAsString, getPostcode, getPostcodeAsString, getPreservation, getPreviousProtectiveMarking, getPreviousProtectiveMarkingAsString, getProcessIdentifier, getProcessIdentifierAsString, getProgramme, getProgrammeAsString, getProject, getProjectAsString, getProtectiveMarking, getProtectiveMarkingChangeDate, getProtectiveMarkingExpiryDate, getProvidesDefinitionOf, getReasonForRedaction, getRedaction, getReplaces, getReplacesAsString, getRequires, getRequiresAsString, getResourceReferences, getResourceReferencesAsString, getSequenceNum, getSpatial, getSpatialAsString, getSpatialLocation, getSpatialLocationAsString, getStartDateOfCapture, getStatus, getStatusOfStartDateOfCapture, getStudy, getSystemID, getTableOfContents, getTemporal, getTemporalAsString, getUpdatingFrequency, getUri, set_abstractText, set_accessability, set_accessibility, set_addressee, set_aggregation, set_alternativeTitle, set_audience, set_authorisingStatute, set_autoRemoveDate, set_beginningDate, set_bibliographicCitation, set_category, set_conformsTo, set_copyright, set_currentLocation, set_custodian, set_cutOffDate, set_dataProtectionExemptCategory, set_dateAccepted, set_dateAquired, set_dateAvailable, set_dateCapturePeriod, set_dateClosed, set_dateCopyrighted, set_dateCreated, set_dateDeclared, set_dateIssued, set_dateModified, set_dateNextVersionDue, set_dateOfLastReview, set_datesModified, set_dateSubmitted, set_dateValid, set_descriptor, set_digitalSignature, set_disclosabilityToDPADataSubject, set_disposal, set_disposalAction, set_disposalAuthorisedBy, set_disposalComment, set_disposalConditions, set_disposalDate, set_disposalExportDestination, set_disposalExportStatus, set_disposalReview, set_disposalReviewDetails, set_disposalReviewerDetails, set_disposalScheduleID, set_disposalTimePeriod, set_dPADataSubjectAccessExemption, set_educationLevel, set_eIRDisclosabilityIndicator, set_eIRExemption, set_endDate, set_endDateOfCapture, set_event, set_extent, set_fileplanID, set_fOIDisclosabilityIndicator, set_fOIExemption, set_fOIReleaseDate, set_fOIReleaseDetails, set_groupAccess, set_hasFormat, set_hasPart, set_hasVersion, set_homeLocation, set_individualUserAccessList, set_isDefinedBy, set_isFormatOf, set_isPartOf, set_isReferencedBy, set_isReplacedBy, set_isRequiredBy, set_isVersionOf, set_keyword, set_lastFOIDisclosabilityReview, set_location, set_mandate, set_mediator, set_medium, set_notes, set_originalFormat, set_person, set_personalDataAquisitionPurpose, set_postcode, set_preservation, set_previousProtectiveMarking, set_processIdentifier, set_programme, set_project, set_protectiveMarking, set_protectiveMarkingChangeDate, set_protectiveMarkingExpiryDate, set_providesDefinitionOf, set_reasonForRedaction, set_redaction, set_replaces, set_requires, set_resourceReferences, set_sequenceNum, set_spatial, set_spatialLocation, set_startDateOfCapture, set_status, set_statusOfStartDateOfCapture, set_study, set_systemID, set_tableOfContents, set_temporal, set_updatingFrequency, set_uri, setAbstractText, setAccessability, setAccessibility, setAddressee, setAggregation, setAlternativeTitle, setAudience, setAuthorisingStatute, setAutoRemoveDate, setBeginningDate, setBibliographicCitation, setCategory, setConformsTo, setCopyright, setCurrentLocation, setCustodian, setCutOffDate, setDataProtectionExemptCategory, setDateAccepted, setDateAquired, setDateAvailable, setDateCapturePeriod, setDateClosed, setDateCopyrighted, setDateCreated, setDateDeclared, setDateIssued, setDateModified, setDateNextVersionDue, setDateOfLastReview, setDatesModified, setDateSubmitted, setDateValid, setDescriptor, setDigitalSignature, setDisclosabilityToDPADataSubject, setDisposal, setDisposalAction, setDisposalAuthorisedBy, setDisposalComment, setDisposalConditions, setDisposalDate, setDisposalExportDestination, setDisposalExportStatus, setDisposalReview, setDisposalReviewDetails, setDisposalReviewerDetails, setDisposalScheduleID, setDisposalTimePeriod, setDPADataSubjectAccessExemption, setEducationLevel, setEIRDisclosabilityIndicator, setEIRExemption, setEndDate, setEndDateOfCapture, setEvent, setExtent, setFileplanID, setFOIDisclosabilityIndicator, setFOIExemption, setFOIReleaseDate, setFOIReleaseDetails, setGroupAccess, setHasFormat, setHasPart, setHasVersion, setHomeLocation, setIndividualUserAccessList, setIsDefinedBy, setIsFormatOf, setIsPartOf, setIsReferencedBy, setIsReplacedBy, setIsRequiredBy, setIsVersionOf, setKeyword, setLastFOIDisclosabilityReview, setLocation, setMandate, setMediator, setMedium, setNotes, setOriginalFormat, setPerson, setPersonalDataAquisitionPurpose, setPostcode, setPreservation, setPreviousProtectiveMarking, setProcessIdentifier, setProgramme, setProject, setProtectiveMarking, setProtectiveMarkingChangeDate, setProtectiveMarkingExpiryDate, setProvidesDefinitionOf, setReasonForRedaction, setRedaction, setReplaces, setRequires, setResourceReferences, setSequenceNum, setSpatial, setSpatialLocation, setStartDateOfCapture, setStatus, setStatusOfStartDateOfCapture, setStudy, setSystemID, setTableOfContents, setTemporal, setUpdatingFrequency, setUri
 
Methods inherited from class nesstar.api.common.DCResource
get_contributor, get_coverage, get_creator, get_format, get_identifier, get_language, get_publisher, get_relation, get_resourceDate, get_resourceType, get_rights, get_source, get_subject, getContributor, getContributorAsString, getCoverage, getCoverageAsString, getCreator, getCreatorAsString, getFormat, getIdentifier, getLanguage, getLanguageAsString, getPublisher, getPublisherAsString, getRelation, getRelationAsString, getResourceDate, getResourceDateAsString, getResourceType, getRights, getRightsAsString, getSource, getSourceAsString, getSubject, getSubjectAsString, set_contributor, set_coverage, set_creator, set_format, set_identifier, set_language, set_publisher, set_relation, set_resourceDate, set_resourceType, set_rights, set_source, set_subject, setContributor, setCoverage, setCreator, setFormat, setIdentifier, setLanguage, setPublisher, setRelation, setResourceDate, setResourceType, setRights, setSource, setSubject
 
Methods inherited from class nesstar.rdf.RDFObject
AddProperty, AddStringProperty, chkFinal, compareTo, dbg, equals, err, err, get_comment, get_creationDate, get_label, get, getAccessCondition, getBinding, getBindings, getBookmarkLabel, getCollectionURL, getCreationDate, getDB, getDescriptor, getDomain, getID, getInitialisedProperties, getInternalID, getLabel, getLastClear, getPartsDescriptor, getPartsDescriptor, getPath, getProperties, GetProperties, GetProperty, GetPropertyStatement, GetPropertyStatements, getRange, getRangeType, getRef, getRef, getServer, getShortId, getShortID, getStatementHome, GetStringProperties, GetStringProperty, getTimeoutInSecs, getType, init, init, isComplete, isLocal, isMeta, isStale, loaded, neededCollectionReload, neededReload, neededReload, neededReload, neededReload, needsReload, reload, remove, set_comment, set_complete, set_creationDate, set_label, set, setComment, setComplete, setCreationDate, setDB, setHardOrSoft, setID, setLabel, setLastClear, SetProperty, setServer, SetStringProperty, setTimeoutInSecs, setTimestamp, setType, setTypeID, stale, toRDF, toRDFWrapped, toString, update
 
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

CLASS_ID

public static String CLASS_ID
Constructor Detail

EGMSResource2

public EGMSResource2(RDFDB db,
                     URL id)
              throws Exception
Create an object with the indicated id in the indicated db

Parameters:
db - the db where the object is to be created
id - the id of the object to create
Throws:
Exception
Method Detail

setDateAcquired

public void setDateAcquired(Date dateAcquired)

Refinement of date

The date on which the resource was received into the organisation.

For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf

Replaces the mispelled EGMSResource.dateAquired.

Parameters:
dateAcquired -

set_dateAcquired

public void set_dateAcquired(String dateAcquired)
Parameters:
dateAcquired -

setDateAvailableEnd

public void setDateAvailableEnd(Date dateAvailableEnd)

To be used, if the dateAvailable property is a range, to store the end value of the range.

For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf

Parameters:
dateAvailableEnd -

set_dateAvailableEnd

public void set_dateAvailableEnd(String dateAvailableEnd)
Parameters:
dateAvailableEnd -

setDateValidEnd

public void setDateValidEnd(Date dateValidEnd)

To be used, if the dateValid property is a range, to store the end value of the range.

For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf

Parameters:
dateValidEnd -

set_dateValidEnd

public void set_dateValidEnd(String dateValidEnd)
Parameters:
dateValidEnd -

setCoverageTemporalDateCapturePeriodEnds

public void setCoverageTemporalDateCapturePeriodEnds(String[] coverageTemporalDateCapturePeriodEnds)

If an element of EGMSResource.dateCapturePeriod is a range the corresponding element of this array stores the end of the period.

Parameters:
coverageTemporalDateCapturePeriodEnds -

set_coverageTemporalDateCapturePeriodEnds

public void set_coverageTemporalDateCapturePeriodEnds(String coverageTemporalDateCapturePeriodEnds)
Parameters:
coverageTemporalDateCapturePeriodEnds -

setAddresseeCopy

public void setAddresseeCopy(String[] addresseeCopy)

The person (or persons) to whom the resource was copied.

For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf

Parameters:
addresseeCopy -

set_addresseeCopy

public void set_addresseeCopy(String addresseeCopy)
Parameters:
addresseeCopy -

setIdentifierCaseID

public void setIdentifierCaseID(String identifierCaseID)

Refinement of Identifier to identify the case handling environment.

For more information see e-GMS 3.0.

Parameters:
identifierCaseID -

set_identifierCaseID

public void set_identifierCaseID(String identifierCaseID)
Parameters:
identifierCaseID -

setSubjectPerson

public void setSubjectPerson(String[] subjectPerson)

Refinement of Subject.

For more information see e-GMS 3.0.

Parameters:
subjectPerson -

set_subjectPerson

public void set_subjectPerson(String subjectPerson)
Parameters:
subjectPerson -

getAllInstances

public static Vector getAllInstances(RDFDB db)
                              throws Exception
Parameters:
db - the db where the instances are to be found
Returns:
all the instances of this class in the database
Throws:
Exception

getAllInstances

public static Vector getAllInstances()
                              throws Exception
Returns:
get all the instances of this class from the default database
Throws:
Exception

getInstance

public static Resource getInstance(RDFDB db,
                                   URL id)
                            throws Exception
If an object of type EGMSResource2 with the indicated id exists in the db returns it otherwise create a new object in the db and returns it

Parameters:
db - the db where the object is to be found or created
id - the id of the object to retrieve or create
Returns:
an object of type Server with the indicated id and existing in the indicated db
Throws:
Exception

getInstance

public static Resource getInstance(String rdf)
                            throws Exception
Parameters:
rdf - some rdf code that contains a description of an object of this kind
Returns:
the single instance of this class described in the passed RDF code
Throws:
Exception

getDateAcquired

public Date getDateAcquired()

Refinement of date

The date on which the resource was received into the organisation.

For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf

Replaces the mispelled EGMSResource.dateAquired.


get_dateAcquired

public String get_dateAcquired()
                        throws Exception
Throws:
Exception

getDateAvailableEnd

public Date getDateAvailableEnd()

To be used, if the dateAvailable property is a range, to store the end value of the range.

For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf


get_dateAvailableEnd

public String get_dateAvailableEnd()
                            throws Exception
Throws:
Exception

getDateValidEnd

public Date getDateValidEnd()

To be used, if the dateValid property is a range, to store the end value of the range.

For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf


get_dateValidEnd

public String get_dateValidEnd()
                        throws Exception
Throws:
Exception

getCoverageTemporalDateCapturePeriodEnds

public String[] getCoverageTemporalDateCapturePeriodEnds()

If an element of EGMSResource.dateCapturePeriod is a range the corresponding element of this array stores the end of the period.


getCoverageTemporalDateCapturePeriodEndsAsString

public String getCoverageTemporalDateCapturePeriodEndsAsString()

get_coverageTemporalDateCapturePeriodEnds

public String get_coverageTemporalDateCapturePeriodEnds()
                                                 throws Exception
Throws:
Exception

getAddresseeCopy

public String[] getAddresseeCopy()

The person (or persons) to whom the resource was copied.

For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf


getAddresseeCopyAsString

public String getAddresseeCopyAsString()

get_addresseeCopy

public String get_addresseeCopy()
                         throws Exception
Throws:
Exception

getIdentifierCaseID

public String getIdentifierCaseID()

Refinement of Identifier to identify the case handling environment.

For more information see e-GMS 3.0.


get_identifierCaseID

public String get_identifierCaseID()
                            throws Exception
Throws:
Exception

getSubjectPerson

public String[] getSubjectPerson()

Refinement of Subject.

For more information see e-GMS 3.0.


getSubjectPersonAsString

public String getSubjectPersonAsString()

get_subjectPerson

public String get_subjectPerson()
                         throws Exception
Throws:
Exception

GetFileURL

public Bookmark GetFileURL()
                    throws Exception

Returns:
the URL of a file linked to the resource

Throws:
Exception

GetFileURL

public String GetFileURL(BasicExecutorLog log)
                  throws Exception

Parameters:
log - the Executor of this method;if null a default one is used
Returns:
the URL of a file linked to the resource

Throws:
Exception

getDescriptor

public 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

Parameters:
featureName -

getPartsDescriptor

public static Collection getPartsDescriptor()
Returns:
the descriptor of the attribute that are part of the class

getGetterMethods

public static Collection getGetterMethods()
Returns:
the descriptor of the attribute that are part of the class

newInstance

public static Resource newInstance(RDFDB db)
                            throws Exception
Create a new object of this type with a locally unique id and returns it

Parameters:
db - the db where the object is to be found or created
Returns:
an object of this type
Throws:
Exception

listenForNewObj

public static void listenForNewObj(NewObjListener listener)
Register to be notified when new objects are added.

Parameters:
listener - the listener

initialised

public void initialised()
Notify that the object has been created and its properties setup for the first time. This is NOT called when the object is simply reloaded.

Overrides:
initialised in class EGMSResource

retrieve

public static Resource retrieve(URL id)
                         throws Exception
If an object of type EGMSResource2 with the indicated id has already being retrieved from the network returns it otherwise retrieve it together with its class information (methods, properties, etc.)

Parameters:
id - the id of the object to retrieve
Returns:
an object of type EGMSResource2 with the indicated id
Throws:
Exception

clear

public void clear()
Description copied from class: RDFObject
Clear all properties of this object

Overrides:
clear in class EGMSResource

SaveFile

public Bookmark SaveFile(File file)
                  throws Exception

Save a file to be linked to the resource;

The file will be stored in a folder in the server not accessible through web

Parameters:
file - the file to be saved

Throws:
Exception

SaveFile

public void SaveFile(File file,
                     BasicExecutorLog log)
              throws Exception

Save a file to be linked to the resource;

The file will be stored in a folder in the server not accessible through web

Parameters:
file - the file to be saved

log - the Executor of this method;if null a default one is used
Throws:
Exception

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved