org.eclipse.ohf.ihe.xds.metadata.transform
Class EbXML_2_1FolderTransformer

java.lang.Object
  extended by org.eclipse.ohf.ihe.xds.metadata.transform.EbXML_2_1FolderTransformer
All Implemented Interfaces:
FolderTransformer

public class EbXML_2_1FolderTransformer
extends java.lang.Object
implements FolderTransformer

Class containing utility methods to transform XDS folder metadata to ebRIM 2.1 element.

Author:
Sarah Knoop

Field Summary
static java.lang.String DESCRIPTOR
          Descriptor for Transformer
 
Constructor Summary
EbXML_2_1FolderTransformer()
          Creates the transformer.
 
Method Summary
 AssociationType1[] getAssociatedDocuments()
          Returns a list AssociationType1 containing the entryUUIDs of the documents indicated to be placed within this folder, if any Returns null if the transformation has not been executed, has failed, or no documents are in this folder.
 RegistryPackageType getRegistryPackage()
          Returns the RegistryPackageType containing the folder metadata values.
 void transform(FolderType folder)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

public static final java.lang.String DESCRIPTOR
Descriptor for Transformer

See Also:
Constant Field Values
Constructor Detail

EbXML_2_1FolderTransformer

public EbXML_2_1FolderTransformer()
Creates the transformer.

Method Detail

getAssociatedDocuments

public AssociationType1[] getAssociatedDocuments()
Returns a list AssociationType1 containing the entryUUIDs of the documents indicated to be placed within this folder, if any Returns null if the transformation has not been executed, has failed, or no documents are in this folder.

Returns:
the documentsInFolder

getRegistryPackage

public RegistryPackageType getRegistryPackage()
Returns the RegistryPackageType containing the folder metadata values. Returns null if the transformation has not been executed, or had failed.

Returns:
the folderData

transform

public void transform(FolderType folder)
               throws MetadataTransformationException
Specified by:
transform in interface FolderTransformer
Throws:
MetadataTransformationException