Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.bdgp.apps.dagedit.datamodel
Class DEEditHistory  view DEEditHistory download DEEditHistory.java

java.lang.Object
  extended byorg.bdgp.apps.dagedit.datamodel.DEEditHistory
All Implemented Interfaces:
java.io.Serializable

public class DEEditHistory
extends java.lang.Object
implements java.io.Serializable


Field Summary
protected  java.lang.String comment
           
protected  java.util.Date date
           
protected  TermRelationshipType defaultRelationshipType
           
protected  java.util.Vector historyList
           
protected  boolean isActive
           
protected  Term originalRoot
           
protected  java.util.Vector relationshipTypes
           
protected  Term root
           
protected  java.lang.String title
           
protected  java.lang.String user
           
protected  java.lang.String version
           
 
Constructor Summary
DEEditHistory(Term root)
           
DEEditHistory(Term root, boolean rememberOriginal)
           
 
Method Summary
 void addItem(HistoryItem item)
           
 void addRelationshipType(TermRelationshipType trt)
           
 void flush()
           
 java.lang.String getComment()
           
 java.util.Date getDate()
           
 TermRelationshipType getDefaultRelationshipType()
           
 java.util.Enumeration getHistoryItems()
           
 java.util.Vector getHistoryList()
           
 boolean getIsActive()
           
 HistoryItem getItemAt(int index)
           
 Term getOriginalRoot()
           
 java.util.Vector getRelationshipTypes()
           
 Term getRoot()
           
 java.lang.String getTitle()
           
 java.lang.String getUser()
           
 java.lang.String getVersion()
           
 int indexOfItem(HistoryItem item)
           
 boolean isModified()
           
 void removeItem(HistoryItem item)
           
 void removeRelationshipType(TermRelationshipType trt)
           
 void setComment(java.lang.String comment)
           
 void setDate(java.util.Date date)
           
 void setDefaultRelationshipType(TermRelationshipType trt)
           
 void setHistoryList(java.util.Vector historyList)
           
 void setIsActive(boolean isActive)
           
 void setRelationshipTypes(java.util.Vector types)
           
 void setTitle(java.lang.String title)
           
 void setUser(java.lang.String user)
           
 void setVersion(java.lang.String version)
           
 int size()
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

historyList

protected java.util.Vector historyList

relationshipTypes

protected java.util.Vector relationshipTypes

root

protected Term root

originalRoot

protected Term originalRoot

user

protected java.lang.String user

date

protected java.util.Date date

version

protected java.lang.String version

comment

protected java.lang.String comment

isActive

protected boolean isActive

title

protected java.lang.String title

defaultRelationshipType

protected TermRelationshipType defaultRelationshipType
Constructor Detail

DEEditHistory

public DEEditHistory(Term root)

DEEditHistory

public DEEditHistory(Term root,
                     boolean rememberOriginal)
Method Detail

setIsActive

public void setIsActive(boolean isActive)

getIsActive

public boolean getIsActive()

getComment

public java.lang.String getComment()

setComment

public void setComment(java.lang.String comment)

getVersion

public java.lang.String getVersion()

setVersion

public void setVersion(java.lang.String version)

getDate

public java.util.Date getDate()

setDate

public void setDate(java.util.Date date)

getUser

public java.lang.String getUser()

setUser

public void setUser(java.lang.String user)

getDefaultRelationshipType

public TermRelationshipType getDefaultRelationshipType()

setDefaultRelationshipType

public void setDefaultRelationshipType(TermRelationshipType trt)

getRelationshipTypes

public java.util.Vector getRelationshipTypes()

addRelationshipType

public void addRelationshipType(TermRelationshipType trt)

setRelationshipTypes

public void setRelationshipTypes(java.util.Vector types)

removeRelationshipType

public void removeRelationshipType(TermRelationshipType trt)

getRoot

public Term getRoot()

getOriginalRoot

public Term getOriginalRoot()

isModified

public boolean isModified()

flush

public void flush()

getItemAt

public HistoryItem getItemAt(int index)

size

public int size()

getHistoryItems

public java.util.Enumeration getHistoryItems()

addItem

public void addItem(HistoryItem item)

setHistoryList

public void setHistoryList(java.util.Vector historyList)

getHistoryList

public java.util.Vector getHistoryList()

removeItem

public void removeItem(HistoryItem item)

indexOfItem

public int indexOfItem(HistoryItem item)

setTitle

public void setTitle(java.lang.String title)

getTitle

public java.lang.String getTitle()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).