cz.cuni.amis.introspection
Class FolderUnion

Package class diagram package FolderUnion
java.lang.Object
  extended by cz.cuni.amis.introspection.Feature
      extended by cz.cuni.amis.introspection.Folder
          extended by cz.cuni.amis.introspection.AbstractObjectFolder<Folder[]>
              extended by cz.cuni.amis.introspection.FolderUnion

public class FolderUnion
extends AbstractObjectFolder<Folder[]>

Union of properties and children of two introspectable proxies.

Author:
ik

Field Summary
 
Fields inherited from class cz.cuni.amis.introspection.Feature
name
 
Constructor Summary
FolderUnion(Folder first, Folder second, String name)
          Creates a new instance of FolderUnion
 
Method Summary
protected  Folder[] computeFolders(Folder[] object)
          Computes list of introspectable children of object to be introspected.
protected  Property[] computeProperties(Folder[] object)
          Computes list of properties of object to be introspected.
 String getName()
           
 
Methods inherited from class cz.cuni.amis.introspection.AbstractObjectFolder
getFolders, getProperties, getProxiedObject
 
Methods inherited from class cz.cuni.amis.introspection.Folder
createProperties, createProperties, getFolder, getProperty, loadFromProperties, loadFromProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderUnion

public FolderUnion(Folder first,
                   Folder second,
                   String name)
Creates a new instance of FolderUnion

Method Detail

computeProperties

protected Property[] computeProperties(Folder[] object)
                                throws IntrospectionException
Description copied from class: AbstractObjectFolder
Computes list of properties of object to be introspected.

Specified by:
computeProperties in class AbstractObjectFolder<Folder[]>
Parameters:
object - Object to be introspected.
Returns:
Array of properties.
Throws:
IntrospectionException

computeFolders

protected Folder[] computeFolders(Folder[] object)
                           throws IntrospectionException
Description copied from class: AbstractObjectFolder
Computes list of introspectable children of object to be introspected.

Specified by:
computeFolders in class AbstractObjectFolder<Folder[]>
Parameters:
object - Object to be introspected.
Returns:
Array of introspectable children.
Throws:
IntrospectionException

getName

public String getName()
Overrides:
getName in class Feature


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.