edu.mssm.crover.scentral
Class InstanceIterator

java.lang.Object
  |
  +--edu.mssm.crover.scentral.InstanceIterator

public class InstanceIterator
extends java.lang.Object

Provides information about persistent instances. This information is provided for browsing purpose and allow to choose a subset of all the available instances before they are brought to life.


Constructor Summary
InstanceIterator(UserRecord viewer, java.lang.String persistenceIdentifier, java.util.Date lastModificationDate, java.lang.String principalID, java.lang.String shortName, java.lang.String description)
           
 
Method Summary
 java.lang.String getDescription()
          Returns the description of this instance.
 java.util.Date getLastModified()
          Returns the last modification date of this instance.
 java.lang.String getPersistenceIdentifier()
           
 java.lang.String getPrincipalUserID()
          Get the principal of this instance.
 java.lang.String getShortName()
          Returns the short name of this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceIterator

public InstanceIterator(UserRecord viewer,
                        java.lang.String persistenceIdentifier,
                        java.util.Date lastModificationDate,
                        java.lang.String principalID,
                        java.lang.String shortName,
                        java.lang.String description)
Method Detail

getLastModified

public java.util.Date getLastModified()
Returns the last modification date of this instance.

Returns:
last modification date of this instance or null when this information is not provided by the persistence scheme implementation.

getPrincipalUserID

public java.lang.String getPrincipalUserID()
Get the principal of this instance. This is the person (or moral entity to who belongs this instance information.


getShortName

public java.lang.String getShortName()
Returns the short name of this instance.


getDescription

public java.lang.String getDescription()
Returns the description of this instance.

Returns:
A non null String that describes this instance in more details.

getPersistenceIdentifier

public java.lang.String getPersistenceIdentifier()


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.