org.drools.grid.api.impl
Class CompositeResourceDescriptorImpl

java.lang.Object
  extended by org.drools.grid.api.impl.ResourceDescriptorImpl
      extended by org.drools.grid.api.impl.CompositeResourceDescriptorImpl
All Implemented Interfaces:
Serializable, CompositeResourceDescriptor, ResourceDescriptor

public class CompositeResourceDescriptorImpl
extends ResourceDescriptorImpl
implements CompositeResourceDescriptor

Resource Descriptor containing a List of internal Resource Descriptors

See Also:
Serialized Form

Constructor Summary
CompositeResourceDescriptorImpl()
           
 
Method Summary
 List<ResourceDescriptor> getInternalResources()
          Returns the list of the internal Resources that compose the Resource this class points at.
 boolean isComposite()
           
 void setInternalResources(List<ResourceDescriptor> internalResources)
           
 
Methods inherited from class org.drools.grid.api.impl.ResourceDescriptorImpl
equals, getAuthor, getCategories, getCreationTime, getDescription, getDocumentation, getId, getLastModificationTime, getName, getResourceURL, getStatus, getType, getVersion, hashCode, isLoaded, setAuthor, setCategories, setCreationTime, setDescription, setDocumentation, setId, setLastModificationTime, setLoaded, setName, setResourceURL, setStatus, setType, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.drools.grid.api.ResourceDescriptor
getAuthor, getCategories, getCreationTime, getDescription, getDocumentation, getId, getLastModificationTime, getName, getResourceURL, getStatus, getType, getVersion, isLoaded, setAuthor, setCategories, setCreationTime, setDescription, setDocumentation, setId, setLastModificationTime, setLoaded, setName, setResourceURL, setStatus, setType, setVersion
 

Constructor Detail

CompositeResourceDescriptorImpl

public CompositeResourceDescriptorImpl()
Method Detail

getInternalResources

public List<ResourceDescriptor> getInternalResources()
Description copied from interface: CompositeResourceDescriptor
Returns the list of the internal Resources that compose the Resource this class points at.

Specified by:
getInternalResources in interface CompositeResourceDescriptor
Returns:
the list of the internal Resources that compose the Resource this class points at

setInternalResources

public void setInternalResources(List<ResourceDescriptor> internalResources)

isComposite

public boolean isComposite()
Specified by:
isComposite in interface ResourceDescriptor
Overrides:
isComposite in class ResourceDescriptorImpl


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.