nesstar.api.common
Class EGMSResourceTestBase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by nesstar.test.NesstarTestCase
              extended by nesstar.api.common.EGMSResourceTestBase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
EGMSResourceTest

public class EGMSResourceTestBase
extends NesstarTestCase

A Base Test class for EGMSResource.java Automatically generated from ARGO/UML


Field Summary
static EGMSResourceHome __home
           
 
Fields inherited from class nesstar.test.NesstarTestCase
ALL, CATALOG_HOME, CUBE_CUBE, DATAFILE_2568_F1, DATAFILE_4176_F1, DATAFILE_4213_F1, DATAFILE_44871_F1, DATAFILE_Cube_C1, DATAFILE_Mergetest_F2, DATAFILE_UnpopulatedElementsTest_F1, emWindow, HC_VAR_HOME, ID_2568, ID_2981, ID_3690, ID_4176, ID_4213, ID_4396, ID_44871, ID_4638, ID_CAMEROON, ID_CIRCULATORY, ID_CUBE, ID_HIERARCHY, ID_LANDET, ID_MERGE, ID_NOGROUPS, ID_NSD50, ID_PUBLISH, ID_UPElements, LICENSE, localIP, NESSTAR2_SERVER_URL, NESSTAR2_URL, NONE, ROOT_CATALOG, SECTION_MERGE_VG10, SECTION_MERGE_VG7, SECTION_MERGE_VG8, SERVER, SOME, SPSS_FORMAT, STAT_ENGINE, STATEMENT_HOME, STATEMENT1, STUDY_2568, STUDY_2981, STUDY_4176, STUDY_4213, STUDY_44871, STUDY_CAMEROON, STUDY_CIRCULATORY, STUDY_CUBE, STUDY_HIERARCHY, STUDY_HOME, STUDY_LANDET, STUDY_MERGE, STUDY_NOGROUPS, STUDY_NSD50, STUDY_UPElements, STUDY2_2568, STUDY2_4638, STUDY2_UPElements, TEST_PROTOCOL, VAR_HOME, VARIABLE_2568_V1, VARIABLE_2568_V13, VARIABLE_2568_V16, VARIABLE_2568_V17, VARIABLE_2568_V18, VARIABLE_2568_V3, VARIABLE_2568_V354, VARIABLE_2568_V77, VARIABLE_44871_V1, VARIABLE_CAMEROON_V238, VARIABLE_CAMEROON_V355, VARIABLE_LANDET_V1, VARIABLE_LANDET_V2, VARIABLE_MERGE_V22, VARIABLE_MERGE_V23, VARIABLE_MERGE_V26, VARIABLE_MERGE_V41, VID_2568_V1, VID_2568_V13, VID_2568_V16, VID_2568_V17, VID_2568_V18, VID_2568_V3, VID_2568_V354, VID_2568_V77, VID_44871_V1, VID_CAMEROON_V238, VID_CAMEROON_V355, VID_LANDET_V1, VID_LANDET_V2, VID_MERGE_V22, VID_MERGE_V23, VID_MERGE_V26, VID_MERGE_V41, WebDataURL
 
Constructor Summary
EGMSResourceTestBase(String testName)
          Constructor for the EGMSResourceTestBase object
 
Method Summary
static junit.framework.Test getAssociationTest()
           
static junit.framework.Test getAttributesTest()
           
static EGMSResourceHome getHome()
           
static junit.framework.Test getMethodsTest()
           
static junit.framework.Test getProperiesTest()
           
static void main(String[] args)
          The main program for the EGMSResourceTestBase class
static junit.framework.Test suite()
          Return the suite of all tests of this class
 void testAssociationEvent()
          A Test of the attribute event of type Event
 void testAssociationPerson()
          A Test of the attribute person of type Person
 void testAssociationStudy()
          A Test of the attribute study of type Study2
 void testAttributeAbstractText()
          A Test of the attribute abstractText
 void testAttributeAccessability()
          A Test of the attribute accessability
 void testAttributeAccessibility()
          A Test of the attribute accessibility
 void testAttributeAddressee()
          A Test of the attribute addressee
 void testAttributeAggregation()
          A Test of the attribute aggregation
 void testAttributeAlternativeTitle()
          A Test of the attribute alternativeTitle
 void testAttributeAudience()
          A Test of the attribute audience
 void testAttributeAuthorisingStatute()
          A Test of the attribute authorisingStatute
 void testAttributeAutoRemoveDate()
          A Test of the attribute autoRemoveDate
 void testAttributeBeginningDate()
          A Test of the attribute beginningDate
 void testAttributeBibliographicCitation()
          A Test of the attribute bibliographicCitation
 void testAttributeCategory()
          A Test of the attribute category
 void testAttributeComment()
          A Test of the attribute comment
 void testAttributeConformsTo()
          A Test of the attribute conformsTo
 void testAttributeCopyright()
          A Test of the attribute copyright
 void testAttributeCreationDate()
          A test on CreationDate
 void testAttributeCurrentLocation()
          A Test of the attribute currentLocation
 void testAttributeCustodian()
          A Test of the attribute custodian
 void testAttributeCutOffDate()
          A Test of the attribute cutOffDate
 void testAttributeDataProtectionExemptCategory()
          A Test of the attribute dataProtectionExemptCategory
 void testAttributeDateAccepted()
          A Test of the attribute dateAccepted
 void testAttributeDateAquired()
          A Test of the attribute dateAquired
 void testAttributeDateAvailable()
          A Test of the attribute dateAvailable
 void testAttributeDateCapturePeriod()
          A Test of the attribute dateCapturePeriod
 void testAttributeDateClosed()
          A Test of the attribute dateClosed
 void testAttributeDateCopyrighted()
          A Test of the attribute dateCopyrighted
 void testAttributeDateCreated()
          A Test of the attribute dateCreated
 void testAttributeDateDeclared()
          A Test of the attribute dateDeclared
 void testAttributeDateIssued()
          A Test of the attribute dateIssued
 void testAttributeDateModified()
          A Test of the attribute dateModified
 void testAttributeDateNextVersionDue()
          A Test of the attribute dateNextVersionDue
 void testAttributeDateOfLastReview()
          A Test of the attribute dateOfLastReview
 void testAttributeDatesModified()
          A Test of the attribute datesModified
 void testAttributeDateSubmitted()
          A Test of the attribute dateSubmitted
 void testAttributeDateValid()
          A Test of the attribute dateValid
 void testAttributeDescriptor()
          A Test of the attribute descriptor
 void testAttributeDigitalSignature()
          A Test of the attribute digitalSignature
 void testAttributeDisclosabilityToDPADataSubject()
          A Test of the attribute disclosabilityToDPADataSubject
 void testAttributeDisposal()
          A Test of the attribute disposal
 void testAttributeDisposalAction()
          A Test of the attribute disposalAction
 void testAttributeDisposalAuthorisedBy()
          A Test of the attribute disposalAuthorisedBy
 void testAttributeDisposalComment()
          A Test of the attribute disposalComment
 void testAttributeDisposalConditions()
          A Test of the attribute disposalConditions
 void testAttributeDisposalDate()
          A Test of the attribute disposalDate
 void testAttributeDisposalExportDestination()
          A Test of the attribute disposalExportDestination
 void testAttributeDisposalExportStatus()
          A Test of the attribute disposalExportStatus
 void testAttributeDisposalReview()
          A Test of the attribute disposalReview
 void testAttributeDisposalReviewDetails()
          A Test of the attribute disposalReviewDetails
 void testAttributeDisposalReviewerDetails()
          A Test of the attribute disposalReviewerDetails
 void testAttributeDisposalScheduleID()
          A Test of the attribute disposalScheduleID
 void testAttributeDisposalTimePeriod()
          A Test of the attribute disposalTimePeriod
 void testAttributeDPADataSubjectAccessExemption()
          A Test of the attribute DPADataSubjectAccessExemption
 void testAttributeEducationLevel()
          A Test of the attribute educationLevel
 void testAttributeEIRDisclosabilityIndicator()
          A Test of the attribute EIRDisclosabilityIndicator
 void testAttributeEIRExemption()
          A Test of the attribute EIRExemption
 void testAttributeEndDate()
          A Test of the attribute endDate
 void testAttributeEndDateOfCapture()
          A Test of the attribute endDateOfCapture
 void testAttributeExtent()
          A Test of the attribute extent
 void testAttributeFileplanID()
          A Test of the attribute fileplanID
 void testAttributeFOIDisclosabilityIndicator()
          A Test of the attribute FOIDisclosabilityIndicator
 void testAttributeFOIExemption()
          A Test of the attribute FOIExemption
 void testAttributeFOIReleaseDate()
          A Test of the attribute FOIReleaseDate
 void testAttributeFOIReleaseDetails()
          A Test of the attribute FOIReleaseDetails
 void testAttributeGroupAccess()
          A Test of the attribute groupAccess
 void testAttributeHasFormat()
          A Test of the attribute hasFormat
 void testAttributeHasPart()
          A Test of the attribute hasPart
 void testAttributeHasVersion()
          A Test of the attribute hasVersion
 void testAttributeHomeLocation()
          A Test of the attribute homeLocation
 void testAttributeIndividualUserAccessList()
          A Test of the attribute individualUserAccessList
 void testAttributeIsDefinedBy()
          A Test of the attribute isDefinedBy
 void testAttributeIsFormatOf()
          A Test of the attribute isFormatOf
 void testAttributeIsPartOf()
          A Test of the attribute isPartOf
 void testAttributeIsReferencedBy()
          A Test of the attribute isReferencedBy
 void testAttributeIsReplacedBy()
          A Test of the attribute isReplacedBy
 void testAttributeIsRequiredBy()
          A Test of the attribute isRequiredBy
 void testAttributeIsVersionOf()
          A Test of the attribute isVersionOf
 void testAttributeKeyword()
          A Test of the attribute keyword
 void testAttributeLabel()
          A Test of the attribute label
 void testAttributeLastFOIDisclosabilityReview()
          A Test of the attribute lastFOIDisclosabilityReview
 void testAttributeLocation()
          A Test of the attribute location
 void testAttributeMandate()
          A Test of the attribute mandate
 void testAttributeMediator()
          A Test of the attribute mediator
 void testAttributeMedium()
          A Test of the attribute medium
 void testAttributeNotes()
          A Test of the attribute notes
 void testAttributeOriginalFormat()
          A Test of the attribute originalFormat
 void testAttributePersonalDataAquisitionPurpose()
          A Test of the attribute personalDataAquisitionPurpose
 void testAttributePostcode()
          A Test of the attribute postcode
 void testAttributePreservation()
          A Test of the attribute preservation
 void testAttributePreviousProtectiveMarking()
          A Test of the attribute previousProtectiveMarking
 void testAttributeProcessIdentifier()
          A Test of the attribute processIdentifier
 void testAttributeProgramme()
          A Test of the attribute programme
 void testAttributeProject()
          A Test of the attribute project
 void testAttributeProtectiveMarking()
          A Test of the attribute protectiveMarking
 void testAttributeProtectiveMarkingChangeDate()
          A Test of the attribute protectiveMarkingChangeDate
 void testAttributeProtectiveMarkingExpiryDate()
          A Test of the attribute protectiveMarkingExpiryDate
 void testAttributeProvidesDefinitionOf()
          A Test of the attribute providesDefinitionOf
 void testAttributeReasonForRedaction()
          A Test of the attribute reasonForRedaction
 void testAttributeRedaction()
          A Test of the attribute redaction
 void testAttributeReplaces()
          A Test of the attribute replaces
 void testAttributeRequires()
          A Test of the attribute requires
 void testAttributeResourceReferences()
          A Test of the attribute resourceReferences
 void testAttributeSequenceNum()
          A Test of the attribute sequenceNum
 void testAttributeSpatial()
          A Test of the attribute spatial
 void testAttributeSpatialLocation()
          A Test of the attribute spatialLocation
 void testAttributeStartDateOfCapture()
          A Test of the attribute startDateOfCapture
 void testAttributeStatus()
          A Test of the attribute status
 void testAttributeStatusOfStartDateOfCapture()
          A Test of the attribute statusOfStartDateOfCapture
 void testAttributeSystemID()
          A Test of the attribute systemID
 void testAttributeTableOfContents()
          A Test of the attribute tableOfContents
 void testAttributeTemporal()
          A Test of the attribute temporal
 void testAttributeUpdatingFrequency()
          A Test of the attribute updatingFrequency
 void testAttributeUri()
          A Test of the attribute uri
 void testHomeOperationFindAll()
          A test on the home operation findAll(String id)
 void testHomeOperationFindByKey()
          A test on the home operation findByKey(String id)
 void testOperationDelete()
          A Test of the operation Delete()
 
Methods inherited from class nesstar.test.NesstarTestCase
addAllTests, addAllTests, addDatafile, addPath, adminLogin, assertBinary, assertContains, assertContains, assertDoesNotContain, assertDoesNotContain, assertDuration, assertEqualIgnoreOrder, assertEquals, assertMatches, assertMatches, assertNoAccess, assertNoAccess, assertNoAccess, assertNotEquals, assertNotEquals, assertObjDoesNotExists, assertObjDoesNotExists, assertObjExists, assertObjExists, assertWebAuthorisationRequired, assertWebAuthorisationRequired, basicSetup, cannotRun, catalogSetup, checkIllegalArgument, checkPaths, checkPathsTo, checkPathsTo, checkPerformance, compareWithFile, compareWithReferenceFile, compareWithTestFile, compareWithTestFile, createDerivedVariable, createDerivedVariable, createDerivedVariableUnprotected, cubeSetup, cvsAbstractName, cvsClientSetup, cvsCompare, cvsCompare, cvsFailIfDifferent, cvsFailIfDifferent, cvsFileRevision, cvsFileRevisions, cvsRootDir, dependsOn, dependsOn, equalToFile, equalToTestFile, equalToTestFile, executeRangeQuery, executeRangeQuery, executeRangeQuery, executeRangeQueryAdditivity, expectFalse, expectTrue, extractZipFile, factsheetSetup, findPosition, flirtWithTestFile, getBrowserPage, getBrowserPage, getCatalog, getCategoryStatistic, getCategoryStatisticFromVariable, getConcept, getCurrentBrowserPage, getCvsPropertiesFile, getDatafile, getDDITestFile, getDDITestFileContents, getDerivedVariableByName, getDimension, getDimensionFromCube, getEGMSResource, getEGMSResource2, getEvent, getExisting, getFailedDir, getFailedFile, getFilenames, getFilteredTestFile, getGeographicalUnit, getLocalFile, getMaxConcurrentOps, getMeasure, getNumberCompletedOps, getNumberHTTPConnections, getNumberStartedOps, getObj, getObjectsFrom, getObjURL, getOrganisation, getPage, getPage, getPartsOf, getPartsOf, getPartsOf, getPerson, getRawPage, getRDF, getReport, getResultDir, getResultFile, getSecureObjURL, getSecureServerURL, getServerDataDir, getServerDatafile, getServerIP, getServerLog, getServerName, getServerObjURL, getServerPage, getServerPageURL, getServerPassword, getServerPort, getServerSecurePort, getServerURL, getServerUsername, getStatementsOn, getStatementsOn, getTableFromStudy, getTerm, getTestDir, getTestFile, getTestFile, getVariable, getVariableFromStudy, getWebFile, getZipFile, hasWebData, HCSetup, isLocalServer, isNTService, isOnline, isQuickie, isReleaseTest, isWaitForSQLServerIndexer, loadCube, loadDDI, loadHashFromFile, loadStudy, loadStudy3, loadVariable, msg, msg, noDirectAccess, objExists, objsExists, openEMWindow, performRangeQuery, querySetup, read, rebootServer, rebootServer, reloadObj, removeAllVars, removeCreationDate, removeProperties, removeServerURL, repeatCheck, saveToTestFile, setNTService, setQuickie, setReleaseTest, setWaitForSQLServerIndexer, statementSetup, studyCleanup, studySetup, tableSetup, toMsg, toString, untested, updateChildren, variableSetup, waitForSQLServerIndexer, waitServer, warn, webclientSetup, write, xthesaurusSetup
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__home

public static EGMSResourceHome __home
Constructor Detail

EGMSResourceTestBase

public EGMSResourceTestBase(String testName)
Constructor for the EGMSResourceTestBase object

Parameters:
testName -
Method Detail

getHome

public static EGMSResourceHome getHome()
                                throws Exception
Throws:
Exception

getProperiesTest

public static junit.framework.Test getProperiesTest()
                                             throws Exception
Returns:
all the tests on the properties of the EGMSResource
Throws:
Exception

getAttributesTest

public static junit.framework.Test getAttributesTest()
                                              throws Exception
Returns:
all the tests on the attributes of the EGMSResource
Throws:
Exception

getAssociationTest

public static junit.framework.Test getAssociationTest()
                                               throws Exception
Returns:
all the tests on the associations of the EGMSResource
Throws:
Exception

getMethodsTest

public static junit.framework.Test getMethodsTest()
                                           throws Exception
Returns:
all the test on the methods of the EGMSResource
Throws:
Exception

main

public static void main(String[] args)
The main program for the EGMSResourceTestBase class

Parameters:
args - The command line arguments

suite

public static junit.framework.Test suite()
Return the suite of all tests of this class


testAttributeLabel

public void testAttributeLabel()
                        throws Exception
A Test of the attribute label

A name given to the resource. Maps to title

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

Throws:
Exception

testAttributeComment

public void testAttributeComment()
                          throws Exception
A Test of the attribute comment

An account of the content of the resource. Maps to description

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

Throws:
Exception

testAttributeUri

public void testAttributeUri()
                      throws Exception
A Test of the attribute uri

Throws:
Exception

testAttributeNotes

public void testAttributeNotes()
                        throws Exception
A Test of the attribute notes

Non e-GMS field. Used for citation.notes in relatedMaterials

Throws:
Exception

testAttributeAccessability

public void testAttributeAccessability()
                                throws Exception
A Test of the attribute accessability

Indicates the resource’s availability and usability to specific groups.

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

Throws:
Exception

testAttributeAddressee

public void testAttributeAddressee()
                            throws Exception
A Test of the attribute addressee

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

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

Throws:
Exception

testAttributeAggregation

public void testAttributeAggregation()
                              throws Exception
A Test of the attribute aggregation

The resource’s level or position in a hierarchy.

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

Throws:
Exception

testAttributeAudience

public void testAttributeAudience()
                           throws Exception
A Test of the attribute audience

A category of user for whom the resource is intended.

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

Throws:
Exception

testAttributeEducationLevel

public void testAttributeEducationLevel()
                                 throws Exception
A Test of the attribute educationLevel

Refinement of audience

A general statement describing the education or training context. Alternatively, a more specific statement of the location of the audience in terms of its progression through an education or training context.

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

Throws:
Exception

testAttributeMediator

public void testAttributeMediator()
                           throws Exception
A Test of the attribute mediator

Refinement of audience

A class of entity that mediates access to the resource and for whom the resource is intended or useful.

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

Throws:
Exception

testAttributeTemporal

public void testAttributeTemporal()
                           throws Exception
A Test of the attribute temporal

Refinement of coverage

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

Throws:
Exception

testAttributeBeginningDate

public void testAttributeBeginningDate()
                                throws Exception
A Test of the attribute beginningDate

Refinement of coverage.temporal

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

Throws:
Exception

testAttributeEndDate

public void testAttributeEndDate()
                          throws Exception
A Test of the attribute endDate

Refinement of coverage.temporal

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

Throws:
Exception

testAttributeDateCapturePeriod

public void testAttributeDateCapturePeriod()
                                    throws Exception
A Test of the attribute dateCapturePeriod

Refinement of coverage.temporal

If the elements of this array are ranges the end periods should be stored in EGMSResource2.coverageSpatialDateCapturePeriodEnds.

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

Throws:
Exception

testAttributeStatusOfStartDateOfCapture

public void testAttributeStatusOfStartDateOfCapture()
                                             throws Exception
A Test of the attribute statusOfStartDateOfCapture

Refinement of coverage.temporal

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

Throws:
Exception

testAttributeStartDateOfCapture

public void testAttributeStartDateOfCapture()
                                     throws Exception
A Test of the attribute startDateOfCapture

Refinement of coverage.temporal

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

Throws:
Exception

testAttributeEndDateOfCapture

public void testAttributeEndDateOfCapture()
                                   throws Exception
A Test of the attribute endDateOfCapture

Refinement of coverage.temporal

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

Throws:
Exception

testAttributeSpatial

public void testAttributeSpatial()
                          throws Exception
A Test of the attribute spatial

Refinement of coverage

Note: it is preferable to avoid using this field and use postcode or spatialLocation instead.

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

Throws:
Exception

testAttributePostcode

public void testAttributePostcode()
                           throws Exception
A Test of the attribute postcode

Refinement of coverage.spatial

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

Throws:
Exception

testAttributeSpatialLocation

public void testAttributeSpatialLocation()
                                  throws Exception
A Test of the attribute spatialLocation

Refinement of coverage.spatial

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

Throws:
Exception

testAttributeDateAvailable

public void testAttributeDateAvailable()
                                throws Exception
A Test of the attribute dateAvailable

Refinement of date

Date that the resource will become or did become available.

If it is a range this field stores the initial date and EGMSResource2.dateAvailableEnd stores the end date.

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

Throws:
Exception

testAttributeDateCreated

public void testAttributeDateCreated()
                              throws Exception
A Test of the attribute dateCreated

Refinement of date

Date of creation of the resource.

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

Throws:
Exception

testAttributeCutOffDate

public void testAttributeCutOffDate()
                             throws Exception
A Test of the attribute cutOffDate

Refinement of date

Date from which the resource should no longer be added to or modified.

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

Throws:
Exception

testAttributeDateClosed

public void testAttributeDateClosed()
                             throws Exception
A Test of the attribute dateClosed

Refinement of date

Date which the capacity to store the resource as part of a collection was revoked.

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

