org.gcube.datatransformation.datatransformationlibrary.dataelements.impl
Class CompoundDataElementImpl

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement
      extended by org.gcube.datatransformation.datatransformationlibrary.dataelements.CompoundDataElement
          extended by org.gcube.datatransformation.datatransformationlibrary.dataelements.impl.CompoundDataElementImpl

public class CompoundDataElementImpl
extends CompoundDataElement

Author:
Dimitris Katris, NKUA

The implementation of compound data element which keeps the parts in an ArrayList.


Field Summary
 
Fields inherited from class org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement
attributes
 
Constructor Summary
CompoundDataElementImpl()
           
 
Method Summary
 void addPart(DataElement part)
          Adds a part to the compound data element.
 void destroy()
           
 List<DataElement> getParts()
           
 
Methods inherited from class org.gcube.datatransformation.datatransformationlibrary.dataelements.CompoundDataElement
getContent
 
Methods inherited from class org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement
deleteAttribute, getAllAttributes, getAttributeValue, getContentType, getId, setAttribute, setContentType, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundDataElementImpl

public CompoundDataElementImpl()
Method Detail

addPart

public void addPart(DataElement part)
Adds a part to the compound data element.

Parameters:
part - The part to be added.

getParts

public List<DataElement> getParts()
Specified by:
getParts in class CompoundDataElement
Returns:
The parts of the compound object.
See Also:
CompoundDataElement.getParts()

destroy

public void destroy()
Specified by:
destroy in class DataElement


Copyright © 2013. All Rights Reserved.