|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.ndr.util.CollectionAdopter
public class CollectionAdopter
Use Case: there is a collection in the ndr that is not represented by a NSDL collection record in the NCS. We want to this collection in the NCS, requiring that not only we create a collection record (and hook it up with the appropriate objects in the NDR, but we also want to create an ncs_item collection for managing it's items. so we need to create ncs_item records (based on nsdl_dc streams in ndr items), and also dcs_data records (containing the ndr handle of the corresponding items).
Constructor Summary | |
---|---|
CollectionAdopter(String mdpHandle)
Constructor for the CollectionAdopter object |
Method Summary | |
---|---|
Element |
getNcsItemStream(Element nsdl_dc_stream)
Gets the ncsItemStream attribute of the CollectionAdopter object |
static void |
main(String[] args)
The main program for the CollectionAdopter class |
static void |
setDebug(boolean bool)
Sets the debug attribute of the CollectionAdopter class |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionAdopter(String mdpHandle) throws Exception
mdpHandle
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDMethod Detail |
---|
public static void main(String[] args) throws Exception
args
- The command line arguments
Exception
- NOT YET DOCUMENTEDpublic Element getNcsItemStream(Element nsdl_dc_stream) throws Exception
nsdl_dc_stream
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDpublic static void setDebug(boolean bool)
bool
- The new debug value
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |