|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jwo.vfc.hub.Metadata
Class for encapsulating VFC metadata. Note that not all metadata fields are validated by this class. That should be the responsibility of the metadatabase.
Constructor Summary | |
Metadata()
Creates a new Metadata object. |
Method Summary | |
boolean |
checkIntegrity()
Validates the integrity of the metadata. |
boolean |
checkMinimum()
Checks whether the compulsory fields are filled. |
boolean |
extract(String metaKey)
Stores the metadata items identified in keyword-argument pairs. |
String |
getAccess()
Identifies the read/write access of the object. |
String |
getAnimSound()
Identifies whether animation has a soundtrack. |
String |
getAuthor()
Identifies the primary author(s) associated with the object. |
String |
getBearing()
Identifies the bearing usually associated with landscape images. |
String |
getCommand()
Creates a command string which consists of the keyword argument pairs necessary to represent all metadata stored in this class. |
String |
getContributor()
Identifies the secondary contributor(s) associated with the object. |
String |
getDatabaseFile()
Identifies the database file name. |
String |
getDateTime()
Identifies the date/time of data collection. |
String |
getDescription()
Identifies the description associated with the object (used for captions etc.). |
String |
getDirName()
Identifies the object's original directory name. |
String |
getEast()
Identifies the eastern boundary of the object's spatial extent. |
String |
getError()
Reports any conversion errors associated with creating the metadata structure. |
String |
getFileName()
Identifies the object's original file name. |
String |
getFormat()
Identifies the format of the object. |
String |
getFOV()
Identifies the field of view usually associated with landscape images. |
String |
getGazetteer()
Identifies the gazetteer keywords associated with an object's spatial location. |
String |
getKeyword()
Identifies the keywords associated with the object. |
String |
getLanguage()
Identifies the language associated with object. |
String |
getLink()
Identifies the numbers of any objects linked with this one. |
String |
getMiscNotes()
Identifies any additional notes associated with miscellaneous data types. |
String |
getNorth()
Identifies the northern boundary of the object's spatial extent. |
String |
getNotes()
Identifies any additional notes associated with the object. |
int |
getObjectID()
Identifies the object's unique ID. |
String |
getObjectType()
Identifies the type of object. |
String |
getOwner()
Identifies the owner of the object. |
String |
getProjection()
Identifies the type of projection associated with spatial objects. |
String |
getRights()
Identifies ownership, copyright, IPR and distribution rights of object. |
String |
getSource()
Identifies the original source of the object. |
String |
getSouth()
Identifies the southern boundary of the object's spatial extent. |
String |
getSpatialType()
Identifies the type of spatial object stored. |
String |
getWest()
Identifies the western boundary of the object's spatial extent. |
String |
getXCoord()
Identifies the x-coordinate of the object's point location. |
String |
getYCoord()
Identifies the y-coordinate of the object's point location. |
void |
merge(Metadata newMetadata)
Merges the contents of a given metadata structure with this one. |
void |
setAccess(String access)
Sets the read/write access of the object. |
void |
setAnimSound(String soundtrack)
Sets the flag identifying whether the animation has a soundtrack. |
void |
setAuthor(String author)
Sets the primary author(s) associated with the object. |
void |
setBearing(String bearing)
Sets the bearing usually associated with landscape images. |
void |
setContributor(String contributor)
Sets the secondary contributor(s) to the object. |
void |
setDatabaseFile(String fileName)
Sets the database file name. |
void |
setDateTime(String dateTime)
Sets the date/time of data collection. |
void |
setDescription(String description)
Sets the description associated with the object. |
void |
setDirName(String dirName)
Sets the object's original directory name. |
void |
setEast(String east)
Sets the eastern boundary of the object's spatial extent. |
void |
setFileName(String fileName)
Sets the object's original file name. |
void |
setFormat(String format)
Sets the format of the object. |
void |
setFOV(String fov)
Sets the field of view usually associated with landscape images. |
void |
setGazetteer(String placeNames)
Sets the gazetteer keywords associated with an object's spatial location. |
void |
setKeyword(String keyword)
Sets the keywords associated with the object. |
void |
setLanguage(String language)
Sets the language associated with the object. |
void |
setLink(String links)
Sets any linked object IDs associated with this object. |
void |
setMiscNotes(String miscNotes)
Sets the notes associated with miscellaneous data types. |
void |
setNorth(String north)
Sets the northern boundary of the object's spatial extent. |
void |
setNotes(String notes)
Sets the notes associated with the object. |
void |
setObjectID(int objectID)
Sets the object's unique ID. |
void |
setObjectType(String objectType)
Sets the type of object. |
void |
setOwner(String owner)
Sets the owner of the object. |
void |
setProjection(String projection)
Sets the type of projection associated with spatial object. |
void |
setRights(String rights)
Sets the ownership and distribution rights of the object. |
void |
setSource(String source)
Sets the original source of the object. |
void |
setSouth(String south)
Sets the southern boundary of the object's spatial extent. |
void |
setSpatialType(String type)
Sets the type of spatial object. |
void |
setWest(String west)
Sets the western boundary of the object's spatial extent. |
void |
setXCoord(String xCoord)
Sets the x-coordinate of the object's point location. |
void |
setYCoord(String yCoord)
Sets the y-coordinate of the object's point location. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Metadata()
Method Detail |
public boolean extract(String metaKey)
getCommand()
public String getCommand()
extract(java.lang.String)
public void merge(Metadata newMetadata)
newMetadata
- Metadata to merge with this structure.public boolean checkMinimum()
public boolean checkIntegrity()
public int getObjectID()
public String getFileName()
public String getDirName()
public String getDatabaseFile()
public String getObjectType()
public String getFormat()
public String getOwner()
public String getAccess()
public String getBearing()
public String getFOV()
public String getAnimSound()
public String getSpatialType()
public String getProjection()
public String getXCoord()
public String getYCoord()
public String getNorth()
public String getSouth()
public String getEast()
public String getWest()
public String getGazetteer()
public String getKeyword()
public String getDescription()
public String getNotes()
public String getMiscNotes()
public String getLanguage()
public String getDateTime()
public String getAuthor()
public String getContributor()
public String getSource()
public String getRights()
public String getLink()
public String getError()
public void setObjectID(int objectID)
objectID
- Object identifier, or -1 if undefined.public void setFileName(String fileName)
fileName
- The object's original file name.public void setDirName(String dirName)
dirName
- The object's original directory.public void setDatabaseFile(String fileName)
fileName
- Name of databaseFile.public void setObjectType(String objectType)
objectType
- Type of object.public void setFormat(String format)
format
- Object file format.public void setOwner(String owner)
owner
- Owner of the object.public void setAccess(String access)
access
- Object access rights.public void setBearing(String bearing)
bearing
- Object bearing.public void setFOV(String fov)
fov
- Object field of view.public void setAnimSound(String soundtrack)
soundtrack
- True or False depending on presence of soundtrack.public void setSpatialType(String type)
type
- Type of spatial object (point, line, area, surface, volume).public void setProjection(String projection)
projection
- Type of projection associated with spatial object.public void setXCoord(String xCoord)
xCoord
- x-coordinate of point location.public void setYCoord(String yCoord)
yCoord
- y-coordinate of point location.public void setNorth(String north)
north
- Northern boundary of spatial extent.public void setSouth(String south)
public void setEast(String east)
east
- Eastern boundary of spatial extent.public void setWest(String west)
west
- Western boundary of spatial extent.public void setGazetteer(String placeNames)
placeNames
- gazetteer keywords.public void setKeyword(String keyword)
public void setDescription(String description)
description
- Description of the data object.public void setNotes(String notes)
notes
- Notes associated with the data object.public void setMiscNotes(String miscNotes)
public void setLanguage(String language)
language
- Language associated with the data object.public void setDateTime(String dateTime)
dateTime
- Date/time of data collection.public void setAuthor(String author)
author
- Primary author(s) of the object.public void setContributor(String contributor)
contributor
- Secondary contributor(s) to the object.public void setSource(String source)
source
- Original source of the object.public void setRights(String rights)
rights
- Ownership and distribution rights of the object.public void setLink(String links)
links
- Linked object ID(s).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |