SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

org.sourcejammer.project.controller
Class Label

java.lang.Object
  |
  +--org.sourcejammer.project.controller.LabelInfo
        |
        +--org.sourcejammer.project.controller.Label
All Implemented Interfaces:
Node

public class Label
extends LabelInfo

Title: SourceJammer v 0.1.0 Description: Copyright: Copyright (c) 2001 Company:


Constructor Summary
Label()
           
 
Method Summary
 void addLabelVersionMappingBean(LabelVersionMappingBean bn)
          Add a version node in the form of a Mapping Bean.
 void addVersion(int versionNumber, long verUniqueID, long fileUniqueID, java.lang.String fullSJPath)
          Add a version node to the label.
 int childCount()
          Returns number of files that are part of this label.
 java.util.Iterator getVersions()
          Returns an Iterator object of LabelVersionMappingBeans.
 void setChildCount(int i)
           
 
Methods inherited from class org.sourcejammer.project.controller.LabelInfo
getCreatedDate, getDescription, getNodeName, getRootProjectUniqueID, getSJPathToRootProject, getUniqueID, isShared, setCreatedDate, setDescription, setNodeName, setRootProjectUniqueID, setSJPathToRootProject, setUniqueID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Label

public Label()
Method Detail

childCount

public int childCount()
Returns number of files that are part of this label.
Overrides:
childCount in class LabelInfo

addVersion

public void addVersion(int versionNumber,
                       long verUniqueID,
                       long fileUniqueID,
                       java.lang.String fullSJPath)
Add a version node to the label.
Parameters:
versionNumber - -- the int version number (not the unique ID) of the version being added.
fullSJPath - -- the full SourceJammer server path to the file being added. Path should NOT include the archive name at the beginning.

addLabelVersionMappingBean

public void addLabelVersionMappingBean(LabelVersionMappingBean bn)
Add a version node in the form of a Mapping Bean.

getVersions

public java.util.Iterator getVersions()
Returns an Iterator object of LabelVersionMappingBeans.

setChildCount

public void setChildCount(int i)
Overrides:
setChildCount in class LabelInfo

SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan