com.ibm.ram.common.data
Class FolderArtifact

java.lang.Object
  extended by com.ibm.ram.common.data.Artifact
      extended by com.ibm.ram.common.data.FolderArtifact
Direct Known Subclasses:
RAMFolderArtifact

public class FolderArtifact
extends Artifact

Contains a collection of child artifacts

Since:
7.1

Field Summary
 
Fields inherited from class com.ibm.ram.common.data.Artifact
FILE_DELIM, TYPE_FILE, TYPE_FOLDER, TYPE_URL
 
Constructor Summary
FolderArtifact()
           
 
Method Summary
 Artifact[] getChildren()
           
 java.lang.String getType()
          The type of the artifact.
 boolean hasChildren()
           
 void setChildren(Artifact[] children)
           
 
Methods inherited from class com.ibm.ram.common.data.Artifact
getChecksum, getCreationDate, getLabel, getMimeType, getName, getPath, getReference, getSize, setChecksum, setCreationDate, setLabel, setMimeType, setName, setPath, setReference, setSize, setType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FolderArtifact

public FolderArtifact()
Method Detail

getChildren

public Artifact[] getChildren()
Returns:
The list of child artifacts.
Since:
7.1

getType

public java.lang.String getType()
Description copied from class: Artifact
The type of the artifact.

Overrides:
getType in class Artifact
See Also:
Artifact.TYPE_FILE, Artifact.TYPE_FOLDER, Artifact.TYPE_URL

setChildren

public void setChildren(Artifact[] children)
Parameters:
children - The list of child artifacts.
Since:
7.1

hasChildren

public boolean hasChildren()
Returns:
true is the FolderArtifact has child artifacts.
Since:
7.1