net.sf.vcaperture.model
Class RepoFile

java.lang.Object
  extended by net.sf.vcaperture.model.RepoFile
Direct Known Subclasses:
RepoFileRevision, YamlFilesystemStorageService.YamlFilesystemRepoFile

public class RepoFile
extends java.lang.Object

Represents a file within any repository.

Author:
Jeremy Thomerson (jthomerson@users.sourceforge.net)

Field Summary
private  boolean mDirectory
           
private  java.lang.String mRelativePath
           
private  java.lang.String[] mRevisions
           
 
Constructor Summary
RepoFile()
           
RepoFile(RepoFile from)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.util.List<RepoFile> getChildren(boolean showAll)
           
 java.lang.String getRelativePath()
           
 java.lang.String[] getRevisions()
           
 int hashCode()
           
 boolean isDirectory()
           
 void setDirectory(boolean directory)
           
 void setRelativePath(java.lang.String relativePath)
           
 void setRevisions(java.lang.String[] revisions)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mDirectory

private boolean mDirectory

mRelativePath

private java.lang.String mRelativePath

mRevisions

private java.lang.String[] mRevisions
Constructor Detail

RepoFile

public RepoFile()

RepoFile

public RepoFile(RepoFile from)
Method Detail

getRelativePath

public java.lang.String getRelativePath()

setRelativePath

public void setRelativePath(java.lang.String relativePath)

getRevisions

public java.lang.String[] getRevisions()

setRevisions

public void setRevisions(java.lang.String[] revisions)

setDirectory

public void setDirectory(boolean directory)

isDirectory

public boolean isDirectory()

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

getChildren

public java.util.List<RepoFile> getChildren(boolean showAll)


Copyright © 2008. All Rights Reserved.