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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.mitre.cvw.DisplayObject
      extended byorg.mitre.cvw.AuditObject

public class AuditObject
extends DisplayObject

This is the display object for all objects owned by a user, specifically for the AuditListFrame.

Version:
1.0 12/98

Field Summary
(package private)  java.lang.String fullPath
           
(package private)  java.lang.String location
           
(package private)  int locType
           
 
Fields inherited from class org.mitre.cvw.DisplayObject
cvwObj
 
Constructor Summary
(package private) AuditObject(CVWObject obj, java.lang.String loc, int type, java.lang.String fPath)
          Constructor
 
Method Summary
 int compareTo(AuditObject aObj, int field)
          Compares this auditObject to another.
 int compareTo(DisplayObject dObj, int field)
          Compares this displayObject to another.
 java.lang.String getCurrentLocation()
          Calls getCurrentLocation with true as parameter
 java.lang.String getCurrentLocation(boolean limitSize)
          Returns either the full or abbreviated location depending on the boolean sent in current bug ...
 java.lang.String getFullLocation()
          Returns the full location not abbreviated 12/29/97 dage
 java.lang.String getLocType()
          Returns the location character
 
Methods inherited from class org.mitre.cvw.DisplayObject
getCreatedDateForDisplay, getCreatedOn, getCVWObject, getModifiedByName, getModifiedDateForDisplay, getModOn, getName, getObjNum, getOwnerName, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

java.lang.String location

locType

int locType

fullPath

java.lang.String fullPath
Constructor Detail

AuditObject

AuditObject(CVWObject obj,
            java.lang.String loc,
            int type,
            java.lang.String fPath)
Constructor

Method Detail

getLocType

public java.lang.String getLocType()
Returns the location character


compareTo

public int compareTo(AuditObject aObj,
                     int field)
Compares this auditObject to another.


compareTo

public int compareTo(DisplayObject dObj,
                     int field)
Compares this displayObject to another.

Specified by:
compareTo in class DisplayObject

getCurrentLocation

public java.lang.String getCurrentLocation()
Calls getCurrentLocation with true as parameter


getCurrentLocation

public java.lang.String getCurrentLocation(boolean limitSize)
Returns either the full or abbreviated location depending on the boolean sent in current bug ... if group is in group manager, cvw server is sending #-1 for object number and this code displays "Unknown"


getFullLocation

public java.lang.String getFullLocation()
Returns the full location not abbreviated 12/29/97 dage