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

Quick Search    Search Deep

org.mitre.cvw
Class DisplayObject  view DisplayObject download DisplayObject.java

java.lang.Object
  extended byorg.mitre.cvw.DisplayObject
Direct Known Subclasses:
AuditObject, DetailObject, OnlineUserObject, RoomObject

public abstract class DisplayObject
extends java.lang.Object

A base class for displaying CVWObjects within MultiLists

Version:
1.1

Field Summary
(package private)  CVWObject cvwObj
           
 
Constructor Summary
(package private) DisplayObject(CVWObject obj)
          Constructor
 
Method Summary
abstract  int compareTo(DisplayObject obj, int field)
          Compares this displayObject to another.
 java.lang.String getCreatedDateForDisplay()
          Returns the creation date of the CVWObject that this object refers to
 java.util.Date getCreatedOn()
          Returns the creation date of the CVWObject that this object refers to
 CVWObject getCVWObject()
          Returns the CVWObject that this object refers to
 java.lang.String getModifiedByName()
          Returns the user name who changed the CVWObject that this object refers to
 java.lang.String getModifiedDateForDisplay()
          Returns the string modificaiton date of the CVWObject that this object refers to
 java.util.Date getModOn()
          Returns the modificaiton date of the CVWObject that this object refers to
 java.lang.String getName()
          Returns the name of the CVWObject that this object refers to
 CVWObjNum getObjNum()
          Returns the CVWObjNum of the CVWObject that this object refers to
 java.lang.String getOwnerName()
          Returns the name of the owner of the CVWObject that this object refers to
 java.lang.String getType()
          Returns the proper display type of the CVWObject that this object refers to
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cvwObj

CVWObject cvwObj
Constructor Detail

DisplayObject

DisplayObject(CVWObject obj)
Constructor

Method Detail

getCVWObject

public CVWObject getCVWObject()
Returns the CVWObject that this object refers to


getObjNum

public CVWObjNum getObjNum()
Returns the CVWObjNum of the CVWObject that this object refers to


getName

public java.lang.String getName()
Returns the name of the CVWObject that this object refers to


getOwnerName

public java.lang.String getOwnerName()
Returns the name of the owner of the CVWObject that this object refers to


getCreatedDateForDisplay

public java.lang.String getCreatedDateForDisplay()
Returns the creation date of the CVWObject that this object refers to


getCreatedOn

public java.util.Date getCreatedOn()
Returns the creation date of the CVWObject that this object refers to


getModifiedByName

public java.lang.String getModifiedByName()
Returns the user name who changed the CVWObject that this object refers to


getModifiedDateForDisplay

public java.lang.String getModifiedDateForDisplay()
Returns the string modificaiton date of the CVWObject that this object refers to


getModOn

public java.util.Date getModOn()
Returns the modificaiton date of the CVWObject that this object refers to


getType

public java.lang.String getType()
Returns the proper display type of the CVWObject that this object refers to


compareTo

public abstract int compareTo(DisplayObject obj,
                              int field)
Compares this displayObject to another. This function has to be overridden in classes that extend this class. Their compareTo function will be field order specific