edu.isi.pegasus.planner.catalog.site.impl.myosg.classes
Class AbstractSiteCatalogResource

java.lang.Object
  extended by edu.isi.pegasus.planner.catalog.site.impl.myosg.classes.AbstractSiteCatalogResource
Direct Known Subclasses:
MYOSGSiteEnvironmentInfo, MYOSGSiteInfo, MYOSGSiteResourceInfo, MYOSGSiteServiceInfo, MYOSGSiteVOOwnershipInfo

public abstract class AbstractSiteCatalogResource
extends Object

This class defines a AbstractSiteCatalogResoure type.

Author:
prasanth

Field Summary
protected  int mDepth
           
 
Constructor Summary
AbstractSiteCatalogResource()
           
 
Method Summary
abstract  void addChildResource(AbstractSiteCatalogResource childResource)
          Add child resources to a site catalog resource
 int getDepth()
           
 Object getProperty(int ID)
          Returns the property value
 void setDepth(int depth)
          Set the depth
 void setProperty(String ID, Object value)
          Sets the property of Site Catalog resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mDepth

protected int mDepth
Constructor Detail

AbstractSiteCatalogResource

public AbstractSiteCatalogResource()
Method Detail

addChildResource

public abstract void addChildResource(AbstractSiteCatalogResource childResource)
Add child resources to a site catalog resource

Parameters:
childResource - child resource

setDepth

public void setDepth(int depth)
Set the depth

Parameters:
depth -

getDepth

public int getDepth()
Returns:
the depth

setProperty

public void setProperty(String ID,
                        Object value)
Sets the property of Site Catalog resource

Parameters:
ID - property ID
value - property value

getProperty

public Object getProperty(int ID)
Returns the property value

Parameters:
ID -
Returns:
object.


Copyright © 2011 The University of Southern California. All Rights Reserved.