Throws:
Exception

testAttributeDateAccepted

public void testAttributeDateAccepted()
                               throws Exception
A Test of the attribute dateAccepted

Refinement of date

Date of acceptance of the resource (e.g. of thesis by university department, of article by journal etc.).

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

Throws:
Exception

testAttributeDateCopyrighted

public void testAttributeDateCopyrighted()
                                  throws Exception
A Test of the attribute dateCopyrighted

Refinement of date

Date of a statement of copyright. Use if date is different from date.created or if date.created is not given.

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

Throws:
Exception

testAttributeDateSubmitted

public void testAttributeDateSubmitted()
                                throws Exception
A Test of the attribute dateSubmitted

Refinement of date

Date of submission of the resource (e.g. thesis, article etc.).

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

Throws:
Exception

testAttributeDateDeclared

public void testAttributeDateDeclared()
                               throws Exception
A Test of the attribute dateDeclared

Refinement of date

Date on which the resource was declared, filed or stored.

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

Throws:
Exception

testAttributeDateIssued

public void testAttributeDateIssued()
                             throws Exception
A Test of the attribute dateIssued

Refinement of date

Date of formal issuance (e.g. publication) of the resource.

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

Throws:
Exception

testAttributeDateModified

public void testAttributeDateModified()
                               throws Exception
A Test of the attribute dateModified

Refinement of date

Date on which the resource was changed.

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

Throws:
Exception

testAttributeDateNextVersionDue

public void testAttributeDateNextVersionDue()
                                     throws Exception
A Test of the attribute dateNextVersionDue

Refinement of date

Date on which the resource is due to be superseded.

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

Throws:
Exception

testAttributeUpdatingFrequency

public void testAttributeUpdatingFrequency()
                                    throws Exception
A Test of the attribute updatingFrequency

Refinement of date

How often the resource is updated.

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

Throws:
Exception

testAttributeDateValid

public void testAttributeDateValid()
                            throws Exception
A Test of the attribute dateValid

Refinement of date

The date of validity of a resource.

If it is a range this field stores the initial date and EGMSResource2.dateValidEnd stores the end date.

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

Throws:
Exception

testAttributeAbstractText

public void testAttributeAbstractText()
                               throws Exception
A Test of the attribute abstractText

Refinement of description

A summary of the content of the resource.

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

Throws:
Exception

testAttributeTableOfContents

public void testAttributeTableOfContents()
                                  throws Exception
A Test of the attribute tableOfContents

Refinement of description

A list of sub-units of the content of the resource.

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

Throws:
Exception

testAttributeDigitalSignature

public void testAttributeDigitalSignature()
                                   throws Exception
A Test of the attribute digitalSignature

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

Throws:
Exception

testAttributeDisposal

public void testAttributeDisposal()
                           throws Exception
A Test of the attribute disposal

The retention and disposal instructions for the resource.

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

Throws:
Exception

testAttributeAutoRemoveDate

public void testAttributeAutoRemoveDate()
                                 throws Exception
A Test of the attribute autoRemoveDate

Refinement of disposal

The date on which the resource will automatically be removed from the system.

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

Throws:
Exception

testAttributeDisposalAction

public void testAttributeDisposalAction()
                                 throws Exception
A Test of the attribute disposalAction

Refinement of disposal

The action to be taken once the condition is reached.

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

Throws:
Exception

testAttributeDisposalAuthorisedBy

public void testAttributeDisposalAuthorisedBy()
                                       throws Exception
A Test of the attribute disposalAuthorisedBy

Refinement of disposal

The identity of the role, the person or the policy authorising the disposal.

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

Throws:
Exception

testAttributeDisposalComment

public void testAttributeDisposalComment()
                                  throws Exception
A Test of the attribute disposalComment

Refinement of disposal

The reason for disposal.

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

Throws:
Exception

testAttributeDisposalConditions

public void testAttributeDisposalConditions()
                                     throws Exception
A Test of the attribute disposalConditions

Refinement of disposal

An event that triggers disposal of the resource, e.g. closure of folder.

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

Throws:
Exception

testAttributeDisposalDate

public void testAttributeDisposalDate()
                               throws Exception
A Test of the attribute disposalDate

Refinement of disposal

The date the disposal action is due to take place, i.e. from the disposal event, plus the disposal time period.

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

Throws:
Exception

testAttributeDateOfLastReview

public void testAttributeDateOfLastReview()
                                   throws Exception
A Test of the attribute dateOfLastReview

Refinement of disposal

The date the disposal schedule was last reviewed

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

Throws:
Exception

testAttributeDisposalExportDestination

public void testAttributeDisposalExportDestination()
                                            throws Exception
A Test of the attribute disposalExportDestination

Refinement of disposal

The location where an exported resource will be disposed, e.g. National Archives for permanent preservation.

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

Throws:
Exception

testAttributeDisposalExportStatus

public void testAttributeDisposalExportStatus()
                                       throws Exception
A Test of the attribute disposalExportStatus

Refinement of disposal

Information about the progress of the export, e.g. pending, already executed, failed.

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

Throws:
Exception

testAttributeDisposalReview

public void testAttributeDisposalReview()
                                 throws Exception
A Test of the attribute disposalReview

Refinement of disposal

The date on which the resource should be reviewed to determine the need to retain it.

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

Throws:
Exception

testAttributeDisposalReviewDetails

public void testAttributeDisposalReviewDetails()
                                        throws Exception
A Test of the attribute disposalReviewDetails

Refinement of disposal

The details of the review decision which has been taken.

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

Throws:
Exception

testAttributeDisposalReviewerDetails

