org.sourcejammer.server.event
Class ROFileImpl

java.lang.Object
  |
  +--org.sourcejammer.server.event.ROFileImpl
All Implemented Interfaces:
ROFile

public class ROFileImpl
extends java.lang.Object
implements ROFile

Title: $FileName: ROFileImpl.java$

Version:
$VerNum: 4$
Author:
$AuthorName: Rob MacGrogan$

$Description: $
$KeyWordsOff: $

Field Summary
private  boolean checkedOut
           
private  java.lang.String checkedOutToPath
           
private  java.lang.String checkedOutToUser
           
private  java.util.Date createdDate
           
private  java.lang.String createdUser
           
private  java.lang.String description
           
private  int fileType
           
private  java.lang.String lastEditUser
           
private  java.lang.String nodeName
           
private  long[] parents
           
private  long[] removedParents
           
private  long uniqueID
           
private  org.sourcejammer.project.NodeList versions
           
 
Constructor Summary
ROFileImpl()
           
 
Method Summary
 java.lang.String getCheckedOutToPath()
          Returns the checkedOutToPath.
 java.lang.String getCheckedOutToUser()
          Returns the checkedOutToUser.
 java.util.Date getCreatedDate()
          Returns the createdDate.
 java.lang.String getCreatedUser()
          Returns the createdUser.
 java.lang.String getDescription()
          Returns the description.
 int getFileType()
          Returns the fileType.
 java.lang.String getLastEditUser()
          Returns the lastEditUser.
 java.lang.String getNodeName()
          Returns the nodeName.
 long getParent()
           
 long[] getParents()
          Returns the parents.
 long[] getRemovedParents()
          Returns the removedParents.
 long getUniqueID()
          Returns the uniqueID.
 org.sourcejammer.project.NodeList getVersions()
          Returns the versions.
 boolean isCheckedOut()
          Returns the checkedOut.
 void setCheckedOut(boolean checkedOut)
          Sets the checkedOut.
 void setCheckedOutToPath(java.lang.String checkedOutToPath)
          Sets the checkedOutToPath.
 void setCheckedOutToUser(java.lang.String checkedOutToUser)
          Sets the checkedOutToUser.
 void setCreatedDate(java.util.Date createdDate)
          Sets the createdDate.
 void setCreatedUser(java.lang.String createdUser)
          Sets the createdUser.
 void setDescription(java.lang.String description)
          Sets the description.
 void setFileType(int fileType)
          Sets the fileType.
 void setLastEditUser(java.lang.String lastEditUser)
          Sets the lastEditUser.
 void setNodeName(java.lang.String nodeName)
          Sets the nodeName.
 void setParents(long[] parents)
          Sets the parents.
 void setRemovedParents(long[] removedParents)
          Sets the removedParents.
 void setUniqueID(long uniqueID)
          Sets the uniqueID.
 void setVersions(org.sourcejammer.project.NodeList versions)
          Sets the versions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uniqueID

private long uniqueID

nodeName

private java.lang.String nodeName

createdDate

private java.util.Date createdDate

parents

private long[] parents

removedParents

private long[] removedParents

versions

private org.sourcejammer.project.NodeList versions

description

private java.lang.String description

checkedOut

private boolean checkedOut

checkedOutToUser

private java.lang.String checkedOutToUser

checkedOutToPath

private java.lang.String checkedOutToPath

createdUser

private java.lang.String createdUser

lastEditUser

private java.lang.String lastEditUser

fileType

private int fileType
Constructor Detail

ROFileImpl

public ROFileImpl()
Method Detail

setCreatedDate

public void setCreatedDate(java.util.Date createdDate)
Sets the createdDate.

Parameters:
createdDate - The createdDate to set

setNodeName

public void setNodeName(java.lang.String nodeName)
Sets the nodeName.

Parameters:
nodeName - The nodeName to set

setParents

public void setParents(long[] parents)
Sets the parents.

Parameters:
parents - The parents to set

setRemovedParents

public void setRemovedParents(long[] removedParents)
Sets the removedParents.

Parameters:
removedParents - The removedParents to set

setUniqueID

public void setUniqueID(long uniqueID)
Sets the uniqueID.

Parameters:
uniqueID - The uniqueID to set

getCreatedDate

public java.util.Date getCreatedDate()
Returns the createdDate.

Specified by:
getCreatedDate in interface ROFile
Returns:
Date

getNodeName

public java.lang.String getNodeName()
Returns the nodeName.

Specified by:
getNodeName in interface ROFile
Returns:
String

getParents

public long[] getParents()
Returns the parents.

Specified by:
getParents in interface ROFile
Returns:
long[]

getRemovedParents

public long[] getRemovedParents()
Returns the removedParents.

Specified by:
getRemovedParents in interface ROFile
Returns:
long[]

getUniqueID

public long getUniqueID()
Returns the uniqueID.

Specified by:
getUniqueID in interface ROFile
Returns:
long

getParent

public long getParent()
Specified by:
getParent in interface ROFile

getVersions

public org.sourcejammer.project.NodeList getVersions()
Returns the versions.

Specified by:
getVersions in interface ROFile
Returns:
NodeList

setVersions

public void setVersions(org.sourcejammer.project.NodeList versions)
Sets the versions.

Parameters:
versions - The versions to set

isCheckedOut

public boolean isCheckedOut()
Returns the checkedOut.

Specified by:
isCheckedOut in interface ROFile
Returns:
boolean

getCheckedOutToPath

public java.lang.String getCheckedOutToPath()
Returns the checkedOutToPath.

Specified by:
getCheckedOutToPath in interface ROFile
Returns:
String

getCreatedUser

public java.lang.String getCreatedUser()
Returns the createdUser.

Specified by:
getCreatedUser in interface ROFile
Returns:
String

getDescription

public java.lang.String getDescription()
Returns the description.

Specified by:
getDescription in interface ROFile
Returns:
String

setCheckedOut

public void setCheckedOut(boolean checkedOut)
Sets the checkedOut.

Parameters:
checkedOut - The checkedOut to set

setCheckedOutToPath

public void setCheckedOutToPath(java.lang.String checkedOutToPath)
Sets the checkedOutToPath.

Parameters:
checkedOutToPath - The checkedOutToPath to set

setCreatedUser

public void setCreatedUser(java.lang.String createdUser)
Sets the createdUser.

Parameters:
createdUser - The createdUser to set

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - The description to set

getCheckedOutToUser

public java.lang.String getCheckedOutToUser()
Returns the checkedOutToUser.

Returns:
String

setCheckedOutToUser

public void setCheckedOutToUser(java.lang.String checkedOutToUser)
Sets the checkedOutToUser.

Parameters:
checkedOutToUser - The checkedOutToUser to set

getLastEditUser

public java.lang.String getLastEditUser()
Returns the lastEditUser.

Specified by:
getLastEditUser in interface ROFile
Returns:
String

setLastEditUser

public void setLastEditUser(java.lang.String lastEditUser)
Sets the lastEditUser.

Parameters:
lastEditUser - The lastEditUser to set

getFileType

public int getFileType()
Returns the fileType.

Specified by:
getFileType in interface ROFile
Returns:
int

setFileType

public void setFileType(int fileType)
Sets the fileType.

Parameters:
fileType - The fileType to set


Copyright 2003 Soucejammer project.