DELTA
SVN   $UH E@LGFE+WV(H GKA_F}I7ILKL2Lc\pNNGLD0FbDDMetadata.java:
	The design of , created in project 3.

sampleTemplate.xml:
	S ts.  Associwith tand
		
Requirements.txtr forclarification
	added by me.
Specinterface sea
	minor notesToSelfN on my overall ideatesting framework.  Possibly will be
	removefore submission.
ENDREP
DELTA
SVN   qa	EE:E:DbF_SeJFKWHPE\GBD DhDQDoD6DtDCF!DGbDQHhJYDHHAHkH-D6EBD:FWESDRFIUI`JR$S$R$TTS#ZSUDWFiNaFdJmNI;FiIpDFZGG:P7RLW L9EZDXFSGI*EJ:FEKyh?R$@lU[oGLFiDfD}fM6{XT"@uzRN{]nMr@4ILIqI@Hk<!-- 
$Date: 2007-04-08 18:28:31 -0700 (Sun, 08 Apr) $
$Revision: 88Author: jfennellHeadURL: https://svn.cs.hmc.edu/cs121spring/awesome/project3/work_products/Data_Manager/Metadata%20Prototype%20and%20Design/sampleTemplate.xmId: 889 01Z 

Jason Fe
This file specifies the format of a m ob given smedia
--><?ver="1.0" encoding="US-ASCII"?Dodoc &need to bd how?  V0.1">
<TypeName>Music</
	<Field></ Everything should have tone...itlArtistComposerlbumDisk NumbGenrTracYeaFInionFromilesystem iCommen In eDeal w/ally</DVDctors -- How dith fsmultiple entrieshapter Ditto ..StudioSummaryRatingTVAcut is a TV lisTimes AvailabVideo-- maybDurUnknown<>ENDREP
DELTA
SVN   _oEFH:H:DPIIH:NnJFK]DG FVF`DEDrDxDEDI_IgD-EGI^FzHJ]W*D@eCD^EMEF/D@F*K`DG(FYD*E0I_DSE I.D)DD-E7E#E5E@DwKLEOM'HCE4DSI DNGUDEED=DwD*DNI'DGDD*DEpIKHHDH'GgIEZDHFH(EpDG(HDD4E/RVFD+F|FJ`DwD6E-F?KWDG?DLFFCEF1KWGlGD1JJuD)G*Y~F\E=HDqEZJ	IDFHJGJDIJ*FwDDyE4E"MBD8FKDpEwFwG8E%GNDFP FmD\DLDrH.E-E>FlD E1EKG2DyElFUFJDE'DoD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FxIqEIlID/F;EErHOFPK%HGbSpEMK"FIL9GvD?DYDrEWGoG+IfD1H:DEF.G1EGL*N[M
WSEG*EqEvD1GvEQFzJ-EeHFGMKNInHZE`F1DlIVLCLEK:JFHTF E1DaFJDhEPDdDbE:FfDFfD5HFGmFzDDbJKE	F9GMIEFPQJRhH`FRI&HFI_G!/*
 * $Date: 2007-04-08 18:28:31 -0700 (Sun, 08 Apr) $Revision: 88Author: jfennellHeadURL: https://svn.cs.hmc.edu/cs121spring/awesome/project3/work_products/Data_Manager/Metadata%20Prototype%20and%20Design.javaId: 889 01Z /
 
 : Jason FNOTE: This is PSEUDOCODE.  Itfamiliar to Jjustmake use of theDoc systemANOTHERe methods are arranged in order: -Constructorspublicin alphabeticrivat/
Wrapper around arbitrary media containing all known aboutthat.  Alsoows retrievalWorks foypes, as specified by an associated METADATA_TEMPLATE.Res 	- creates a higher level abstraction obshideir	  complexit	- placeoldwith a, and limitaccesitlightimprove performancenumberbasewill be neary.  Jneed one, getthen canrepdlyit!class
{
	//templapsntofieldosehave
	staXMLO = null;
	Aurenteach Map<St>;Hoe wdM	 *c givesett possible.@param . be *	anything, whichwhifs not vali *	sucha TV lisor videodetmark itselfin.lwaymemory, so file pathinsts/()
	pass	 =Dwhas beenin. Gof=Type(Msvaila	if (Exists("T.xml")		}elsthrowAnExecp("UnfiLookup **k//XML =eEx fro(tryll).thee remempty,themano source (DBinternet).  UnedsonRr modul forin.([].getF(,soapreadyiif	wtry e iofuberes ,,  Ffirsthtihas_key outsinNamtoeived @returns Ii// Fail gracefully waqueste(getKey should, 	Lisk[]gets}	 s	anference,toe	Statude. 0 s. 1failbecaucurrent(i.e. watcTVwbmay). 2!isV(  2 "Times Aility =[[] bing=.split(,", 		intrt =[0end1preseneconds siepoch.SE(getCf ( <=) && >= =01GetterTellerue, Falsnobooleequals"fruslof* 	bWbe chtoCode *	was // WHY E AREN'T STRUCTURAL) SETTERSbaddi/ ceripphrougcofrnew.  lyian// updanclun.an ungniz. Owisiresledgdiflikereak, bsingl.  Lofemestnrminenoen. s}
ENDREP
DELTA
SVN    7gqD"DD|HxHDoE4I0K@D5D4G8EL?HQE~FE1DnH@DZH1E	GLRxKSDDtOKGdI0H?E3G=EHADIvDD5EEnG.HDE@KBG
D,F.EDPV0D,H"DEnEwE$F$DSD?ExDTETJD	GGFG^HSD\DF_DxD	DDoDZELI;ED!DF@FM%DkF6Author: Jason Fennell

This is quoted exactly from "DataManagerRequirements.doc" by Chris Roberts
that was submitas part of project 3.  Ithere for easeaccess on
the graders.  wrn incontexr of
  modulour architecture.

 ():
The Metadprovides a standardized methodransing information
about Mediafacilitatllcommunic betweens withinandny mean pass 
tossystem.

Clarif& Addendummeedits associated
isobusedactuallym,inicular it limto TVgramtimhey areviewablen essence,
willingcapstorrollany 

ENDREP
DELTA
SVN   ,OqD"DD|HxHDoE4I0K@D5D4G8EDRH1HQDFBD0DYG\EeE4GEPZFO]jH[I'GDIE6IG/F&G0FOFOPjE4FDuGRH[GHhDpFDtE4E)FP7DFdDpDIcMFEbS{EYDJjOXDcHlE&DPL{D#KXK=OIDNrHMFEZFrJoG%G#FkE%F^IZG/E$D\D#Author: Jason Fennell

This is quoted exactly from "DataManagerRequirements.doc" by Chris Roberts
that was submitas part of project 3.  Ithere for easeaccess on
the graders.  wrn incontexr of
  modulour architecture.

Specificationsforminterface ():
Metadata(Ob)funcstructs a m o aroundmedia
	igiven.
, String, Map<>di some known. [By me:also
	atype]

 getField(retrievesvalu f
	[]Keys() Returnname	posse.

MRainType wrapped
	instancBoolean isValidwhetherisid.

Int s) Setfirst
	stosecond . 0 ifsuful and 1 owisENDREP
DELTA
SVN   >phYDD@DCDZECDdD%J
IQECGiEF"I|FDI`EL)E
FZJ4O`H
F*D,F6DECHkD(I`MQEdDND=KxG!EGKTDRD?D9DNyJH]DMGoFYFPD2FZDE`H`DtG!D>DK:D=EkDtFD|FoDYSEwFFAcceptance testing:
Series of transactions that mimic actual use in the system.  Construc a
Metadata objectseveral different ways,n checkto see if
can be properly accessed.

Specifica-excercise allsetters and g.
	* Needcin multiplehave eachan independentlyed 
-Make a framework sowe lyprivat
 values
 	* Uswithaswant,
	 

WhiteboxDo hdividmethod level.  Trycode
paths.  Focusmore compleds

StubbAvery least, willbablytub'Retri' module.
 Build harnessits plato inwhatwe
 wishhisbeful for.
ENDREP
id: at.0.r99/8434
type: file
count: 0
text: 99 1404 4570 9625 65f022dc967a6949d75bce75f5b3d641
cpath: /project4/Jason/Metadata.java
copyroot: 0 /

id: au.0.r99/8581
type: file
count: 0
text: 99 5987 810 1056 93922697d37c961486e80e18d13cb078
cpath: /project4/Jason/MetadataRequirements.txt
copyroot: 0 /

id: av.0.r99/8738
type: file
count: 0
text: 99 6810 858 1196 161aa85ddc321c582b7d2698832e2f2c
cpath: /project4/Jason/MetadataSpecifications.txt
copyroot: 0 /

id: aw.0.r99/8897
type: file
count: 0
text: 99 7681 740 958 ec0a68497afa37539d7c697ed6ae44b1
cpath: /project4/Jason/notesToSelf.txt
copyroot: 0 /

id: ar.0.r99/9044
type: file
count: 0
text: 99 0 364 548 e2cfd1aad438af477bb318b83beb2800
cpath: /project4/Jason/contents.txt
copyroot: 0 /

id: as.0.r99/9185
type: file
count: 0
text: 99 377 1014 2033 729e49871a449d30659cf355259a46da
cpath: /project4/Jason/sampleTemplate.xml
copyroot: 0 /

PLAIN
K 13
Metadata.java
V 18
file at.0.r99/8434
K 24
MetadataRequirements.txt
V 18
file au.0.r99/8581
K 26
MetadataSpecifications.txt
V 18
file av.0.r99/8738
K 12
contents.txt
V 18
file ar.0.r99/9044
K 15
notesToSelf.txt
V 18
file aw.0.r99/8897
K 18
sampleTemplate.xml
V 18
file as.0.r99/9185
END
ENDREP
id: aq.0.r99/9641
type: dir
count: 0
text: 99 9336 292 292 7b4002ec5c4393d949966414dea94a66
cpath: /project4/Jason
copyroot: 0 /

PLAIN
K 5
Jason
V 17
dir aq.0.r99/9641
END
ENDREP
id: ap.0.r99/9821
type: dir
count: 0
text: 99 9771 37 37 0f9db351cd8a2ce7319255346d073f8b
cpath: /project4
copyroot: 0 /

PLAIN
K 8
project2
V 17
dir 1.0.r30/25403
K 8
project3
V 17
dir 22.0.r98/1882
K 8
project4
V 17
dir ap.0.r99/9821
END
ENDREP
id: 0.0.r99/10068
type: dir
pred: 0.0.r98/2114
count: 99
text: 99 9943 112 112 5f60c1f4ad18c99c8652b5a11d4f6f66
cpath: /
copyroot: 0 /

_3.0.t98-1 add true false /project4/Jason/sampleTemplate.xml

_1.0.t98-1 add false false /project4/Jason

_4.0.t98-1 add true false /project4/Jason/Metadata.java

_5.0.t98-1 add true false /project4/Jason/MetadataRequirements.txt

_6.0.t98-1 add true false /project4/Jason/MetadataSpecifications.txt

_7.0.t98-1 add true false /project4/Jason/notesToSelf.txt

_0.0.t98-1 add false false /project4

_2.0.t98-1 add true false /project4/Jason/contents.txt


10068 10204