public void testAttributeDisposalReviewerDetails()
                                          throws Exception
A Test of the attribute disposalReviewerDetails

Refinement of disposal

The identity of the reviewer.

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

Throws:
Exception

testAttributeDisposalScheduleID

public void testAttributeDisposalScheduleID()
                                     throws Exception
A Test of the attribute disposalScheduleID

Refinement of disposal

The disposal schedule used to determine the disposal of the resource.

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

Throws:
Exception

testAttributeDisposalTimePeriod

public void testAttributeDisposalTimePeriod()
                                     throws Exception
A Test of the attribute disposalTimePeriod

Refinement of disposal

A specific period of time following a specific event determining the period for which the resource must be kept for business purposes.

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

Throws:
Exception

testAttributeExtent

public void testAttributeExtent()
                         throws Exception
A Test of the attribute extent

Refinement of format

The size or duration of the resource.

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

Throws:
Exception

testAttributeMedium

public void testAttributeMedium()
                         throws Exception
A Test of the attribute medium

Refinement of format

The material or physical carrier of the resource.

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

Throws:
Exception

testAttributeBibliographicCitation

public void testAttributeBibliographicCitation()
                                        throws Exception
A Test of the attribute bibliographicCitation

Refinement of identifier

A bibliographic reference for the resource.

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

Throws:
Exception

testAttributeFileplanID

public void testAttributeFileplanID()
                             throws Exception
A Test of the attribute fileplanID

Refinement of identifier

The reference derived from the fileplan. This is a culmination of information inherited from higher levels of aggregation in the fileplan.

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

Throws:
Exception

testAttributeSystemID

public void testAttributeSystemID()
                           throws Exception
A Test of the attribute systemID

Refinement of identifier

Typically, a machine-generated running number allocated when the file is first created. This will typically be used by the internal processes and will rarely be visible to the end user, although it can be a useful tool for administrators accessing other information about the file-path object (e.g. interrogating the audit trail).

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

Throws:
Exception

testAttributeLocation

public void testAttributeLocation()
                           throws Exception
A Test of the attribute location

The physical location of the resource.

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

Throws:
Exception

testAttributeCurrentLocation

public void testAttributeCurrentLocation()
                                  throws Exception
A Test of the attribute currentLocation

Refinement of location

The temporary place the resource is located, e.g. the name and address of a person who has checked out a disc.

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

Throws:
Exception

testAttributeHomeLocation

public void testAttributeHomeLocation()
                               throws Exception
A Test of the attribute homeLocation

Refinement of location

The place the resource is normally stored.

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

Throws:
Exception

testAttributeMandate

public void testAttributeMandate()
                          throws Exception
A Test of the attribute mandate

Legislative or other mandate under which the resource was produced.

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

Throws:
Exception

testAttributeAuthorisingStatute

public void testAttributeAuthorisingStatute()
                                     throws Exception
A Test of the attribute authorisingStatute

Refinement of mandate

The Act of Parliament or other legislation authorising the capture of information or development of the resource.

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

Throws:
Exception

testAttributeDataProtectionExemptCategory

public void testAttributeDataProtectionExemptCategory()
                                               throws Exception
A Test of the attribute dataProtectionExemptCategory

Refinement of mandate

One or more exemption clauses as defined in the Data Protection Act Part 4 (DPA), which applies to this resource.

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

Throws:
Exception

testAttributePersonalDataAquisitionPurpose

public void testAttributePersonalDataAquisitionPurpose()
                                                throws Exception
A Test of the attribute personalDataAquisitionPurpose

Refinement of mandate

Reason for the collection and storage of personal data.

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

Throws:
Exception

testAttributePreservation

public void testAttributePreservation()
                               throws Exception
A Test of the attribute preservation

Information to support the long-term preservation of a resource.

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

Throws:
Exception

testAttributeOriginalFormat

public void testAttributeOriginalFormat()
                                 throws Exception
A Test of the attribute originalFormat

Refinement of preservation

The original format of the resource.

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

Throws:
Exception

testAttributeConformsTo

public void testAttributeConformsTo()
                             throws Exception
A Test of the attribute conformsTo

Refinement of relation

A reference to an established standard to which the resource conforms.

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

Throws:
Exception

testAttributeHasFormat

public void testAttributeHasFormat()
                            throws Exception
A Test of the attribute hasFormat

Refinement of relation

The described resource pre-existed the referenced resource, which is essentially the same intellectual content presented in another format.

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

Throws:
Exception

testAttributeHasVersion

public void testAttributeHasVersion()
                             throws Exception
A Test of the attribute hasVersion

Refinement of relation

The described resource has a version, edition, or adaptation, namely, the referenced resource.

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

Throws:
Exception

testAttributeHasPart

public void testAttributeHasPart()
                          throws Exception
A Test of the attribute hasPart

Refinement of relation

The described resource includes the referenced resource either physically or logically.

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

Throws:
Exception

testAttributeIsDefinedBy

public void testAttributeIsDefinedBy()
                              throws Exception
A Test of the attribute isDefinedBy

Refinement of relation

The described resource is given an effective working definition by the referenced resource.

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

Throws:
Exception

testAttributeIsFormatOf

public void testAttributeIsFormatOf()
                             throws Exception
A Test of the attribute isFormatOf

Refinement of relation

The described resource is the same intellectual content of the referenced resource, but presented in another format.

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

Throws:
Exception

testAttributeIsPartOf

public void testAttributeIsPartOf()
                           throws Exception
A Test of the attribute isPartOf

Refinement of relation

The described resource is a physical or logical part of the referenced resource.Comments: When the described resource is part of another, it may be possible for it to inherit metadata elements from the parent resource. For example, the subject metadata of a folder may be inherited by all of the files within that folder.

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

Throws:
Exception

testAttributeIsReferencedBy

public void testAttributeIsReferencedBy()
                                 throws Exception
A Test of the attribute isReferencedBy

Refinement of relation

The described resource is referenced, cited, or otherwise pointed to by the referenced resource.

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

Throws:
Exception

testAttributeIsReplacedBy

public void testAttributeIsReplacedBy()
                               throws Exception
A Test of the attribute isReplacedBy

Refinement of relation

The described resource is supplanted, displaced, or superseded by the referenced resource.

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

Throws:
Exception

testAttributeIsRequiredBy

public void testAttributeIsRequiredBy()
                               throws Exception
A Test of the attribute isRequiredBy

Refinement of relation

The described resource is required by the referenced resource to support its function, delivery, or coherence of content.

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

Throws:
Exception

testAttributeIsVersionOf

public void testAttributeIsVersionOf()
                              throws Exception
A Test of the attribute isVersionOf

Refinement of relation

The described resource is a version, edition, or adaptation of the referenced resource. A change in version implies substantive changes in content rather than differences in format. Includes translations of resources.

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

Throws:
Exception

testAttributeProvidesDefinitionOf

public void testAttributeProvidesDefinitionOf()
                                       throws Exception
A Test of the attribute providesDefinitionOf

Refinement of relation

The described resource provides an effective working definition of an item whose usual name is given in the value.

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

Throws:
Exception

testAttributeReasonForRedaction

public void testAttributeReasonForRedaction()
                                     throws Exception
A Test of the attribute reasonForRedaction

Refinement of relation

The reason for the publication of a redaction or extract.

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

Throws:
Exception

testAttributeRedaction

public void testAttributeRedaction()
                            throws Exception
A Test of the attribute redaction

Refinement of relation

The described resource has a version with some part of the content marked or removed to make the remainder of the content releasable.

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

Throws:
Exception

testAttributeResourceReferences

public void testAttributeResourceReferences()
                                     throws Exception
A Test of the attribute resourceReferences

Refinement of relation

The described resource references, cites, or otherwise points to the referenced resource.

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

Throws:
Exception

testAttributeRequires

public void testAttributeRequires()
                           throws Exception
A Test of the attribute requires

Refinement of relation

The described resource requires the referenced resource to support its function, delivery, or coherence of content.

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

Throws:
Exception

testAttributeReplaces

public void testAttributeReplaces()
                           throws Exception
A Test of the attribute replaces

Refinement of relation

The described resource supplants, displaces, or supersedes the referenced resource.

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

Throws:
Exception

testAttributeSequenceNum

public void testAttributeSequenceNum()
                              throws Exception
A Test of the attribute sequenceNum

Refinement of relation

The resource’s allocated number in a sequence to which it belongs.

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

Throws:
Exception

testAttributeCopyright

public void testAttributeCopyright()
                            throws Exception
A Test of the attribute copyright

Refinement of rights

Statement and identifier indicating the legal ownership and rights regarding use and re-use of all or part of the resource.

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

Throws:
Exception

testAttributeCustodian

public void testAttributeCustodian()
                            throws Exception
A Test of the attribute custodian

Refinement of rights

The user or role identifier with local management powers over the resource, e.g. assignment and maintenance of access control markings.

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

Throws:
Exception

testAttributeDescriptor

public void testAttributeDescriptor()
                             throws Exception
A Test of the attribute descriptor

Refinement of rights

Refines the meaning of a protective marking, e.g. Policy, Contracts, Personnel. It may be used with group access permissions to determine access rights.

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

Throws:
Exception

testAttributeDisclosabilityToDPADataSubject

public void testAttributeDisclosabilityToDPADataSubject()
                                                 throws Exception
A Test of the attribute disclosabilityToDPADataSubject

Refinement of rights

Whether the resource can be disclosed (‘Y’ or ‘N’) in accordance with the DPA (Data Protection Act).

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

Throws:
Exception

testAttributeDPADataSubjectAccessExemption

public void testAttributeDPADataSubjectAccessExemption()
                                                throws Exception
A Test of the attribute DPADataSubjectAccessExemption

Refinement of rights

Whether the resource is exempt from DPA access provisions (‘Y’ or ‘N’).

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

Throws:
Exception

testAttributeEIRDisclosabilityIndicator

public void testAttributeEIRDisclosabilityIndicator()
                                             throws Exception
A Test of the attribute EIRDisclosabilityIndicator

Refinement of rights

Whether the resource can be disclosed (‘Y’ or ‘N’) in accordance with the EIR (Environmental Information Regulations).

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

Throws:
Exception

testAttributeEIRExemption

public void testAttributeEIRExemption()
                               throws Exception
A Test of the attribute EIRExemption

Refinement of rights

Whether there are exemptions to access to the resource (‘Y’ or ‘N’) in accordance with the EIR.

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

Throws:
Exception

testAttributeFOIDisclosabilityIndicator

public void testAttributeFOIDisclosabilityIndicator()
                                             throws Exception
A Test of the attribute FOIDisclosabilityIndicator

Refinement of rights

Whether the resource can be disclosed (‘Y’ or ‘N’) in accordance with the FOI (Freedom of Information Act).

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

Throws:
Exception

testAttributeFOIExemption

public void testAttributeFOIExemption()
                               throws Exception
A Test of the attribute FOIExemption

Refinement of rights

Whether there are exemptions to access to the resource (‘Y’ or ‘N’) in accordance with the FOI.

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

Throws:
Exception

testAttributeFOIReleaseDetails

public void testAttributeFOIReleaseDetails()
                                    throws Exception
A Test of the attribute FOIReleaseDetails

Refinement of rights

The details of the past or future release of the resource to public view either by general publication or by release in response to an individual request.

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

Throws:
Exception

testAttributeFOIReleaseDate

public void testAttributeFOIReleaseDate()
                                 throws Exception
A Test of the attribute FOIReleaseDate

Refinement of rights

The date of past or future release.

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

Throws:
Exception

testAttributeGroupAccess

public void testAttributeGroupAccess()
                              throws Exception
A Test of the attribute groupAccess

Refinement of rights

Name of a group or groups which have the right to access the resource.

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

Throws:
Exception

testAttributeIndividualUserAccessList

public void testAttributeIndividualUserAccessList()
                                           throws Exception
A Test of the attribute individualUserAccessList

Refinement of rights

Names of individuals having access to the resource.

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

Throws:
Exception

testAttributeLastFOIDisclosabilityReview

public void testAttributeLastFOIDisclosabilityReview()
                                              throws Exception
A Test of the attribute lastFOIDisclosabilityReview

Refinement of rights

The date of the previous formal decision regarding the disclosability of a resource.

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

Throws:
Exception

testAttributePreviousProtectiveMarking

public void testAttributePreviousProtectiveMarking()
                                            throws Exception
A Test of the attribute previousProtectiveMarking

Refinement of rights

Protective marking previously applied to a resource.

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

Throws:
Exception

testAttributeProtectiveMarking

public void testAttributeProtectiveMarking()
                                    throws Exception
A Test of the attribute protectiveMarking

Refinement of rights

The minimum level of security required to have access to the resource.

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

Throws:
Exception

testAttributeProtectiveMarkingChangeDate

public void testAttributeProtectiveMarkingChangeDate()
                                              throws Exception
A Test of the attribute protectiveMarkingChangeDate

Refinement of rights

The date the previous protective marking was superseded.

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

Throws:
Exception

testAttributeProtectiveMarkingExpiryDate

public void testAttributeProtectiveMarkingExpiryDate()
                                              throws Exception
A Test of the attribute protectiveMarkingExpiryDate

Refinement of rights

Date on which the existing protective marking becomes invalid.

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

Throws:
Exception

testAttributeStatus

public void testAttributeStatus()
                         throws Exception
A Test of the attribute status

The position or state of the resource.

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

Throws:
Exception

testAttributeCategory

public void testAttributeCategory()
                           throws Exception
A Test of the attribute category

Refinement of subject

Broad subject categories from the Government Category List, and, optionally, any other widely available category list.Comment: This is to allow users to scroll down through a list of very broad terms (e.g. Business and Industry) to narrower categories (e.g. Companies, Imports).

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

Throws:
Exception

testAttributeKeyword

public void testAttributeKeyword()
                          throws Exception
A Test of the attribute keyword

Refinement of subject

Words or terms used to describe, as specifically as possible, the subject matter of the resource. These should be taken from a controlled vocabulary or list.

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

Throws:
Exception

testAttributeProcessIdentifier

public void testAttributeProcessIdentifier()
                                    throws Exception
A Test of the attribute processIdentifier

Refinement of subject

Indicates a specific service or transaction, using an identifier taken from a recognised list.

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

Throws:
Exception

testAttributeProgramme

public void testAttributeProgramme()
                            throws Exception
A Test of the attribute programme

Refinement of subject

The broader policy programme to which this resource relates directly.

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

Throws:
Exception

testAttributeProject

public void testAttributeProject()
                          throws Exception
A Test of the attribute project

Refinement of subject

The specific project that this resource relates to directly.

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

Throws:
Exception

testAttributeAlternativeTitle

public void testAttributeAlternativeTitle()
                                   throws Exception
A Test of the attribute alternativeTitle

Refinement of title

Any form of the title used as a substitute or alternative to the formal title of the resource.

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

Throws:
Exception

testAttributeDatesModified

public void testAttributeDatesModified()
                                throws Exception
A Test of the attribute datesModified

An array of modification dates (currently stored as Strings as Data arrays are not yet supported).

Throws:
Exception

testAttributeAccessibility

public void testAttributeAccessibility()
                                throws Exception
A Test of the attribute accessibility

Throws:
Exception

testAttributeDateAquired

public void testAttributeDateAquired()
                              throws Exception
A Test of the attribute dateAquired

Incorrectly spelled property.

Replaced by EGMSResource2.dateAcquired.

Throws:
Exception

testAttributeCreationDate

public void testAttributeCreationDate()
                               throws Exception
A test on CreationDate

Throws:
Exception

testHomeOperationFindByKey

public void testHomeOperationFindByKey()
                                throws Exception
A test on the home operation findByKey(String id)

Throws:
Exception

testHomeOperationFindAll

public void testHomeOperationFindAll()
                              throws Exception
A test on the home operation findAll(String id)

Throws:
Exception

testOperationDelete

public void testOperationDelete()
                         throws Exception
A Test of the operation Delete()

Delete an isolated EGMResource. If the resource is associated to another object (Person, Event or Study) an error is returned and the resource is not deleted.

Throws:
Exception

testAssociationStudy

public void testAssociationStudy()
                          throws Exception
A Test of the attribute study of type Study2

Throws:
Exception

testAssociationPerson

public void testAssociationPerson()
                           throws Exception
A Test of the attribute person of type Person

Throws:
Exception

testAssociationEvent

public void testAssociationEvent()
                          throws Exception
A Test of the attribute event of type Event

Throws:
Exception

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved