org.opencms.ade.publish
Class CmsPublish.ResourcesAndRelated

java.lang.Object
  extended by org.opencms.ade.publish.CmsPublish.ResourcesAndRelated
Enclosing class:
CmsPublish

public class CmsPublish.ResourcesAndRelated
extends java.lang.Object

Just for passing around resources and their related together but not mixed up.


Constructor Summary
CmsPublish.ResourcesAndRelated()
          Constructor.
 
Method Summary
 boolean contains(CmsResource resource)
          Checks if the given resource is present in at least one of the sets.
 java.util.Set<CmsResource> getRelatedResources()
          Returns the related resources.
 java.util.Set<CmsResource> getResources()
          Returns the resources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsPublish.ResourcesAndRelated

public CmsPublish.ResourcesAndRelated()
Constructor.

Method Detail

contains

public boolean contains(CmsResource resource)
Checks if the given resource is present in at least one of the sets.

Parameters:
resource - the resource to test
Returns:
true if the given resource is present in at least one of the sets

getRelatedResources

public java.util.Set<CmsResource> getRelatedResources()
Returns the related resources.

Returns:
the related resources

getResources

public java.util.Set<CmsResource> getResources()
Returns the resources.

Returns:
the resources